1 # |
1 # |
2 # spec file for package MozillaFirefox (Version 3.6.0) |
2 # spec file for package MozillaFirefox (Version 3.6.4) |
3 # |
3 # |
4 # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. |
4 # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. |
5 # 2006-2010 Wolfgang Rosenauer |
5 # 2006-2010 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 |
20 |
20 |
21 |
21 |
22 Name: MozillaFirefox |
22 Name: MozillaFirefox |
23 %define xulrunner mozilla-xulrunner192 |
23 %define xulrunner mozilla-xulrunner192 |
24 BuildRequires: autoconf213 gcc-c++ libcurl-devel libgnomeui-devel libidl-devel libnotify-devel python unzip update-desktop-files zip |
24 BuildRequires: autoconf213 gcc-c++ libcurl-devel libgnomeui-devel libidl-devel libnotify-devel python unzip update-desktop-files zip |
25 BuildRequires: %{xulrunner}-devel = 1.9.2.0 |
25 BuildRequires: %{xulrunner}-devel = 1.9.2.4 |
26 %if %suse_version > 1020 |
26 %if %suse_version > 1020 |
27 BuildRequires: fdupes |
27 BuildRequires: fdupes |
28 %endif |
28 %endif |
29 %if %suse_version > 1110 |
29 %if %suse_version > 1110 |
30 BuildRequires: libiw-devel |
30 BuildRequires: libiw-devel |
32 BuildRequires: wireless-tools |
32 BuildRequires: wireless-tools |
33 %endif |
33 %endif |
34 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
34 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
35 Provides: web_browser |
35 Provides: web_browser |
36 Provides: firefox |
36 Provides: firefox |
37 Version: 3.6.0 |
37 Version: 3.6.4 |
38 Release: 1 |
38 Release: 1 |
39 %define releasedate 2010011500 |
39 %define releasedate 2010041000 |
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 |
61 Patch7: firefox-no-gnomevfs.patch |
61 Patch7: firefox-no-gnomevfs.patch |
62 Patch8: firefox-appname.patch |
62 Patch8: firefox-appname.patch |
63 Patch9: firefox-kde.patch |
63 Patch9: firefox-kde.patch |
64 Patch10: firefox-ui-lockdown.patch |
64 Patch10: firefox-ui-lockdown.patch |
65 Patch11: firefox-crashreporter.patch |
65 Patch11: firefox-crashreporter.patch |
|
66 Patch12: mozilla-crashreporter-x86_64.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 Requires: %{xulrunner} >= %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' %{xulrunner}) |
70 Requires: %{xulrunner} >= %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' %{xulrunner}) |
70 %requires_eq %{xulrunner} |
71 %requires_eq %{xulrunner} |
94 compliance and performance. Its functionality can be enhanced via a |
95 compliance and performance. Its functionality can be enhanced via a |
95 plethora of extensions. |
96 plethora of extensions. |
96 |
97 |
97 |
98 |
98 %if %localize |
99 %if %localize |
|
100 |
99 %package translations-common |
101 %package translations-common |
100 Summary: Common translations for MozillaFirefox |
102 Summary: Common translations for MozillaFirefox |
101 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
103 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
102 Provides: locale(%{name}:ar;ca;cs;da;de;en_GB;es_AR;es_CL;es_ES;fi;fr;hu;it;ja;ko;nb_NO;nl;pl;pt_BR;pt_PT;ru;sv_SE;zh_CN;zh_TW) |
104 Provides: locale(%{name}:ar;ca;cs;da;de;en_GB;es_AR;es_CL;es_ES;fi;fr;hu;it;ja;ko;nb_NO;nl;pl;pt_BR;pt_PT;ru;sv_SE;zh_CN;zh_TW) |
103 Group: System/Localization |
105 Group: System/Localization |
356 %{progdir}/modules/ |
359 %{progdir}/modules/ |
357 %attr(755,root,root) %{progdir}/%{progname}.sh |
360 %attr(755,root,root) %{progdir}/%{progname}.sh |
358 %{progdir}/%{progname} |
361 %{progdir}/%{progname} |
359 %{progdir}/application.ini |
362 %{progdir}/application.ini |
360 %{progdir}/blocklist.xml |
363 %{progdir}/blocklist.xml |
361 %ifarch %ix86 |
|
362 %{progdir}/crashreporter-override.ini |
364 %{progdir}/crashreporter-override.ini |
363 %endif |
|
364 %{_datadir}/applications/%{name}.desktop |
365 %{_datadir}/applications/%{name}.desktop |
365 %{_datadir}/mime/packages/%{progname}.xml |
366 %{_datadir}/mime/packages/%{progname}.xml |
366 %{_datadir}/pixmaps/firefox* |
367 %{_datadir}/pixmaps/firefox* |
367 %if %branding |
368 %if %branding |
368 %{gnome_dir}/share/icons/hicolor/ |
369 %{gnome_dir}/share/icons/hicolor/ |
369 %endif |
370 %endif |
370 %{_bindir}/%{progname} |
371 %{_bindir}/%{progname} |
371 %doc %{_mandir}/man1/%{progname}.1.gz |
372 %doc %{_mandir}/man1/%{progname}.1.gz |
372 |
373 |
373 %if %localize |
374 %if %localize |
|
375 |
374 %files translations-common -f %{_tmppath}/translations.common |
376 %files translations-common -f %{_tmppath}/translations.common |
375 %defattr(-,root,root) |
377 %defattr(-,root,root) |
376 %dir %{progdir} |
378 %dir %{progdir} |
377 %dir %{progdir}/chrome/ |
379 %dir %{progdir}/chrome/ |
378 |
380 |