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

sparky sparky at pld-linux.org
Sun Apr 16 22:04:36 CEST 2006


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

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

---- Diffs:

================================================================
Index: SPECS/seamonkey-lang-nb.spec
diff -u /dev/null SPECS/seamonkey-lang-nb.spec:1.1
--- /dev/null	Sun Apr 16 22:04:36 2006
+++ SPECS/seamonkey-lang-nb.spec	Sun Apr 16 22:04:30 2006
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+Summary:	Norwegian resources for SeaMonkey
+Summary(pl):	Norweskie pliki językowe dla SeaMonkeya
+Name:		seamonkey-lang-nb
+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}.nb-NO.langpack.xpi
+# Source0-md5:	935b8004f94a8febefdf78d6a022bb43
+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
+Norwegian resources for SeaMonkey.
+
+%description -l pl
+Norweskie pliki językowe dla SeaMonkeya.
+
+%prep
+%setup -q -c -T
+unzip %{SOURCE0}
+install %{SOURCE1} .
+./gen-installed-chrome.sh locale bin/chrome/{NO,nb-NO,nb-unix}.jar > lang-nb-installed-chrome.txt
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_chromedir}
+
+install bin/chrome/{NO,nb-NO,nb-unix}.jar $RPM_BUILD_ROOT%{_chromedir}
+install lang-nb-installed-chrome.txt $RPM_BUILD_ROOT%{_chromedir}
+cp -r bin/defaults $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}/nb-NO.jar
+%{_chromedir}/nb-unix.jar
+%{_chromedir}/NO.jar
+%{_chromedir}/lang-nb-installed-chrome.txt
+%{_datadir}/seamonkey/defaults/messenger/NO
+%{_datadir}/seamonkey/defaults/profile/NO
+
+%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 20:04:30  sparky
+- NEW, builds and works
+
================================================================


More information about the pld-cvs-commit mailing list