SPECS: seamonkey-lang-it.spec (NEW) - NEW, builds and works
sparky
sparky at pld-linux.org
Sun Apr 16 21:53:11 CEST 2006
Author: sparky Date: Sun Apr 16 19:53:11 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- NEW, builds and works
---- Files affected:
SPECS:
seamonkey-lang-it.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/seamonkey-lang-it.spec
diff -u /dev/null SPECS/seamonkey-lang-it.spec:1.1
--- /dev/null Sun Apr 16 21:53:11 2006
+++ SPECS/seamonkey-lang-it.spec Sun Apr 16 21:53:05 2006
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+Summary: Italian resources for SeaMonkey
+Summary(pl): Wloskie pliki językowe dla SeaMonkeya
+Name: seamonkey-lang-it
+Version: 1.0
+Release: 1
+License: GPL
+Group: X11/Applications/Networking
+Source0: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/contrib-localized/seamonkey-%{version}.it-IT.langpack.xpi
+# Source0-md5: aa4b87bf0e834740b8859b052c5b298d
+Source1: gen-installed-chrome.sh
+URL: http://www.mozilla.org/projects/seamonkey/
+BuildRequires: unzip
+Requires(post,postun): seamonkey >= %{version}
+Requires(post,postun): textutils
+Requires: seamonkey >= %{version}
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _chromedir %{_datadir}/seamonkey/chrome
+
+%description
+Italian resources for SeaMonkey.
+
+%description -l pl
+Wloskie pliki językowe dla SeaMonkeya.
+
+%prep
+%setup -q -c -T
+unzip %{SOURCE0}
+install %{SOURCE1} .
+./gen-installed-chrome.sh locale chrome/{IT,it-IT,it-unix}.jar > lang-it-installed-chrome.txt
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_chromedir}
+
+install chrome/{IT,it-IT,it-unix}.jar $RPM_BUILD_ROOT%{_chromedir}
+install lang-it-installed-chrome.txt $RPM_BUILD_ROOT%{_chromedir}
+cp -r defaults searchplugins $RPM_BUILD_ROOT%{_datadir}/seamonkey
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%{_sbindir}/seamonkey-chrome+xpcom-generate
+
+%postun
+%{_sbindir}/seamonkey-chrome+xpcom-generate
+
+%files
+%defattr(644,root,root,755)
+%{_chromedir}/it-IT.jar
+%{_chromedir}/it-unix.jar
+%{_chromedir}/IT.jar
+%{_chromedir}/lang-it-installed-chrome.txt
+%{_datadir}/seamonkey/defaults/profile/it
+%{_datadir}/seamonkey/searchplugins/*
+
+%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/16 19:53:05 sparky
+- NEW, builds and works
+
================================================================
More information about the pld-cvs-commit
mailing list