13 # license that conforms to the Open Source Definition (Version 1.9) |
13 # license that conforms to the Open Source Definition (Version 1.9) |
14 # published by the Open Source Initiative. |
14 # published by the Open Source Initiative. |
15 |
15 |
16 # Please submit bugfixes or comments via http://bugs.opensuse.org/ |
16 # Please submit bugfixes or comments via http://bugs.opensuse.org/ |
17 # |
17 # |
|
18 |
18 |
19 |
19 %if %suse_version > 1220 |
20 %if %suse_version > 1220 |
20 %define gstreamer_ver 0.10 |
21 %define gstreamer_ver 0.10 |
21 %else |
22 %else |
22 %define gstreamer_ver 0.10 |
23 %define gstreamer_ver 0.10 |
45 BuildRequires: libiw-devel |
46 BuildRequires: libiw-devel |
46 BuildRequires: libproxy-devel |
47 BuildRequires: libproxy-devel |
47 %else |
48 %else |
48 BuildRequires: wireless-tools |
49 BuildRequires: wireless-tools |
49 %endif |
50 %endif |
50 BuildRequires: mozilla-nspr-devel >= 4.10.2 |
51 BuildRequires: mozilla-nspr-devel >= 4.10.3 |
51 BuildRequires: mozilla-nss-devel >= 3.15.3.1 |
52 BuildRequires: mozilla-nss-devel >= 3.15.4 |
52 %if %suse_version > 1210 |
53 %if %suse_version > 1210 |
53 BuildRequires: pkgconfig(gstreamer-%gstreamer_ver) |
54 BuildRequires: pkgconfig(gstreamer-%gstreamer_ver) |
54 BuildRequires: pkgconfig(gstreamer-app-%gstreamer_ver) |
55 BuildRequires: pkgconfig(gstreamer-app-%gstreamer_ver) |
55 BuildRequires: pkgconfig(gstreamer-plugins-base-%gstreamer_ver) |
56 BuildRequires: pkgconfig(gstreamer-plugins-base-%gstreamer_ver) |
56 %endif |
57 %endif |
57 Version: 24.2.0 |
58 Version: 24.4.0 |
58 Release: 0 |
59 Release: 0 |
59 %define releasedate 2013120700 |
60 %define releasedate 2014031500 |
60 %define version_internal 24.2.0 |
61 %define version_internal 24.4.0 |
61 %define apiversion 24 |
62 %define apiversion 24 |
62 %define uaweight 2402000 |
63 %define uaweight 2404000 |
63 Summary: Mozilla Runtime Environment |
64 Summary: Mozilla Runtime Environment |
64 License: MPL-2.0 |
65 License: MPL-2.0 |
65 Group: Productivity/Other |
66 Group: Productivity/Other |
66 Url: http://www.mozilla.org/ |
67 Url: http://www.mozilla.org/ |
67 Provides: gecko |
68 Provides: gecko |
86 Patch6: mozilla-language.patch |
87 Patch6: mozilla-language.patch |
87 Patch7: mozilla-ntlm-full-path.patch |
88 Patch7: mozilla-ntlm-full-path.patch |
88 Patch9: mozilla-sle11.patch |
89 Patch9: mozilla-sle11.patch |
89 Patch10: mozilla-ppc.patch |
90 Patch10: mozilla-ppc.patch |
90 Patch11: mozilla-libproxy-compat.patch |
91 Patch11: mozilla-libproxy-compat.patch |
91 Patch12: libffi-ppc64le.patch |
92 Patch12: mozilla-ppc64le-libffi.patch |
92 Patch13: xpcom-ppc64le.patch |
93 Patch13: mozilla-ppc64le-xpcom.patch |
93 Patch14: ppc64le-support.patch |
94 Patch14: mozilla-ppc64le-generic.patch |
94 Patch15: xulrunner-langpack-build.patch |
95 Patch15: mozilla-ppc64le-skia.patch |
|
96 Patch16: xulrunner-langpack-build.patch |
95 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
97 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
96 Requires: mozilla-js = %{version} |
98 Requires: mozilla-js = %{version} |
97 Requires(post): update-alternatives coreutils |
99 Requires(post): update-alternatives coreutils |
98 Requires(preun): update-alternatives coreutils |
100 Requires(preun): update-alternatives coreutils |
99 Provides: xulrunner-esr = %{version} |
101 Provides: xulrunner-esr = %{version} |
100 Obsoletes: xulrunner-esr < 24.0 |
102 Obsoletes: xulrunner-esr < 24.0 |
101 ### build configuration ### |
103 ### build configuration ### |
102 %define has_system_nspr 1 |
104 %define has_system_nspr 1 |
103 %define has_system_nss 1 |
105 %define has_system_nss 1 |
104 %define has_system_cairo 0 |
106 %define has_system_cairo 0 |
105 %define localize 1 |
107 %define localize 0 |
106 %ifarch ppc ppc64 ppc64le s390 s390x ia64 %arm aarch64 |
108 %ifarch ppc ppc64 ppc64le s390 s390x ia64 %arm aarch64 |
107 %define crashreporter 0 |
109 %define crashreporter 0 |
108 %else |
110 %else |
109 %define crashreporter 1 |
111 %define crashreporter 1 |
110 %endif |
112 %endif |
254 ac_add_options --enable-optimize |
261 ac_add_options --enable-optimize |
255 ac_add_options --enable-extensions=default |
262 ac_add_options --enable-extensions=default |
256 #ac_add_options --with-system-jpeg # mozilla uses internal libjpeg-turbo now |
263 #ac_add_options --with-system-jpeg # mozilla uses internal libjpeg-turbo now |
257 #ac_add_options --with-system-png # no APNG support |
264 #ac_add_options --with-system-png # no APNG support |
258 ac_add_options --with-system-zlib |
265 ac_add_options --with-system-zlib |
|
266 %if %{localize} |
259 ac_add_options --with-l10n-base=$RPM_BUILD_DIR/l10n |
267 ac_add_options --with-l10n-base=$RPM_BUILD_DIR/l10n |
|
268 %endif |
260 ac_add_options --disable-tests |
269 ac_add_options --disable-tests |
261 ac_add_options --disable-mochitest |
270 ac_add_options --disable-mochitest |
262 ac_add_options --disable-installer |
271 ac_add_options --disable-installer |
263 ac_add_options --disable-updater |
272 ac_add_options --disable-updater |
264 ac_add_options --disable-javaxpcom |
273 ac_add_options --disable-javaxpcom |
457 %{_libdir}/xulrunner-%{version_internal}/add-plugins.sh > /dev/null 2>&1 |
466 %{_libdir}/xulrunner-%{version_internal}/add-plugins.sh > /dev/null 2>&1 |
458 exit 0 |
467 exit 0 |
459 |
468 |
460 %files |
469 %files |
461 %defattr(-,root,root) |
470 %defattr(-,root,root) |
|
471 %doc %attr(644,root,root) LICENSE |
462 %dir %{_libdir}/xulrunner-%{version_internal}/ |
472 %dir %{_libdir}/xulrunner-%{version_internal}/ |
463 %dir %{_libdir}/xulrunner-%{version_internal}/chrome/ |
473 %dir %{_libdir}/xulrunner-%{version_internal}/chrome/ |
464 %dir %{_libdir}/xulrunner-%{version_internal}/dictionaries/ |
474 %dir %{_libdir}/xulrunner-%{version_internal}/dictionaries/ |
465 %dir %{_libdir}/xulrunner-%{version_internal}/extensions/ |
475 %dir %{_libdir}/xulrunner-%{version_internal}/extensions/ |
466 %{_libdir}/xulrunner-%{version_internal}/chrome/icons/ |
476 %{_libdir}/xulrunner-%{version_internal}/chrome/icons/ |