SPECS: mozilla-thunderbird-lang-pl.spec (NEW) - new, for 1.0.7 for...

qboosh qboosh at pld-linux.org
Thu Feb 2 13:15:28 CET 2006


Author: qboosh                       Date: Thu Feb  2 12:15:28 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, for 1.0.7 for now
  requires firefox-like installed-chrome.txt and mozilla-thunderbird.sh changes
  in mozilla-thunderbird package

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

---- Diffs:

================================================================
Index: SPECS/mozilla-thunderbird-lang-pl.spec
diff -u /dev/null SPECS/mozilla-thunderbird-lang-pl.spec:1.1
--- /dev/null	Thu Feb  2 13:15:28 2006
+++ SPECS/mozilla-thunderbird-lang-pl.spec	Thu Feb  2 13:15:23 2006
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+# TODO:
+#  - do something with *.rdf file, there if file conflict with other lang packages
+#
+Summary:	Polish resources for Mozilla-thunderbird
+Summary(pl):	Polskie pliki językowe dla Mozilli-thunderbird
+Name:		mozilla-thunderbird-lang-pl
+Version:	1.0.7
+Release:	1
+License:	GPL
+Group:		X11/Applications/Networking
+Source0:	http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/pl-PL.xpi
+# Source0-md5:	9cee1e84c9fc9100e47e4c4fbf63003e
+Source1:	%{name}-installed-chrome.txt
+URL:		http://www.firefox.pl/
+BuildRequires:	unzip
+Requires(post,postun):	mozilla-thunderbird >= %{version}
+Requires(post,postun):	textutils
+Requires:	mozilla-thunderbird >= %{version}
+Provides:	mozilla-thunderbird-lang-resources = %{version}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_thunderbirddir	%{_libdir}/mozilla-thunderbird
+%define		_chromedir	%{_thunderbirddir}/chrome
+
+%description
+Polish resources for Mozilla-thunderbird.
+
+%description -l pl
+Polskie pliki językowe dla Mozilli-thunderbird.
+
+%prep
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_chromedir},%{_thunderbirddir}/{defaults/profile,searchplugins}}
+
+unzip %{SOURCE0} -d $RPM_BUILD_ROOT%{_libdir}
+mv -f $RPM_BUILD_ROOT%{_libdir}/chrome/pl*.jar $RPM_BUILD_ROOT%{_chromedir}
+mv -f $RPM_BUILD_ROOT%{_libdir}/*.rdf $RPM_BUILD_ROOT%{_thunderbirddir}/defaults/profile
+
+install %{SOURCE1} $RPM_BUILD_ROOT%{_chromedir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+umask 022
+cat %{_thunderbirddir}/chrome/*-installed-chrome.txt >%{_thunderbirddir}/chrome/installed-chrome.txt
+
+%postun
+umask 022
+cat %{_thunderbirddir}/chrome/*-installed-chrome.txt >%{_thunderbirddir}/chrome/installed-chrome.txt
+
+%files
+%defattr(644,root,root,755)
+%{_chromedir}/pl-langpack.jar
+%{_chromedir}/pl-PL-mail.jar
+%{_chromedir}/%{name}-installed-chrome.txt
+%{_thunderbirddir}/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/02/02 12:15:23  qboosh
+- new, for 1.0.7 for now
+  requires firefox-like installed-chrome.txt and mozilla-thunderbird.sh changes
+  in mozilla-thunderbird package
================================================================


More information about the pld-cvs-commit mailing list