equal
deleted
inserted
replaced
1 # |
1 # |
2 # spec file for package mozilla-xulrunner20 (Version 2.0b8) |
2 # spec file for package mozilla-xulrunner20 (Version 2.0b9) |
3 # |
3 # |
4 # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. |
4 # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. |
5 # 2006-2011 Wolfgang Rosenauer |
5 # 2006-2011 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 |
28 BuildRequires: libproxy-devel |
28 BuildRequires: libproxy-devel |
29 %else |
29 %else |
30 BuildRequires: wireless-tools |
30 BuildRequires: wireless-tools |
31 %endif |
31 %endif |
32 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
32 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
33 Version: 2.0b8 |
33 Version: 2.0b9 |
34 Release: 1 |
34 Release: 1 |
35 %define releasedate 2011010500 |
35 %define releasedate 2011011000 |
36 %define version_internal 2.0b9pre |
36 %define version_internal 2.0b9 |
37 %define apiversion 2.0 |
37 %define apiversion 2.0 |
38 %define uaweight 199900 |
38 %define uaweight 199900 |
39 Summary: Mozilla Runtime Environment 2.0 |
39 Summary: Mozilla Runtime Environment 2.0 |
40 Url: http://www.mozilla.org |
40 Url: http://www.mozilla.org |
41 Group: Productivity/Other |
41 Group: Productivity/Other |
69 Patch9: gecko-lockdown.patch |
69 Patch9: gecko-lockdown.patch |
70 Patch10: toolkit-ui-lockdown.patch |
70 Patch10: toolkit-ui-lockdown.patch |
71 # --- |
71 # --- |
72 Patch11: mozilla-cpuid.patch |
72 Patch11: mozilla-cpuid.patch |
73 Patch12: mozilla-language.patch |
73 Patch12: mozilla-language.patch |
|
74 Patch13: mozilla-gio.patch |
74 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
75 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
75 Requires: mozilla-js20 = %{version} |
76 Requires: mozilla-js20 = %{version} |
76 Requires(post): update-alternatives coreutils |
77 Requires(post): update-alternatives coreutils |
77 Requires(preun): update-alternatives coreutils |
78 Requires(preun): update-alternatives coreutils |
78 ### build configuration ### |
79 ### build configuration ### |
209 #%patch10 -p1 |
210 #%patch10 -p1 |
210 %if %suse_version < 1120 |
211 %if %suse_version < 1120 |
211 %patch11 -p1 |
212 %patch11 -p1 |
212 %endif |
213 %endif |
213 %patch12 -p1 |
214 %patch12 -p1 |
|
215 %patch13 -p1 |
214 |
216 |
215 %build |
217 %build |
216 kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3) |
218 kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3) |
217 if test "$kdehelperversion" != %{kde_helper_version}; then |
219 if test "$kdehelperversion" != %{kde_helper_version}; then |
218 echo fix kde helper version in the .spec file |
220 echo fix kde helper version in the .spec file |