1 # |
1 # |
2 # spec file for package mozilla-xulrunner192 (Version 1.9.2.3) |
2 # spec file for package mozilla-xulrunner192 (Version 1.9.2.4) |
3 # |
3 # |
4 # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. |
4 # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. |
5 # 2006-2010 Wolfgang Rosenauer |
5 # 2006-2010 Wolfgang Rosenauer |
6 # |
6 # |
7 # All modifications and additions to the file contributed by third parties |
7 # All modifications and additions to the file contributed by third parties |
37 BuildRequires: libproxy-devel |
37 BuildRequires: libproxy-devel |
38 %else |
38 %else |
39 BuildRequires: wireless-tools |
39 BuildRequires: wireless-tools |
40 %endif |
40 %endif |
41 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
41 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
42 Version: 1.9.2.3 |
42 Version: 1.9.2.4 |
43 Release: 1 |
43 Release: 1 |
44 %define releasedate 2010040100 |
44 %define releasedate 2010040900 |
45 %define version_internal 1.9.2.3 |
45 %define version_internal 1.9.2.4pre |
46 %define apiversion 1.9.2 |
46 %define apiversion 1.9.2 |
47 %define uaweight 192030 |
47 %define uaweight 192040 |
48 Summary: Mozilla Runtime Environment 1.9.2 |
48 Summary: Mozilla Runtime Environment 1.9.2 |
49 Url: http://www.mozilla.org |
49 Url: http://www.mozilla.org |
50 Group: Productivity/Other |
50 Group: Productivity/Other |
51 Provides: gecko192 |
51 Provides: gecko192 |
52 %if %suse_version >= 1110 |
52 %if %suse_version >= 1110 |
80 # PATCH-FEATURE-SLED FATE#302023, FATE#302024 |
80 # PATCH-FEATURE-SLED FATE#302023, FATE#302024 |
81 Patch11: mozilla-gconf-backend.patch |
81 Patch11: mozilla-gconf-backend.patch |
82 Patch12: gecko-lockdown.patch |
82 Patch12: gecko-lockdown.patch |
83 Patch13: toolkit-ui-lockdown.patch |
83 Patch13: toolkit-ui-lockdown.patch |
84 # --- |
84 # --- |
85 Patch14: mozilla-breakpad-update.patch |
85 Patch14: mozilla-system-nspr.patch |
86 Patch15: mozilla-ua-locale-pref.patch |
86 Patch15: mozilla-ua-locale-pref.patch |
|
87 Patch16: mozilla-crashreporter-x86_64.patch |
87 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
88 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
88 Requires: mozilla-js192 |
89 Requires: mozilla-js192 |
89 Requires(post): update-alternatives coreutils |
90 Requires(post): update-alternatives coreutils |
90 Requires(preun): update-alternatives coreutils |
91 Requires(preun): update-alternatives coreutils |
91 ### build configuration ### |
92 ### build configuration ### |
92 %ifarch %ix86 |
|
93 %define crashreporter 1 |
93 %define crashreporter 1 |
94 %else |
|
95 %define crashreporter 0 |
|
96 %endif |
|
97 %define has_system_nspr 0 |
94 %define has_system_nspr 0 |
98 %define has_system_nss 0 |
95 %define has_system_nss 0 |
99 %define has_system_cairo 0 |
96 %define has_system_cairo 0 |
100 %define localize 1 |
97 %define localize 1 |
101 %if %suse_version > 1030 || 0%{?opensuse_bs} |
98 %if %suse_version > 1030 || 0%{?opensuse_bs} |
201 for full desktop integration but not mandatory for small disk footprint |
198 for full desktop integration but not mandatory for small disk footprint |
202 KDE installations for example. |
199 KDE installations for example. |
203 |
200 |
204 |
201 |
205 %if %crashreporter |
202 %if %crashreporter |
206 |
|
207 %package buildsymbols |
203 %package buildsymbols |
208 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
204 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
209 Summary: Breakpad buildsymbols for %{name} |
205 Summary: Breakpad buildsymbols for %{name} |
210 Group: Development/Debug |
206 Group: Development/Debug |
211 |
207 |
244 fi |
241 fi |
245 %endif |
242 %endif |
246 MOZ_APP_DIR=%{_libdir}/xulrunner-%{version_internal} |
243 MOZ_APP_DIR=%{_libdir}/xulrunner-%{version_internal} |
247 export MOZ_BUILD_DATE=%{releasedate} |
244 export MOZ_BUILD_DATE=%{releasedate} |
248 export CFLAGS="$RPM_OPT_FLAGS -Os -fno-strict-aliasing" |
245 export CFLAGS="$RPM_OPT_FLAGS -Os -fno-strict-aliasing" |
249 %if %crashreporter |
|
250 export CFLAGS="$CFLAGS -gstabs+" |
|
251 %endif |
|
252 %ifarch ppc64 |
246 %ifarch ppc64 |
253 export CFLAGS="$CFLAGS -mminimal-toc" |
247 export CFLAGS="$CFLAGS -mminimal-toc" |
254 %endif |
248 %endif |
255 # 10.3-x86_64 build fails probably because gcc bug |
249 # 10.3-x86_64 build fails probably because gcc bug |
256 %if %suse_version == 1030 |
250 %if %suse_version == 1030 |
510 %exclude %{_libdir}/xulrunner-%{version_internal}/libmozjs.so |
504 %exclude %{_libdir}/xulrunner-%{version_internal}/libmozjs.so |
511 %{_libdir}/xulrunner-%{version_internal}/.autoreg |
505 %{_libdir}/xulrunner-%{version_internal}/.autoreg |
512 %{_libdir}/xulrunner-%{version_internal}/add-plugins.sh |
506 %{_libdir}/xulrunner-%{version_internal}/add-plugins.sh |
513 %{_libdir}/xulrunner-%{version_internal}/dependentlibs.list |
507 %{_libdir}/xulrunner-%{version_internal}/dependentlibs.list |
514 %{_libdir}/xulrunner-%{version_internal}/mozilla-xremote-client |
508 %{_libdir}/xulrunner-%{version_internal}/mozilla-xremote-client |
|
509 %{_libdir}/xulrunner-%{version_internal}/mozilla-runtime |
515 %{_libdir}/xulrunner-%{version_internal}/run-mozilla.sh |
510 %{_libdir}/xulrunner-%{version_internal}/run-mozilla.sh |
516 %{_libdir}/xulrunner-%{version_internal}/xulrunner |
511 %{_libdir}/xulrunner-%{version_internal}/xulrunner |
517 %{_libdir}/xulrunner-%{version_internal}/xulrunner-bin |
512 %{_libdir}/xulrunner-%{version_internal}/xulrunner-bin |
518 %{_libdir}/xulrunner-%{version_internal}/xulrunner-stub |
513 %{_libdir}/xulrunner-%{version_internal}/xulrunner-stub |
519 %{_libdir}/xulrunner-%{version_internal}/platform.ini |
514 %{_libdir}/xulrunner-%{version_internal}/platform.ini |