- updated to STABLE 3.0.7
[packages/mozilla-firefox-bin.git] / mozilla-firefox-bin.spec
CommitLineData
0ee9c31a 1%define realname firefox
2Summary: Mozilla Firefox web browser
42b6dbdb 3Summary(pl.UTF-8): Mozilla Firefox - przeglądarka WWW
0ee9c31a 4Name: mozilla-firefox-bin
d090773b 5Version: 3.0.7
ac3e1eda 6Release: 1
0ee9c31a 7License: MPL/LGPL
8Group: X11/Applications/Networking
d090773b
SP
9Source0: http://releases.mozilla.org/pub/mozilla.org/%{realname}/releases/%{version}/linux-i686/en-US/%{realname}-%{version}.tar.bz2
10# Source0-md5: 06deb26f33d2eb52c5f1192bb66f0a17
0ee9c31a 11Source1: %{name}.desktop
14d807c9 12Source2: %{name}.sh
0ee9c31a 13URL: http://www.mozilla.org/projects/firefox/
795e56bb 14BuildRequires: zip
0ee9c31a 15Provides: wwwbrowser
16Obsoletes: mozilla-firebird
17Conflicts: mozilla-firefox
83a1e3f4 18ExclusiveArch: i686 athlon
0ee9c31a 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%define _firefoxdir %{_libdir}/%{name}
cb99552d 22
97c40bb5
ER
23%define nss_caps libfreebl3.so libnss3.so libnssckbi.so libsmime3.so ibsoftokn3.so libssl3.so
24%define nspr_caps libnspr4.so libplc4.so libplds4.so
ac3e1eda
ER
25%define moz_caps libgkgfx.so libgtkembedmoz.so libgtkxtbin.so libjsj.so libmozjs.so libnullplugin.so libxpcom_compat.so libxpcom_core.so libxpcom.so libxpistub.so libxul.so
26
cb99552d 27# list of files (regexps) which don't generate Provides
f757977d 28%define _noautoprovfiles %{_libdir}/%{name}/components
cb99552d 29# list of script capabilities (regexps) not to be used in Provides
ac3e1eda 30%define _noautoprov %{moz_caps} %{nss_caps} %{nspr_caps}
97c40bb5 31%define _noautoreq %{_noautoprov}
0ee9c31a 32
33%description
34Mozilla Firefox is an open-source web browser, designed for standards
35compliance, performance and portability.
36
dc043ca8
JR
37%description -l pl.UTF-8
38Mozilla Firefox jest open sourcową przeglądarką sieci WWW, stworzoną z
39myślą o zgodności ze standardami, wydajnością i przenośnością.
0ee9c31a 40
41%prep
42%setup -q -n %{realname}
43
44%build
45%install
46rm -rf $RPM_BUILD_ROOT
47install -d \
48 $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}} \
f757977d 49 $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir},%{_libdir}/%{name}} \
0ee9c31a 50
f757977d 51cp -a * $RPM_BUILD_ROOT%{_libdir}/%{name}
ac3e1eda
ER
52sed 's,@LIBDIR@,%{_libdir},' %{SOURCE2} > $RPM_BUILD_ROOT%{_bindir}/mozilla-firefox
53ln -s mozilla-firefox $RPM_BUILD_ROOT%{_bindir}/firefox
0ee9c31a 54install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
0ee9c31a 59%files
60%defattr(644,root,root,755)
ac3e1eda 61%attr(755,root,root) %{_bindir}/mozilla-firefox
0ee9c31a 62%attr(755,root,root) %{_bindir}/firefox
f757977d
ER
63%dir %{_libdir}/%{name}
64%{_libdir}/%{name}/res
65%dir %{_libdir}/%{name}/components
66%attr(755,root,root) %{_libdir}/%{name}/components/*.so
67%{_libdir}/%{name}/components/*.js
68%{_libdir}/%{name}/components/*.xpt
69%{_libdir}/%{name}/chrome
70%{_libdir}/%{name}/defaults
71%{_libdir}/%{name}/greprefs
72%{_libdir}/%{name}/icons
73%{_libdir}/%{name}/plugins
74%{_libdir}/%{name}/searchplugins
75%{_libdir}/%{name}/dictionaries
76%{_libdir}/%{name}/browserconfig.properties
77%{_libdir}/%{name}/libfreebl3.chk
78%{_libdir}/%{name}/libsoftokn3.chk
79%attr(755,root,root) %{_libdir}/%{name}/*.so
80%attr(755,root,root) %{_libdir}/%{name}/*.sh
81%attr(755,root,root) %{_libdir}/%{name}/m*
82%attr(755,root,root) %{_libdir}/%{name}/f*
7345603b 83%{_desktopdir}/*.desktop
This page took 0.103581 seconds and 4 git commands to generate.