SPECS: seamonkey-lang-be.spec (NEW) - NEW, builds and works

sparky sparky at pld-linux.org
Sun Apr 16 20:36:09 CEST 2006


Author: sparky                       Date: Sun Apr 16 18:36:09 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- NEW, builds and works

---- Files affected:
SPECS:
   seamonkey-lang-be.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/seamonkey-lang-be.spec
diff -u /dev/null SPECS/seamonkey-lang-be.spec:1.1
--- /dev/null	Sun Apr 16 20:36:09 2006
+++ SPECS/seamonkey-lang-be.spec	Sun Apr 16 20:36:04 2006
@@ -0,0 +1,65 @@
+# $Revision$, $Date$
+Summary:	Belarusian resources for SeaMonkey
+Summary(pl):	Bialoruskie pliki językowe dla SeaMonkeya
+Name:		seamonkey-lang-be
+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}.be-BY.langpack.xpi
+# Source0-md5:	ffb6a2f2ba0a6d2aefde3d8a13f272ee
+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
+Belarusuian resources for SeaMonkey.
+
+%description -l pl
+Bialoruskie pliki językowe dla SeaMonkeya.
+
+%prep
+%setup -q -c -T
+unzip %{SOURCE0}
+install %{SOURCE1} .
+./gen-installed-chrome.sh locale bin/chrome/{BY,be-BY,be-unix}.jar > lang-be-installed-chrome.txt
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_chromedir}
+
+install bin/chrome/{BY,be-BY,be-unix}.jar $RPM_BUILD_ROOT%{_chromedir}
+install lang-be-installed-chrome.txt $RPM_BUILD_ROOT%{_chromedir}
+
+%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}/be-BY.jar
+%{_chromedir}/be-unix.jar
+%{_chromedir}/BY.jar
+%{_chromedir}/lang-be-installed-chrome.txt
+
+%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 18:36:04  sparky
+- NEW, builds and works
+
================================================================


More information about the pld-cvs-commit mailing list