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

spider spider at pld-linux.org
Fri Apr 21 13:42:53 CEST 2006


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

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

---- Diffs:

================================================================
Index: SPECS/mozilla-firefox-lang-lt.spec
diff -u /dev/null SPECS/mozilla-firefox-lang-lt.spec:1.1
--- /dev/null	Fri Apr 21 13:42:53 2006
+++ SPECS/mozilla-firefox-lang-lt.spec	Fri Apr 21 13:42:48 2006
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+
+%define         _lang		lt
+
+Summary:	Lithuanian resources for Mozilla-firefox
+Summary(pl):	Litewskie 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:	5958ec09097c80201ad4e5881e944891
+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
+Lithuanian resources for Mozilla-firefox.
+
+%description -l pl
+Litewskie 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:42:48  spider
+- init
+
================================================================


More information about the pld-cvs-commit mailing list