equal
deleted
inserted
replaced
76 Patch9: mozilla-language.patch |
76 Patch9: mozilla-language.patch |
77 Patch11: mozilla-ntlm-full-path.patch |
77 Patch11: mozilla-ntlm-full-path.patch |
78 Patch12: mozilla-dump_syms-static.patch |
78 Patch12: mozilla-dump_syms-static.patch |
79 Patch13: mozilla-sle11.patch |
79 Patch13: mozilla-sle11.patch |
80 Patch14: mozilla-linux3.patch |
80 Patch14: mozilla-linux3.patch |
81 Patch16: mozilla-disable-neon-option.patch |
81 Patch15: mozilla-arm-cpu-detection.patch |
82 Patch17: mozilla-yarr-pcre.patch |
82 Patch17: mozilla-yarr-pcre.patch |
83 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
83 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
84 Requires: mozilla-js = %{version} |
84 Requires: mozilla-js = %{version} |
85 Requires(post): update-alternatives coreutils |
85 Requires(post): update-alternatives coreutils |
86 Requires(preun): update-alternatives coreutils |
86 Requires(preun): update-alternatives coreutils |
159 |
159 |
160 %package translations-other |
160 %package translations-other |
161 Summary: Extra translations for XULRunner |
161 Summary: Extra translations for XULRunner |
162 Group: System/Localization |
162 Group: System/Localization |
163 Requires: %{name} = %{version} |
163 Requires: %{name} = %{version} |
164 Provides: locale(%{name}:af;ak;ast;be;bg;bn_BD;br;bs;cy;el;en_ZA;eo;es_MX;et;eu;fa;fy_NL;ga_IE;gd;gl;gu_IN;he;hi_IN;hr;hy_AM;id;is;kk;kn;ku;lg;lt;lv;mai;mk;ml;mr;nn_NO;nso;or;pa_IN;rm;ro;si;sk;sl;son;sq;sr;ta;ta_LK;te;th;tr;uk;zu) |
164 Provides: locale(%{name}:af;ak;as;ast;be;bg;bn_BD;bn_IN;br;bs;csb;cy;el;en_ZA;eo;es_MX;et;eu;fa;fy_NL;ga_IE;gd;gl;gu_IN;he;hi_IN;hr;hy_AM;id;is;kk;kn;ku;lg;lij;lt;lv;mai;mk;ml;mn;mr;nn_NO;nso;or;pa_IN;rm;ro;si;sk;sl;son;sq;sr;sw;ta;ta_LK;te;th;tr;uk;vi;zu) |
165 Obsoletes: %{name}-translations < %{version}-%{release} |
165 Obsoletes: %{name}-translations < %{version}-%{release} |
166 |
166 |
167 %description translations-other |
167 %description translations-other |
168 XULRunner is a single installable package that can be used to bootstrap |
168 XULRunner is a single installable package that can be used to bootstrap |
169 multiple XUL+XPCOM applications that are as rich as Firefox and |
169 multiple XUL+XPCOM applications that are as rich as Firefox and |
195 %patch12 -p1 |
195 %patch12 -p1 |
196 %if %suse_version < 1120 |
196 %if %suse_version < 1120 |
197 %patch13 -p1 |
197 %patch13 -p1 |
198 %endif |
198 %endif |
199 %patch14 -p1 |
199 %patch14 -p1 |
200 %patch16 -p1 |
200 %patch15 -p1 |
201 #%patch17 -p1 |
201 #%patch17 -p1 |
202 |
202 |
203 %build |
203 %build |
204 # no need to add build time to binaries |
204 # no need to add build time to binaries |
205 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" |
205 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" |
279 ac_add_options --disable-crashreporter |
279 ac_add_options --disable-crashreporter |
280 EOF |
280 EOF |
281 %endif |
281 %endif |
282 %if ! %plugincontainer |
282 %if ! %plugincontainer |
283 cat << EOF >> $MOZCONFIG |
283 cat << EOF >> $MOZCONFIG |
284 # Chromium IPC is not ported to Power,S/390 and Itanium (currently just x86,x86_64 and arm) |
|
285 ac_add_options --disable-ipc |
284 ac_add_options --disable-ipc |
286 EOF |
285 EOF |
287 %endif |
286 %endif |
288 # Disable neon for arm as it does not build correctly |
287 # S/390 |
|
288 %ifarch s390 s390x |
|
289 cat << EOF >> $MOZCONFIG |
|
290 ac_add_options --disable-jemalloc |
|
291 EOF |
|
292 %endif |
|
293 # ARM |
289 %ifarch %arm |
294 %ifarch %arm |
290 cat << EOF >> $MOZCONFIG |
295 cat << EOF >> $MOZCONFIG |
291 ac_add_options --disable-neon |
296 %ifarch armv7l |
|
297 ac_add_options --with-arch=armv7-a |
|
298 ac_add_options --with-float-abi=hard |
|
299 ac_add_options --with-fpu=vfpv3-d16 |
|
300 ac_add_options --with-thumb=yes |
|
301 %endif |
|
302 %ifarch armv5tel |
|
303 ac_add_options --with-arch=armv5te |
|
304 ac_add_options --with-float-abi=soft |
|
305 ac_add_options --with-thumb=no |
|
306 %endif |
292 EOF |
307 EOF |
293 %endif |
308 %endif |
294 make -f client.mk build |
309 make -f client.mk build |
295 |
310 |
296 %install |
311 %install |