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

spider spider at pld-linux.org
Fri Apr 21 13:22:50 CEST 2006


Author: spider                       Date: Fri Apr 21 11:22:50 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- init

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

---- Diffs:

================================================================
Index: SPECS/mozilla-firefox-lang-ru.spec
diff -u /dev/null SPECS/mozilla-firefox-lang-ru.spec:1.1
--- /dev/null	Fri Apr 21 13:22:50 2006
+++ SPECS/mozilla-firefox-lang-ru.spec	Fri Apr 21 13:22:45 2006
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+
+%define         _lang		ru
+
+Summary:	Russian resources for Mozilla-firefox
+Summary(pl):	Rosyjskie pliki językowe dla Mozilli-firefox
+Name:		mozilla-firefox-lang-%{_lang}
+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/%{_lang}.xpi
+# Source0-md5:	81c5829683a607591a7e414e5564f3d9
+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
+Russian resources for Mozilla-firefox.
+
+%description -l pl
+Rosyjskie 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/%{_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  2006/04/21 11:22:45  spider
+- init
+
================================================================


More information about the pld-cvs-commit mailing list