- first draft
authorshadzik <shadzik@pld-linux.org>
Mon, 30 Oct 2006 17:24:42 +0000 (17:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mozilla-firefox-bin.spec -> 1.1

mozilla-firefox-bin.spec [new file with mode: 0644]

diff --git a/mozilla-firefox-bin.spec b/mozilla-firefox-bin.spec
new file mode 100644 (file)
index 0000000..8ff6ee0
--- /dev/null
@@ -0,0 +1,92 @@
+%define                realname        firefox
+Summary:       Mozilla Firefox web browser
+Summary(pl):   Mozilla Firefox - przegl±darka WWW
+Name:          mozilla-firefox-bin
+Version:       2.0
+Release:       1
+License:       MPL/LGPL
+Group:         X11/Applications/Networking
+Source0:       http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/2.0/linux-i686/pl/%{realname}-%{version}.tar.gz
+# Source0-md5: 22330d74779d1b9b98d3dbc92a82628f
+Source1:       %{name}.desktop
+URL:           http://www.mozilla.org/projects/firefox/
+BuildRequires: automake
+BuildRequires: perl-modules
+BuildRequires: zip
+Requires:      nspr >= 1:4.6-0.20041030.1
+Requires:      nss >= 3.8
+Provides:      wwwbrowser
+Obsoletes:     mozilla-firebird
+Conflicts:     mozilla-firefox
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _firefoxdir     %{_libdir}/%{name}
+# mozilla and firefox provide their own versions
+%define                _noautoreqdep           libgkgfx.so libgtkembedmoz.so libgtkxtbin.so libjsj.so libmozjs.so libxpcom.so libxpcom_compat.so
+%define                _noautoprovfiles        libplc4.so libplds4.so
+
+%description
+Mozilla Firefox is an open-source web browser, designed for standards
+compliance, performance and portability.
+
+%description -l pl
+Mozilla Firefox jest open sourcow± przegl±dark± sieci WWW, stworzon± z
+my¶l± o zgodno¶ci ze standardami, wydajno¶ci± i przeno¶no¶ci±.
+
+%prep
+%setup -q -n %{realname}
+
+%build
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d \
+       $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}} \
+       $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir},%{_firefoxdir}} \
+       $RPM_BUILD_ROOT{%{_includedir}/%{name}/idl,%{_pkgconfigdir}}
+
+cp -r * $RPM_BUILD_ROOT%{_firefoxdir}
+ln -s %{_firefoxdir}/firefox $RPM_BUILD_ROOT%{_bindir}/firefox
+
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun
+if [ "$1" == "0" ]; then
+       rm -rf %{_firefoxdir}/chrome/overlayinfo
+       rm -f  %{_firefoxdir}/chrome/*.rdf
+       rm -rf %{_firefoxdir}/components
+       rm -rf %{_firefoxdir}/extensions
+fi
+
+%files
+%defattr(644,root,root,755)
+%{_firefoxdir}/libsoftokn3.chk
+%attr(755,root,root) %{_bindir}/firefox
+%dir %{_firefoxdir}
+%{_firefoxdir}/res
+%dir %{_firefoxdir}/components
+%attr(755,root,root) %{_firefoxdir}/components/*.so
+%{_firefoxdir}/components/*.js
+%{_firefoxdir}/components/*.xpt
+%{_firefoxdir}/plugins
+%{_firefoxdir}/searchplugins
+%{_firefoxdir}/icons
+%{_firefoxdir}/defaults
+%{_firefoxdir}/greprefs
+%{_firefoxdir}/browserconfig.properties
+%{_firefoxdir}/dictionaries
+%attr(755,root,root) %{_firefoxdir}/*.so
+%attr(755,root,root) %{_firefoxdir}/*.sh
+%attr(755,root,root) %{_firefoxdir}/m*
+%attr(755,root,root) %{_firefoxdir}/f*
+%attr(755,root,root) %{_firefoxdir}/x*
+#%{_pixmapsdir}/*
+%{_desktopdir}/*
+
+%dir %{_firefoxdir}/chrome
+%{_firefoxdir}/chrome/*
+%dir %{_firefoxdir}/chrome/icons
+%{_firefoxdir}/chrome/icons/default
This page took 0.989735 seconds and 4 git commands to generate.