1 # |
1 # |
2 # spec file for package MozillaFirefox (Version 4.0b8) |
2 # spec file for package MozillaFirefox (Version 4.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 |
27 BuildRequires: libiw-devel |
27 BuildRequires: libiw-devel |
28 %else |
28 %else |
29 BuildRequires: wireless-tools |
29 BuildRequires: wireless-tools |
30 %endif |
30 %endif |
31 %if 0%{?use_xulrunner} |
31 %if 0%{?use_xulrunner} |
32 BuildRequires: %{xulrunner}-devel = 2.0b8 |
32 BuildRequires: %{xulrunner}-devel = 2.0b9 |
33 %endif |
33 %endif |
34 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
34 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
35 Version: 4.0b8 |
35 Version: 4.0b9 |
36 Provides: web_browser |
36 Provides: web_browser |
37 Provides: firefox = %{version} |
37 Provides: firefox = %{version} |
38 Release: 1 |
38 Release: 1 |
39 %define releasedate 2011010500 |
39 %define releasedate 2011011000 |
40 Summary: Mozilla Firefox Web Browser |
40 Summary: Mozilla Firefox Web Browser |
41 Url: http://www.mozilla.org/ |
41 Url: http://www.mozilla.org/ |
42 Group: Productivity/Networking/Web/Browsers |
42 Group: Productivity/Networking/Web/Browsers |
43 Source: firefox-%{version}-source.tar.bz2 |
43 Source: firefox-%{version}-source.tar.bz2 |
44 Source1: MozillaFirefox.desktop |
44 Source1: MozillaFirefox.desktop |
54 Source11: firefox.1 |
54 Source11: firefox.1 |
55 Patch1: toolkit-download-folder.patch |
55 Patch1: toolkit-download-folder.patch |
56 Patch2: firefox-linkorder.patch |
56 Patch2: firefox-linkorder.patch |
57 Patch3: firefox-browser-css.patch |
57 Patch3: firefox-browser-css.patch |
58 Patch4: firefox-cross-desktop.patch |
58 Patch4: firefox-cross-desktop.patch |
59 Patch5: firefox-appname.patch |
59 Patch5: firefox-kde.patch |
60 Patch6: firefox-kde.patch |
60 Patch6: firefox-ui-lockdown.patch |
61 Patch7: firefox-ui-lockdown.patch |
61 Patch7: firefox-no-sync-l10n.patch |
62 Patch8: firefox-no-sync-l10n.patch |
62 Patch8: firefox-libxulsdk-locales.patch |
63 Patch9: firefox-libxulsdk-locales.patch |
63 Patch9: firefox-no-default-ualocale.patch |
64 Patch10: firefox-no-default-ualocale.patch |
64 Patch10: firefox-multilocale-chrome.patch |
65 Patch11: firefox-multilocale-chrome.patch |
65 Patch11: firefox-shell-bmo624267.patch |
|
66 Patch12: firefox-shellservice.patch |
66 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
67 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
67 Requires(post): coreutils shared-mime-info desktop-file-utils |
68 Requires(post): coreutils shared-mime-info desktop-file-utils |
68 Requires(postun): shared-mime-info desktop-file-utils |
69 Requires(postun): shared-mime-info desktop-file-utils |
69 %if 0%{?use_xulrunner} |
70 %if 0%{?use_xulrunner} |
70 Requires: %{xulrunner} >= %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' %{xulrunner}) |
71 Requires: %{xulrunner} >= %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' %{xulrunner}) |
153 cd $RPM_BUILD_DIR/mozilla |
154 cd $RPM_BUILD_DIR/mozilla |
154 %patch1 -p1 |
155 %patch1 -p1 |
155 %patch2 -p1 |
156 %patch2 -p1 |
156 %patch3 -p1 |
157 %patch3 -p1 |
157 %patch4 -p1 |
158 %patch4 -p1 |
|
159 %if %suse_version >= 1110 |
158 %patch5 -p1 |
160 %patch5 -p1 |
159 %if %suse_version >= 1110 |
|
160 %patch6 -p1 |
|
161 # install kde.js |
161 # install kde.js |
162 install -m 644 %{SOURCE6} browser/app/profile/kde.js |
162 install -m 644 %{SOURCE6} browser/app/profile/kde.js |
163 %endif |
163 %endif |
164 #%patch7 -p1 |
164 #%patch6 -p1 |
|
165 %patch7 -p1 |
165 %patch8 -p1 |
166 %patch8 -p1 |
166 %patch9 -p1 |
167 %patch9 -p1 |
167 %patch10 -p1 |
168 %patch10 -p1 |
168 %patch11 -p1 |
169 %patch11 -p1 |
|
170 %patch12 -p1 |
169 |
171 |
170 %build |
172 %build |
171 export MOZ_BUILD_DATE=%{releasedate} |
173 export MOZ_BUILD_DATE=%{releasedate} |
172 export MOZILLA_OFFICIAL=1 |
174 export MOZILLA_OFFICIAL=1 |
173 export BUILD_OFFICIAL=1 |
175 export BUILD_OFFICIAL=1 |