equal
deleted
inserted
replaced
1 # |
1 # |
2 # spec file for package xulrunner |
2 # spec file for package xulrunner |
3 # |
3 # |
4 # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. |
4 # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. |
5 # 2006-2011 Wolfgang Rosenauer |
5 # 2006-2012 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 |
8 # remain the property of their copyright owners, unless otherwise agreed |
8 # remain the property of their copyright owners, unless otherwise agreed |
9 # upon. The license for this file, and modifications and additions to the |
9 # upon. The license for this file, and modifications and additions to the |
10 # file, is the same license as for the pristine package itself (unless the |
10 # file, is the same license as for the pristine package itself (unless the |
75 Patch12: mozilla-dump_syms-static.patch |
75 Patch12: mozilla-dump_syms-static.patch |
76 Patch13: mozilla-sle11.patch |
76 Patch13: mozilla-sle11.patch |
77 Patch14: mozilla-linux3.patch |
77 Patch14: mozilla-linux3.patch |
78 Patch15: mozilla-ppc64.patch |
78 Patch15: mozilla-ppc64.patch |
79 Patch16: mozilla-a11y.patch |
79 Patch16: mozilla-a11y.patch |
|
80 Patch17: mozilla-disable-neon-option.patch |
80 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
81 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
81 Requires: mozilla-js = %{version} |
82 Requires: mozilla-js = %{version} |
82 Requires(post): update-alternatives coreutils |
83 Requires(post): update-alternatives coreutils |
83 Requires(preun): update-alternatives coreutils |
84 Requires(preun): update-alternatives coreutils |
84 ### build configuration ### |
85 ### build configuration ### |
194 %patch13 -p1 |
195 %patch13 -p1 |
195 %endif |
196 %endif |
196 %patch14 -p1 |
197 %patch14 -p1 |
197 %patch15 -p1 |
198 %patch15 -p1 |
198 %patch16 -p1 |
199 %patch16 -p1 |
|
200 %patch17 -p1 |
199 |
201 |
200 %build |
202 %build |
201 # no need to add build time to binaries |
203 # no need to add build time to binaries |
202 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" |
204 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" |
203 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" |
205 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" |
278 %endif |
280 %endif |
279 %if ! %plugincontainer |
281 %if ! %plugincontainer |
280 cat << EOF >> $MOZCONFIG |
282 cat << EOF >> $MOZCONFIG |
281 # Chromium IPC is not ported to Power,S/390 and Itanium (currently just x86,x86_64 and arm) |
283 # Chromium IPC is not ported to Power,S/390 and Itanium (currently just x86,x86_64 and arm) |
282 ac_add_options --disable-ipc |
284 ac_add_options --disable-ipc |
|
285 EOF |
|
286 %endif |
|
287 # Disable neon for arm as it does not build correctly |
|
288 %ifarch %arm |
|
289 cat << EOF >> $MOZCONFIG |
|
290 ac_add_options --disable-neon |
283 EOF |
291 EOF |
284 %endif |
292 %endif |
285 make -f client.mk build |
293 make -f client.mk build |
286 |
294 |
287 %install |
295 %install |