SPECS: mozilla-firefox-lang-fr.spec (NEW) - init

spider spider at pld-linux.org
Fri Apr 21 12:43:21 CEST 2006


Author: spider                       Date: Fri Apr 21 10:43:21 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- init

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

---- Diffs:

================================================================
Index: SPECS/mozilla-firefox-lang-fr.spec
diff -u /dev/null SPECS/mozilla-firefox-lang-fr.spec:1.1
--- /dev/null	Fri Apr 21 12:43:21 2006
+++ SPECS/mozilla-firefox-lang-fr.spec	Fri Apr 21 12:43:15 2006
@@ -0,0 +1,59 @@
+# $Revision$, $Date$
+Summary:	French resources for Mozilla-firefox
+Summary(pl):	Francuskie pliki językowe dla Mozilli-firefox
+Name:		mozilla-firefox-lang-fr
+Version:	1.5.0.2
+Release:	1
+License:	GPL
+Group:		X11/Applications/Networking
+Source0:	http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/linux-i686/xpi/fr.xpi
+# Source0-md5:	13f9d89c85d445cda63b40d955c9eb99
+URL:		http://www.mozilla.org/
+BuildRequires:	unzip
+Requires(post,postun):	mozilla-firefox >= %{version}
+Requires(post,postun):	textutils
+Requires:	mozilla-firefox >= %{version}
+Provides:	mozilla-firefox-lang-resources = %{version}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_firefoxdir	%{_libdir}/mozilla-firefox
+%define		_chromedir	%{_firefoxdir}/chrome
+
+%description
+French resources for Mozilla-firefox.
+
+%description -l pl
+Francuskie pliki językowe dla Mozilli-firefox.
+
+%prep
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_chromedir},%{_firefoxdir}/defaults/profile}
+
+unzip %{SOURCE0} -d $RPM_BUILD_ROOT%{_libdir}
+mv -f $RPM_BUILD_ROOT%{_libdir}/chrome/* $RPM_BUILD_ROOT%{_chromedir}
+sed -e 's at chrome/fr\.jar at fr.jar@' $RPM_BUILD_ROOT%{_libdir}/chrome.manifest \
+	> $RPM_BUILD_ROOT%{_chromedir}/fr.manifest
+mv -f $RPM_BUILD_ROOT%{_libdir}/*.rdf $RPM_BUILD_ROOT%{_firefoxdir}/defaults/profile
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_chromedir}/fr.jar
+%{_chromedir}/fr.manifest
+# file conflict:
+#%{_firefoxdir}/defaults/profile/*.rdf
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/04/21 10:43:15  spider
+- init
+
+
================================================================


More information about the pld-cvs-commit mailing list