1 # |
1 # |
2 # spec file for package MozillaFirefox (Version 4.0b9) |
2 # spec file for package MozillaFirefox (Version 4.0b10) |
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.0b9 |
32 BuildRequires: %{xulrunner}-devel = 2.0b10 |
33 %endif |
33 %endif |
34 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
34 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
35 Version: 4.0b9 |
35 Version: 4.0b10 |
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 2011011000 |
39 %define releasedate 2011012100 |
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 |
58 Patch4: firefox-cross-desktop.patch |
58 Patch4: firefox-cross-desktop.patch |
59 Patch5: firefox-kde.patch |
59 Patch5: firefox-kde.patch |
60 Patch6: firefox-ui-lockdown.patch |
60 Patch6: firefox-ui-lockdown.patch |
61 Patch7: firefox-no-sync-l10n.patch |
61 Patch7: firefox-no-sync-l10n.patch |
62 Patch8: firefox-libxulsdk-locales.patch |
62 Patch8: firefox-libxulsdk-locales.patch |
63 Patch9: firefox-no-default-ualocale.patch |
63 Patch9: firefox-no-default-ualocale.patch |
64 Patch10: firefox-multilocale-chrome.patch |
64 Patch10: firefox-multilocale-chrome.patch |
65 Patch11: firefox-shell-bmo624267.patch |
65 Patch11: firefox-shellservice.patch |
66 Patch12: firefox-shellservice.patch |
|
67 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
66 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
68 Requires(post): coreutils shared-mime-info desktop-file-utils |
67 Requires(post): coreutils shared-mime-info desktop-file-utils |
69 Requires(postun): shared-mime-info desktop-file-utils |
68 Requires(postun): shared-mime-info desktop-file-utils |
70 %if 0%{?use_xulrunner} |
69 %if 0%{?use_xulrunner} |
71 Requires: %{xulrunner} >= %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' %{xulrunner}) |
70 Requires: %{xulrunner} >= %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' %{xulrunner}) |
201 ac_add_options --with-system-zlib |
199 ac_add_options --with-system-zlib |
202 ac_add_options --disable-installer |
200 ac_add_options --disable-installer |
203 ac_add_options --disable-updater |
201 ac_add_options --disable-updater |
204 ac_add_options --disable-tests |
202 ac_add_options --disable-tests |
205 ac_add_options --disable-debug |
203 ac_add_options --disable-debug |
206 ac_add_options --enable-update-channel=beta |
204 #ac_add_options --enable-update-channel=beta |
207 EOF |
205 EOF |
208 %if 0%{?use_xulrunner} |
206 %if 0%{?use_xulrunner} |
209 cat << EOF >> $MOZCONFIG |
207 cat << EOF >> $MOZCONFIG |
210 ac_add_options --with-libxul-sdk=$SDKDIR |
208 ac_add_options --with-libxul-sdk=$SDKDIR |
211 ac_add_options --enable-chrome-format=jar |
209 ac_add_options --enable-chrome-format=jar |