equal
deleted
inserted
replaced
1 # |
1 # |
2 # spec file for package xulrunner |
2 # spec file for package xulrunner-esr |
3 # |
3 # |
4 # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. |
4 # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. |
5 # 2006-2012 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 |
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 |
20 Name: xulrunner |
20 Name: xulrunner-esr |
21 BuildRequires: Mesa-devel |
21 BuildRequires: Mesa-devel |
22 BuildRequires: autoconf213 |
22 BuildRequires: autoconf213 |
23 BuildRequires: dbus-1-glib-devel |
23 BuildRequires: dbus-1-glib-devel |
24 BuildRequires: fdupes |
24 BuildRequires: fdupes |
25 BuildRequires: gcc-c++ |
25 BuildRequires: gcc-c++ |
54 License: MPL-2.0 |
54 License: MPL-2.0 |
55 Group: Productivity/Other |
55 Group: Productivity/Other |
56 Url: http://www.mozilla.org/ |
56 Url: http://www.mozilla.org/ |
57 Provides: gecko |
57 Provides: gecko |
58 %ifarch %ix86 |
58 %ifarch %ix86 |
59 Provides: xulrunner-32bit = %{version}-%{release} |
59 Provides: %{name}-32bit = %{version}-%{release} |
60 %endif |
60 %endif |
|
61 # conflict with regular xulrunner |
|
62 Conflicts: xulrunner |
61 Source: xulrunner-%{version}-source.tar.bz2 |
63 Source: xulrunner-%{version}-source.tar.bz2 |
62 Source1: l10n-%{version}.tar.bz2 |
64 Source1: l10n-%{version}.tar.bz2 |
63 Source2: find-external-requires.sh |
65 Source2: find-external-requires.sh |
64 Source3: %{name}-rpmlintrc |
66 Source3: xulrunner-rpmlintrc |
65 Source4: xulrunner-openSUSE-prefs.js |
67 Source4: xulrunner-openSUSE-prefs.js |
66 Source5: add-plugins.sh.in |
68 Source5: add-plugins.sh.in |
67 Source6: create-tar.sh |
69 Source6: create-tar.sh |
68 Source7: baselibs.conf |
70 Source7: baselibs.conf |
69 Source8: source-stamp.txt |
71 Source8: source-stamp.txt |
75 Patch5: mozilla-prefer_plugin_pref.patch |
77 Patch5: mozilla-prefer_plugin_pref.patch |
76 Patch6: mozilla-language.patch |
78 Patch6: mozilla-language.patch |
77 Patch7: mozilla-ntlm-full-path.patch |
79 Patch7: mozilla-ntlm-full-path.patch |
78 Patch9: mozilla-sle11.patch |
80 Patch9: mozilla-sle11.patch |
79 Patch14: mozilla-ppc.patch |
81 Patch14: mozilla-ppc.patch |
|
82 # SLE11 patches |
|
83 Patch20: mozilla-gcc43-enums.patch |
|
84 Patch21: mozilla-gcc43-template_hacks.patch |
|
85 Patch22: mozilla-gcc43-templates_instantiation.patch |
80 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
86 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
81 Requires: mozilla-js = %{version} |
87 Requires: mozilla-js = %{version} |
82 Requires(post): update-alternatives coreutils |
88 Requires(post): update-alternatives coreutils |
83 Requires(preun): update-alternatives coreutils |
89 Requires(preun): update-alternatives coreutils |
84 ### build configuration ### |
90 ### build configuration ### |
189 %patch7 -p1 |
195 %patch7 -p1 |
190 %if %suse_version < 1120 |
196 %if %suse_version < 1120 |
191 %patch9 -p1 |
197 %patch9 -p1 |
192 %endif |
198 %endif |
193 %patch14 -p1 |
199 %patch14 -p1 |
|
200 # SLE patches |
|
201 %if %suse_version <= 1110 |
|
202 %patch20 -p1 |
|
203 %patch21 -p1 |
|
204 %patch22 -p1 |
|
205 %endif |
194 |
206 |
195 %build |
207 %build |
196 # no need to add build time to binaries |
208 # no need to add build time to binaries |
197 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" |
209 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" |
198 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" |
210 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" |