- 2.0.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
38b7e6ec 5Version: 2.0.0.7
d9c20851 6Release: 1
0ee9c31a 7License: MPL/LGPL
8Group: X11/Applications/Networking
d9c20851 9Source0: http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/linux-i686/en-US/%{realname}-%{version}.tar.gz
38b7e6ec 10# Source0-md5: 064cf81cc245c18de545f139e3e795fc
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
0ee9c31a 23# mozilla and firefox provide their own versions
cb99552d 24# list of capabilities (SONAME, perl(module), php(module) regexps) which don't generate dependencies on package NAMES
cec8e6ff 25%define _noautoreqdep libgkgfx.so libgtkembedmoz.so libgtkxtbin.so libjsj.so libmozjs.so libxpcom.so libxpcom_compat.so libxpcom_core.so libfreebl3.so libnspr4.so libplc4.so libplds4.so libfreebl3.so libnss3.so libnssckbi.so libsmime3.so libsoftokn3.chk libsoftokn3.so libssl3.so
cb99552d
ER
26# list of files (regexps) which don't generate Provides
27%define _noautoprovfiles %{_firefoxdir}/components
28# list of script capabilities (regexps) not to be used in Provides
29%define _noautoprov libplc4.so libplds4.so
0ee9c31a 30
31%description
32Mozilla Firefox is an open-source web browser, designed for standards
33compliance, performance and portability.
34
dc043ca8
JR
35%description -l pl.UTF-8
36Mozilla Firefox jest open sourcową przeglądarką sieci WWW, stworzoną z
37myślą o zgodności ze standardami, wydajnością i przenośnością.
0ee9c31a 38
39%prep
40%setup -q -n %{realname}
41
42%build
43%install
44rm -rf $RPM_BUILD_ROOT
45install -d \
46 $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}} \
47 $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir},%{_firefoxdir}} \
48 $RPM_BUILD_ROOT{%{_includedir}/%{name}/idl,%{_pkgconfigdir}}
49
50cp -r * $RPM_BUILD_ROOT%{_firefoxdir}
14d807c9
JW
51sed 's,@LIBDIR@,%{_libdir},' %{SOURCE2} > $RPM_BUILD_ROOT%{_bindir}/firefox
52#ln -s %{_firefoxdir}/firefox $RPM_BUILD_ROOT%{_bindir}/firefox
0ee9c31a 53
54install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
0ee9c31a 59%files
60%defattr(644,root,root,755)
61%{_firefoxdir}/libsoftokn3.chk
62%attr(755,root,root) %{_bindir}/firefox
63%dir %{_firefoxdir}
64%{_firefoxdir}/res
65%dir %{_firefoxdir}/components
66%attr(755,root,root) %{_firefoxdir}/components/*.so
67%{_firefoxdir}/components/*.js
68%{_firefoxdir}/components/*.xpt
69%{_firefoxdir}/plugins
70%{_firefoxdir}/searchplugins
71%{_firefoxdir}/icons
72%{_firefoxdir}/defaults
73%{_firefoxdir}/greprefs
74%{_firefoxdir}/browserconfig.properties
75%{_firefoxdir}/dictionaries
76%attr(755,root,root) %{_firefoxdir}/*.so
ccce0598 77%{_firefoxdir}/libfreebl3.chk
0ee9c31a 78%attr(755,root,root) %{_firefoxdir}/*.sh
79%attr(755,root,root) %{_firefoxdir}/m*
80%attr(755,root,root) %{_firefoxdir}/f*
81%attr(755,root,root) %{_firefoxdir}/x*
82#%{_pixmapsdir}/*
7345603b 83%{_desktopdir}/*.desktop
0ee9c31a 84
019dc297 85%{_firefoxdir}/chrome
This page took 0.061684 seconds and 4 git commands to generate.