equal
deleted
inserted
replaced
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 %define version_internal 31.2.0 |
19 |
|
20 %define version_internal 31.3.0 |
20 %define apiversion 31 |
21 %define apiversion 31 |
21 %define uaweight 3120000 |
22 %define uaweight 3130000 |
22 %define releasedate 2014101100 |
23 %define releasedate 2014112600 |
23 %define shared_js 0 |
24 %define shared_js 0 |
24 %define has_system_nspr 1 |
25 %define has_system_nspr 1 |
25 %define has_system_nss 1 |
26 %define has_system_nss 1 |
26 %define has_system_cairo 0 |
27 %define has_system_cairo 0 |
27 %define localize 0 |
28 %define localize 0 |
104 Source8: source-stamp.txt |
105 Source8: source-stamp.txt |
105 Source9: compare-locales.tar.xz |
106 Source9: compare-locales.tar.xz |
106 Patch1: toolkit-download-folder.patch |
107 Patch1: toolkit-download-folder.patch |
107 Patch2: mozilla-nongnome-proxies.patch |
108 Patch2: mozilla-nongnome-proxies.patch |
108 Patch3: mozilla-prefer_plugin_pref.patch |
109 Patch3: mozilla-prefer_plugin_pref.patch |
|
110 Patch4: mozilla-pkgconfig.patch |
109 Patch6: mozilla-preferences.patch |
111 Patch6: mozilla-preferences.patch |
110 Patch7: mozilla-language.patch |
112 Patch7: mozilla-language.patch |
111 Patch8: mozilla-ntlm-full-path.patch |
113 Patch8: mozilla-ntlm-full-path.patch |
112 Patch9: mozilla-repo.patch |
114 Patch9: mozilla-repo.patch |
113 Patch10: mozilla-sle11.patch |
115 Patch10: mozilla-sle11.patch |
154 of web pages and server applications worldwide. Netscape's JavaScript is a |
156 of web pages and server applications worldwide. Netscape's JavaScript is a |
155 superset of the ECMA-262 Edition 3 (ECMAScript) standard scripting language, |
157 superset of the ECMA-262 Edition 3 (ECMAScript) standard scripting language, |
156 with only mild differences from the published standard. |
158 with only mild differences from the published standard. |
157 %endif |
159 %endif |
158 |
160 |
159 |
|
160 %package devel |
161 %package devel |
161 Summary: XULRunner/Gecko SDK |
162 Summary: XULRunner/Gecko SDK |
162 Group: Development/Libraries/Other |
163 Group: Development/Libraries/Other |
163 %if %has_system_nspr |
164 %if %has_system_nspr |
164 Requires: mozilla-nspr-devel >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr-devel) |
165 Requires: mozilla-nspr-devel >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr-devel) |
216 %prep |
217 %prep |
217 %setup -n mozilla -q -b 1 -b 9 |
218 %setup -n mozilla -q -b 1 -b 9 |
218 %patch1 -p1 |
219 %patch1 -p1 |
219 %patch2 -p1 |
220 %patch2 -p1 |
220 %patch3 -p1 |
221 %patch3 -p1 |
|
222 %patch4 -p1 |
221 %patch6 -p1 |
223 %patch6 -p1 |
222 %patch7 -p1 |
224 %patch7 -p1 |
223 %patch8 -p1 |
225 %patch8 -p1 |
224 %patch9 -p1 |
226 %patch9 -p1 |
225 %if %suse_version < 1120 |
227 %if %suse_version < 1120 |
257 export CFLAGS="$CFLAGS -mminimal-toc" |
259 export CFLAGS="$CFLAGS -mminimal-toc" |
258 %endif |
260 %endif |
259 export LDFLAGS=" -Wl,-rpath -Wl,${MOZ_APP_DIR}" |
261 export LDFLAGS=" -Wl,-rpath -Wl,${MOZ_APP_DIR}" |
260 %ifarch %arm |
262 %ifarch %arm |
261 # debug symbols require too much memory during build |
263 # debug symbols require too much memory during build |
262 export CFLAGS="${CFLAGS/-g/}" |
264 export CFLAGS="${CFLAGS/-g / }" |
|
265 # Limit RAM usage during link |
263 LDFLAGS+="-Wl,--reduce-memory-overheads -Wl,--no-keep-memory" |
266 LDFLAGS+="-Wl,--reduce-memory-overheads -Wl,--no-keep-memory" |
264 %endif |
267 %endif |
265 export CXXFLAGS="$CFLAGS" |
268 export CXXFLAGS="$CFLAGS" |
266 export MOZCONFIG=$RPM_BUILD_DIR/mozconfig |
269 export MOZCONFIG=$RPM_BUILD_DIR/mozconfig |
267 export MOZ_MILESTONE_RELEASE=1 |
270 export MOZ_MILESTONE_RELEASE=1 |
283 %ifarch %ix86 |
286 %ifarch %ix86 |
284 %if 0%{?suse_version} > 1230 |
287 %if 0%{?suse_version} > 1230 |
285 ac_add_options --disable-optimize |
288 ac_add_options --disable-optimize |
286 %endif |
289 %endif |
287 %endif |
290 %endif |
288 %ifnarch ppc ppc64 ppc64le |
291 %ifnarch aarch64 ppc ppc64 ppc64le |
289 ac_add_options --enable-elf-hack |
292 ac_add_options --enable-elf-hack |
290 %endif |
293 %endif |
291 ac_add_options --enable-extensions=default |
294 ac_add_options --enable-extensions=default |
292 #ac_add_options --with-system-jpeg # mozilla uses internal libjpeg-turbo now |
295 #ac_add_options --with-system-jpeg # mozilla uses internal libjpeg-turbo now |
293 #ac_add_options --with-system-png # no APNG support |
296 #ac_add_options --with-system-png # no APNG support |