SPECS: mozilla-firefox-bin-lang-pl.spec (NEW) - initial

jasw jasw at pld-linux.org
Sat Dec 2 16:12:55 CET 2006


Author: jasw                         Date: Sat Dec  2 15:12:55 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   mozilla-firefox-bin-lang-pl.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/mozilla-firefox-bin-lang-pl.spec
diff -u /dev/null SPECS/mozilla-firefox-bin-lang-pl.spec:1.1
--- /dev/null	Sat Dec  2 16:12:55 2006
+++ SPECS/mozilla-firefox-bin-lang-pl.spec	Sat Dec  2 16:12:50 2006
@@ -0,0 +1,49 @@
+Summary:	Polish resources for Mozilla-firefox
+Summary(pl):	Polskie pliki językowe dla Mozilli-firefox
+Name:		mozilla-firefox-bin-lang-pl
+Version:	2.0
+Release:	1
+License:	GPL
+Group:		X11/Applications/Networking
+Source0:	http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/linux-i686/xpi/pl.xpi
+# Source0-md5:	f17083b5012fc7fbe36fad0b7b440e65
+Source1:	pl-PL.manifest
+URL:		http://www.firefox.pl/
+BuildRequires:	unzip
+Requires(post,postun):	mozilla-firefox-bin >= %{version}
+Requires(post,postun):	textutils
+Requires:	mozilla-firefox-bin >= %{version}
+Provides:	mozilla-firefox-lang-resources = %{version}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_firefoxdir	%{_libdir}/mozilla-firefox-bin
+%define		_chromedir	%{_firefoxdir}/chrome
+
+%description
+Polish resources for Mozilla-firefox.
+
+%description -l pl
+Polskie pliki językowe dla Mozilli-firefox.
+
+%prep
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_chromedir},%{_firefoxdir}/{defaults/profile,searchplugins}}
+
+unzip %{SOURCE0} -d $RPM_BUILD_ROOT%{_libdir}
+mv -f $RPM_BUILD_ROOT%{_libdir}/chrome/pl.jar $RPM_BUILD_ROOT%{_chromedir}/pl-PL.jar
+mv -f $RPM_BUILD_ROOT%{_libdir}/chrome/* $RPM_BUILD_ROOT%{_chromedir}
+mv -f $RPM_BUILD_ROOT%{_libdir}/*.rdf $RPM_BUILD_ROOT%{_firefoxdir}/defaults/profile
+
+install %{SOURCE1} $RPM_BUILD_ROOT%{_chromedir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_chromedir}/pl-PL.jar
+%{_chromedir}/pl-PL.manifest
+%{_firefoxdir}/defaults/profile/*.rdf
+
================================================================


More information about the pld-cvs-commit mailing list