SPECS: mozilla-firefox-lang-ro.spec (NEW) - new from 2.0.0.8

glen glen at pld-linux.org
Sat Oct 27 17:36:03 CEST 2007


Author: glen                         Date: Sat Oct 27 15:36:03 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new from 2.0.0.8

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

---- Diffs:

================================================================
Index: SPECS/mozilla-firefox-lang-ro.spec
diff -u /dev/null SPECS/mozilla-firefox-lang-ro.spec:1.1
--- /dev/null	Sat Oct 27 17:36:03 2007
+++ SPECS/mozilla-firefox-lang-ro.spec	Sat Oct 27 17:35:58 2007
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+%define		_lang		ro
+Summary:	Romanian resources for Mozilla-firefox
+Name:		mozilla-firefox-lang-%{_lang}
+Version:	2.0.0.8
+Release:	1
+License:	GPL
+Group:		X11/Applications/Networking
+Source0:	http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/linux-i686/xpi/%{_lang}.xpi
+# Source0-md5:	091d668d56294ed239242ff5e7185b28
+BuildRequires:	unzip
+Requires:	mozilla-firefox >= %{version}
+Provides:	mozilla-firefox-lang-resources = %{version}
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_firefoxdir	%{_datadir}/mozilla-firefox
+%define		_chromedir	%{_firefoxdir}/chrome
+
+%description
+Romanian resources for Mozilla-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/%{_lang}\.jar@%{_lang}.jar@' $RPM_BUILD_ROOT%{_libdir}/chrome.manifest \
+	> $RPM_BUILD_ROOT%{_chromedir}/%{_lang}.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}/%{_lang}.jar
+%{_chromedir}/%{_lang}.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  2007/10/27 15:35:58  glen
+- new from 2.0.0.8
+
+Revision 1.1  2007/10/27 15:33:27  glen
+- new from 2.0.0.8
+
================================================================


More information about the pld-cvs-commit mailing list