SPECS: iceape-lang-be.spec (NEW), iceape-lang-ca.spec (NEW), iceape-lang-cs...

hawk hawk at pld-linux.org
Thu Jun 26 15:15:36 CEST 2008


Author: hawk                         Date: Thu Jun 26 13:15:36 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- language pack for Iceape

---- Files affected:
SPECS:
   iceape-lang-be.spec (NONE -> 1.1)  (NEW), iceape-lang-ca.spec (NONE -> 1.1)  (NEW), iceape-lang-cs.spec (NONE -> 1.1)  (NEW), iceape-lang-de.spec (NONE -> 1.1)  (NEW), iceape-lang-es.spec (NONE -> 1.1)  (NEW), iceape-lang-fr.spec (NONE -> 1.1)  (NEW), iceape-lang-it.spec (NONE -> 1.1)  (NEW), iceape-lang-ja.spec (NONE -> 1.1)  (NEW), iceape-lang-pl.spec (NONE -> 1.1)  (NEW), iceape-lang-pt.spec (NONE -> 1.1)  (NEW), iceape-lang-ru.spec (NONE -> 1.1)  (NEW), iceape-lang-sv.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/iceape-lang-be.spec
diff -u /dev/null SPECS/iceape-lang-be.spec:1.1
--- /dev/null	Thu Jun 26 15:15:36 2008
+++ SPECS/iceape-lang-be.spec	Thu Jun 26 15:15:24 2008
@@ -0,0 +1,81 @@
+# $Revision$, $Date$
+%define	_lang	be
+%define	_reg	BY
+%define	_lare	%{_lang}-%{_reg}
+Summary:	Belarusian resources for Iceape
+Summary(pl.UTF-8):	Białoruskie pliki językowe dla Iceape
+Name:		iceape-lang-%{_lang}
+Version:	1.1.9
+Release:	1
+License:	GPL
+Group:		I18n
+Source0:	http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/contrib-localized/seamonkey-%{version}.%{_lare}.langpack.xpi
+# Source0-md5:	2178dd66b34dd78ef8e3ba2bddbd9da0
+Source1:	gen-installed-chrome.sh
+URL:		http://www.seamonkey-project.org/
+BuildRequires:	sed >= 4.0
+BuildRequires:	unzip
+BuildRequires:	zip
+Requires(post,postun):	iceape >= %{version}
+Requires(post,postun):	textutils
+Requires:	iceape >= %{version}
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define	_chromedir	%{_datadir}/iceape/chrome
+
+%description
+Belarusuian resources for Iceape.
+
+%description -l pl.UTF-8
+Białoruskie pliki językowe dla Iceape.
+
+%prep
+%setup -q -c
+install %{SOURCE1} .
+./gen-installed-chrome.sh locale bin/chrome/{%{_reg},%{_lare},%{_lang}-unix}.jar \
+	> lang-%{_lang}-installed-chrome.txt
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_chromedir}
+
+install bin/chrome/{%{_reg},%{_lare},%{_lang}-unix}.jar $RPM_BUILD_ROOT%{_chromedir}
+install lang-%{_lang}-installed-chrome.txt $RPM_BUILD_ROOT%{_chromedir}
+
+# rebrand locale for iceape
+cd $RPM_BUILD_ROOT%{_chromedir}
+unzip %{_lare}.jar locale/%{_lare}/branding/brand.dtd locale/%{_lare}/branding/brand.properties \
+	locale/%{_lare}/communicator/search/default.htm
+sed -i -e 's/SeaMonkey/Iceape/g;' locale/%{_lare}/branding/brand.dtd \
+	locale/%{_lare}/branding/brand.properties locale/%{_lare}/communicator/search/default.htm
+zip -0 %{_lare}.jar locale/%{_lare}/branding/brand.dtd locale/%{_lare}/branding/brand.properties \
+	locale/%{_lare}/communicator/search/default.htm
+rm -f locale/%{_lare}/branding/brand.dtd locale/%{_lare}/branding/brand.properties \
+	locale/%{_lare}/communicator/search/default.htm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%{_sbindir}/iceape-chrome+xpcom-generate
+
+%postun
+%{_sbindir}/iceape-chrome+xpcom-generate
+
+%files
+%defattr(644,root,root,755)
+%{_chromedir}/%{_reg}.jar
+%{_chromedir}/%{_lare}.jar
+%{_chromedir}/%{_lang}-unix.jar
+%{_chromedir}/lang-%{_lang}-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  2008/06/26 13:15:24  hawk
+- language pack for Iceape
+

================================================================
Index: SPECS/iceape-lang-ca.spec
diff -u /dev/null SPECS/iceape-lang-ca.spec:1.1
--- /dev/null	Thu Jun 26 15:15:36 2008
+++ SPECS/iceape-lang-ca.spec	Thu Jun 26 15:15:24 2008
@@ -0,0 +1,99 @@
+# $Revision$, $Date$
+%define	_lang	ca
+%define	_reg	AD
+%define _lare	%{_lang}-%{_reg}
+Summary:	Catalan resources for Iceape
+Summary(ca.UTF-8):	Recursos catalans per a Iceape
+Summary(es.UTF-8):	Recursos catalanes para Iceape
+Summary(pl.UTF-8):	Katalońskie pliki językowe dla Iceape
+Name:		iceape-lang-%{_lang}
+Version:	1.1.8
+Release:	1
+License:	GPL
+Group:		I18n
+Source0:	http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/contrib-localized/seamonkey-%{version}.%{_lare}.langpack.xpi
+# Source0-md5:	74bca0656f23c992f2055e57e996053a
+Source1:	http://www.mozilla-enigmail.org/download/release/0.95/enigmail-%{_lare}-0.95.xpi
+# Source1-md5:	81b64164c89ba771886f1e2c0d8d7044
+Source2:	gen-installed-chrome.sh
+URL:		http://www.seamonkey-project.org/
+BuildRequires:	sed >= 4.0
+BuildRequires:	unzip
+BuildRequires:	zip
+Requires(post,postun):	iceape >= %{version}
+Requires(post,postun):	textutils
+Requires:	iceape >= %{version}
+Obsoletes:	mozilla-lang-ca
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define	_chromedir	%{_datadir}/iceape/chrome
+
+%description
+Catalan resources for Iceape.
+
+%description -l ca.UTF-8
+Recursos catalans per a Iceape.
+
+%description -l es.UTF-8
+Recursos catalanes para Iceape.
+
+%description -l pl.UTF-8
+Katalońskie pliki językowe dla Iceape.
+
+%prep
+%setup -qc
+%{__unzip} -o -qq %{SOURCE1}
+install %{SOURCE2} .
+./gen-installed-chrome.sh locale \
+	chrome/{%{_reg},%{_lare},%{_lang}-unix,enigmail-%{_lare}}.jar \
+		> lang-%{_lang}-installed-chrome.txt
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_chromedir}
+
+install chrome/{%{_reg},%{_lare},%{_lang}-unix,enigmail-%{_lare}}.jar \
+	$RPM_BUILD_ROOT%{_chromedir}
+install lang-%{_lang}-installed-chrome.txt $RPM_BUILD_ROOT%{_chromedir}
+cp -r searchplugins defaults $RPM_BUILD_ROOT%{_datadir}/iceape
+
+# rebrand locale for iceape
+cd $RPM_BUILD_ROOT%{_chromedir}
+unzip %{_lare}.jar locale/%{_lare}/branding/brand.dtd locale/%{_lare}/branding/brand.properties \
+	locale/%{_lare}/communicator/search/default.htm
+sed -i -e 's/SeaMonkey/Iceape/g;' locale/%{_lare}/branding/brand.dtd \
+	locale/%{_lare}/branding/brand.properties locale/%{_lare}/communicator/search/default.htm
+zip -0 %{_lare}.jar locale/%{_lare}/branding/brand.dtd locale/%{_lare}/branding/brand.properties \
+	locale/%{_lare}/communicator/search/default.htm
+rm -f locale/%{_lare}/branding/brand.dtd locale/%{_lare}/branding/brand.properties \
+	locale/%{_lare}/communicator/search/default.htm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%{_sbindir}/iceape-chrome+xpcom-generate
+
+%postun
+%{_sbindir}/iceape-chrome+xpcom-generate
+
+%files
+%defattr(644,root,root,755)
+%{_chromedir}/%{_reg}.jar
+%{_chromedir}/%{_lare}.jar
+%{_chromedir}/%{_lang}-unix.jar
+%{_chromedir}/enigmail-%{_lare}.jar
+%{_chromedir}/lang-%{_lang}-installed-chrome.txt
+%{_datadir}/iceape/searchplugins/*
+%{_datadir}/iceape/defaults/profile/%{_reg}
+
+%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  2008/06/26 13:15:24  hawk
+- language pack for Iceape
+

================================================================
Index: SPECS/iceape-lang-cs.spec
diff -u /dev/null SPECS/iceape-lang-cs.spec:1.1
--- /dev/null	Thu Jun 26 15:15:36 2008
+++ SPECS/iceape-lang-cs.spec	Thu Jun 26 15:15:24 2008
@@ -0,0 +1,88 @@
+# $Revision$, $Date$
+%define	_lang	cs
+%define	_reg	CZ
+%define	_lare	%{_lang}-%{_reg}
+Summary:	Czech resources for Iceape
+Summary(pl.UTF-8):	Czeskie pliki językowe dla Iceape
+Name:		iceape-lang-%{_lang}
+Version:	1.1.9
+Release:	1
+License:	MPL 1.1 or GPL v2+ or LGPL v2.1+
+Group:		I18n
+Source0:	http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/contrib-localized/seamonkey-%{version}.%{_lare}.langpack.xpi
+# Source0-md5:	585ae33ad6742fccee0f3a6b59c97c79
+Source1:	http://www.mozilla-enigmail.org/download/release/0.95/enigmail-%{_lare}-0.95.xpi
+# Source1-md5:	f98746180b2bdb9c2bd58dfbc270a1d3
+Source2:	gen-installed-chrome.sh
+URL:		http://www.seamonkey-project.org/
+BuildRequires:	unzip
+BuildRequires:	util-linux
+Requires(post,postun):	iceape >= %{version}
+Requires(post,postun):	textutils
+Requires:	iceape >= %{version}
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define	_chromedir	%{_datadir}/iceape/chrome
+
+%description
+Czech resources for Iceape.
+
+%description -l pl.UTF-8
+Czeskie pliki językowe dla Iceape.
+
+%prep
+%setup -q -c
+%{__unzip} -o -qq %{SOURCE1}
+install %{SOURCE2} .
+./gen-installed-chrome.sh locale chrome/{%{_reg},%{_lare},%{_lang}-unix}.jar \
+	> lang-%{_lang}-installed-chrome.txt
+./gen-installed-chrome.sh locale chrome/enigmail-%{_lare}.jar \
+	>> lang-%{_lang}-installed-chrome.txt
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_chromedir}
+
+install chrome/{%{_reg},%{_lare},%{_lang}-unix}.jar $RPM_BUILD_ROOT%{_chromedir}
+install chrome/enigmail-%{_lare}.jar $RPM_BUILD_ROOT%{_chromedir}
+install lang-%{_lang}-installed-chrome.txt $RPM_BUILD_ROOT%{_chromedir}
+
+# rebrand locale for iceape
+cd $RPM_BUILD_ROOT%{_chromedir}
+unzip %{_lare}.jar locale/%{_lare}/branding/brand.dtd locale/%{_lare}/branding/brand.properties \
+	locale/%{_lare}/global/netError.dtd locale/%{_lare}/global/appstrings.properties
+sed -i -e 's/SeaMonkey/Iceape/g;' locale/%{_lare}/branding/brand.dtd \
+	locale/%{_lare}/branding/brand.properties locale/%{_lare}/global/netError.dtd \
+	locale/%{_lare}/global/appstrings.properties
+zip -0 %{_lare}.jar locale/%{_lare}/branding/brand.dtd locale/%{_lare}/branding/brand.properties \
+	locale/%{_lare}/global/netError.dtd locale/%{_lare}/global/appstrings.properties
+rm -f locale/%{_lare}/branding/brand.dtd locale/%{_lare}/branding/brand.properties \
+	locale/%{_lare}/global/netError.dtd locale/%{_lare}/global/appstrings.properties
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%{_sbindir}/iceape-chrome+xpcom-generate
+
+%postun
+%{_sbindir}/iceape-chrome+xpcom-generate
+
+%files
+%defattr(644,root,root,755)
+%{_chromedir}/%{_reg}.jar
+%{_chromedir}/%{_lare}.jar
+%{_chromedir}/%{_lang}-unix.jar
+%{_chromedir}/enigmail-%{_lare}.jar
+%{_chromedir}/lang-%{_lang}-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  2008/06/26 13:15:24  hawk
+- language pack for Iceape
+

================================================================
Index: SPECS/iceape-lang-de.spec
diff -u /dev/null SPECS/iceape-lang-de.spec:1.1
--- /dev/null	Thu Jun 26 15:15:37 2008
+++ SPECS/iceape-lang-de.spec	Thu Jun 26 15:15:24 2008
@@ -0,0 +1,89 @@
+# $Revision$, $Date$
+%define	_lang	de
+%define	_reg	AT
+%define	_lare	%{_lang}-%{_reg}
+Summary:	German resources for Iceape
+Summary(pl.UTF-8):	Niemieckie pliki językowe dla Iceape
+Name:		iceape-lang-%{_lang}
+Version:	1.1.9
+Release:	1
+License:	MPL 1.1 or GPL v2+ or LGPL v2.1+
+Group:		I18n
+Source0:	http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/contrib-localized/seamonkey-%{version}.%{_lare}.langpack.xpi
+# Source0-md5:	b4bd83078cbfaa610897c691a5d5e4f4
+Source1:	http://www.mozilla-enigmail.org/download/release/0.95/enigmail-de-0.95.xpi
+# Source1-md5:	7b363f97e6873f44c835735a7b02620f
+Source2:	gen-installed-chrome.sh
+URL:		http://www.seamonkey-project.org/
+BuildRequires:	unzip
+Requires(post,postun):	iceape >= %{version}
+Requires(post,postun):	textutils
+Requires:	iceape >= %{version}
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define	_chromedir	%{_datadir}/iceape/chrome
+
+%description
+German resources for Iceape.
+
+%description -l pl.UTF-8
+Niemieckie pliki językowe dla Iceape.
+
+%prep
+%setup -q -c
+%{__unzip} -o -qq %{SOURCE1}
+install %{SOURCE2} .
+./gen-installed-chrome.sh locale chrome/{%{_reg},%{_lare},%{_lang}-unix,enigmail-DE}.jar \
+	> lang-%{_lang}-installed-chrome.txt
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_chromedir}
+
+install chrome/{%{_reg},%{_lare},%{_lang}-unix,enigmail-DE}.jar $RPM_BUILD_ROOT%{_chromedir}
+install lang-%{_lang}-installed-chrome.txt $RPM_BUILD_ROOT%{_chromedir}
+cp -r defaults dictionaries searchplugins $RPM_BUILD_ROOT%{_datadir}/iceape
+rm $RPM_BUILD_ROOT%{_datadir}/iceape/dictionaries/LICENSE.TXT
+
+# rebrand locale for iceape
+cd $RPM_BUILD_ROOT%{_chromedir}
+unzip %{_lare}.jar locale/%{_lare}/branding/brand.dtd locale/%{_lare}/branding/brand.properties \
+	locale/%{_lare}/communicator/search/default.htm
+sed -i -e 's/SeaMonkey/Iceape/g;' locale/%{_lare}/branding/brand.dtd \
+	locale/%{_lare}/branding/brand.properties locale/%{_lare}/communicator/search/default.htm
+zip -0 %{_lare}.jar locale/%{_lare}/branding/brand.dtd locale/%{_lare}/branding/brand.properties \
+	locale/%{_lare}/communicator/search/default.htm
+rm -f locale/%{_lare}/branding/brand.dtd locale/%{_lare}/branding/brand.properties \
+	locale/%{_lare}/communicator/search/default.htm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%{_sbindir}/iceape-chrome+xpcom-generate
+
+%postun
+%{_sbindir}/iceape-chrome+xpcom-generate
+
+%files
+%defattr(644,root,root,755)
+%{_chromedir}/%{_reg}.jar
+%{_chromedir}/%{_lare}.jar
+%{_chromedir}/%{_lang}-unix.jar
+%{_chromedir}/enigmail-DE.jar
+%{_chromedir}/lang-%{_lang}-installed-chrome.txt
+%{_datadir}/iceape/searchplugins/*
+%{_datadir}/iceape/defaults/messenger/%{_reg}
+%{_datadir}/iceape/defaults/profile/%{_reg}
+%{_datadir}/iceape/dictionaries/*
+
+%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  2008/06/26 13:15:24  hawk
+- language pack for Iceape
+

================================================================
Index: SPECS/iceape-lang-es.spec
diff -u /dev/null SPECS/iceape-lang-es.spec:1.1
--- /dev/null	Thu Jun 26 15:15:37 2008
+++ SPECS/iceape-lang-es.spec	Thu Jun 26 15:15:24 2008
@@ -0,0 +1,90 @@
+# $Revision$, $Date$
+%define	_lang	es
+%define	_reg	ES
+%define	_lare	%{_lang}-%{_reg}
+Summary:	Spanish resources for Iceape
+Summary(ca.UTF-8):	Recursos espanyols per a Iceape
+Summary(es.UTF-8):	Recursos españoles para Iceape
+Summary(pl.UTF-8):	Hiszpańskie pliki językowe dla Iceape
+Name:		iceape-lang-es
+Version:	1.1.8
+Release:	1
+License:	MPL 1.1 or GPL v2+ or LGPL v2.1+
+Group:		I18n
+Source0:	http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/contrib-localized//seamonkey-%{version}.%{_lare}.langpack.xpi
+# Source0-md5:	070b78485e6ad54e48acec03587fd128
+Source1:	http://www.mozilla-enigmail.org/download/release/0.95/enigmail-%{_lare}-0.95.xpi
+# Source1-md5:	b4600f86bce0ab816bb2896a936eecaa
+Source2:	gen-installed-chrome.sh
+URL:		http://www.seamonkey-project.org/
+BuildRequires:	unzip
+Requires(post,postun):	iceape >= %{version}
+Requires(post,postun):	textutils
+Requires:	iceape >= %{version}
+Obsoletes:	mozilla-lang-es
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define	_chromedir	%{_datadir}/iceape/chrome
+
+%description
+Spanish resources for Iceape.
+
+%description -l ca.UTF-8
+Recursos espanyols per a Iceape.
+
+%description -l es.UTF-8
+Recursos españoles para Iceape.
+
+%description -l pl.UTF-8
+Hiszpańskie pliki językowe dla Iceape.
+
+%prep
+%setup -q -c
+%{__unzip} -o -qq %{SOURCE1}
+install %{SOURCE2} .
+./gen-installed-chrome.sh locale \
+	chrome/{%{_lare},%{_lang}-unix,enigmail-%{_lare}}.jar \
+		> lang-%{_lang}-installed-chrome.txt
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_chromedir}
+
+install chrome/{%{_lare},%{_lang}-unix,enigmail-%{_lare}}.jar \
+	$RPM_BUILD_ROOT%{_chromedir}
+install lang-%{_lang}-installed-chrome.txt $RPM_BUILD_ROOT%{_chromedir}
+
+# rebrand locale for iceape
+cd $RPM_BUILD_ROOT%{_chromedir}
+unzip %{_lare}.jar locale/%{_lare}/branding/brand.dtd locale/%{_lare}/branding/brand.properties
+sed -i -e 's/SeaMonkey/Iceape/g;' locale/%{_lare}/branding/brand.dtd \
+	locale/%{_lare}/branding/brand.properties
+zip -0 %{_lare}.jar locale/%{_lare}/branding/brand.dtd locale/%{_lare}/branding/brand.properties
+rm -f locale/%{_lare}/branding/brand.dtd locale/%{_lare}/branding/brand.properties
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%{_sbindir}/iceape-chrome+xpcom-generate
+
+%postun
+%{_sbindir}/iceape-chrome+xpcom-generate
+
+%files
+%defattr(644,root,root,755)
+%{_chromedir}/%{_lare}.jar
+%{_chromedir}/%{_lang}-unix.jar
+%{_chromedir}/enigmail-%{_lare}.jar
+%{_chromedir}/lang-%{_lang}-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  2008/06/26 13:15:24  hawk
+- language pack for Iceape
+

================================================================
Index: SPECS/iceape-lang-fr.spec
diff -u /dev/null SPECS/iceape-lang-fr.spec:1.1
--- /dev/null	Thu Jun 26 15:15:37 2008
+++ SPECS/iceape-lang-fr.spec	Thu Jun 26 15:15:24 2008
@@ -0,0 +1,92 @@
+# $Revision$, $Date$
+%define	_lang	fr
+%define	_reg	FR
+%define	_lare	%{_lang}-%{_reg}
+Summary:	French resources for Iceape
+Summary(pl.UTF-8):	Francuskie pliki językowe dla Iceape
+Name:		iceape-lang-%{_lang}
+Version:	1.1.9
+Release:	1
+License:	MPL 1.1 or GPL v2+ or LGPL v2.1+
+Group:		I18n
+Source0:	http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/contrib-localized/seamonkey-%{version}.%{_lare}.langpack.xpi
+# Source0-md5:	6374c46187176c361fb4b7492272fd47
+Source1:	http://www.mozilla-enigmail.org/download/release/0.95/enigmail-%{_lare}-0.95.xpi
+# Source1-md5:	8f4c3c346cdaa6b8f9a698625bd598c6
+Source2:	gen-installed-chrome.sh
+URL:		http://www.seamonkey-project.org/
+BuildRequires:	unzip
+Requires(post,postun):	iceape >= %{version}
+Requires(post,postun):	textutils
+Requires:	iceape >= %{version}
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define	_chromedir	%{_datadir}/iceape/chrome
+
+%description
+French resources for Iceape.
+
+%description -l pl.UTF-8
+Francuskie pliki językowe dla Iceape.
+
+%prep
+%setup -q -c
+%{__unzip} -o -qq %{SOURCE1}
+install %{SOURCE2} .
+./gen-installed-chrome.sh locale bin/chrome/{%{_reg},%{_lare},%{_lang}-unix}.jar \
+	> lang-%{_lang}-installed-chrome.txt
+./gen-installed-chrome.sh locale chrome/enigmail-%{_lare}.jar \
+	>> lang-%{_lang}-installed-chrome.txt
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_chromedir}
+
+install bin/chrome/{%{_reg},%{_lare},%{_lang}-unix}.jar $RPM_BUILD_ROOT%{_chromedir}
+install chrome/enigmail-%{_lare}.jar $RPM_BUILD_ROOT%{_chromedir}
+install lang-%{_lang}-installed-chrome.txt $RPM_BUILD_ROOT%{_chromedir}
+cp -r bin/{defaults,searchplugins} $RPM_BUILD_ROOT%{_datadir}/iceape
+
+# rebrand locale for iceape
+cd $RPM_BUILD_ROOT%{_chromedir}
+unzip %{_lare}.jar locale/%{_lare}/branding/brand.dtd locale/%{_lare}/branding/brand.properties \
+	locale/%{_lare}/communicator/search/default.htm
+sed -i -e 's/SeaMonkey/Iceape/g;' locale/%{_lare}/branding/brand.dtd \
+	locale/%{_lare}/branding/brand.properties locale/%{_lare}/communicator/search/default.htm
+zip -0 %{_lare}.jar locale/%{_lare}/branding/brand.dtd locale/%{_lare}/branding/brand.properties \
+	locale/%{_lare}/communicator/search/default.htm
+rm -f locale/%{_lare}/branding/brand.dtd locale/%{_lare}/branding/brand.properties \
+	locale/%{_lare}/communicator/search/default.htm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%{_sbindir}/iceape-chrome+xpcom-generate
+
+%postun
+%{_sbindir}/iceape-chrome+xpcom-generate
+
+%files
+%defattr(644,root,root,755)
+%{_chromedir}/%{_lare}.jar
+%{_chromedir}/%{_lang}-unix.jar
+%{_chromedir}/%{_reg}.jar
+%{_chromedir}/enigmail-%{_lare}.jar
+%{_chromedir}/lang-%{_lang}-installed-chrome.txt
+%{_datadir}/iceape/searchplugins/googlefr.*
+# dir not provided
+#%{_datadir}/iceape/defaults/isp/%{_reg}
+%{_datadir}/iceape/defaults/messenger/%{_reg}
+%{_datadir}/iceape/defaults/profile/%{_reg}
+
+%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  2008/06/26 13:15:24  hawk
+- language pack for Iceape
+

================================================================
Index: SPECS/iceape-lang-it.spec
diff -u /dev/null SPECS/iceape-lang-it.spec:1.1
--- /dev/null	Thu Jun 26 15:15:37 2008
+++ SPECS/iceape-lang-it.spec	Thu Jun 26 15:15:24 2008
@@ -0,0 +1,82 @@
+# $Revision$, $Date$
+%define	_lang	it
+%define	_reg	IT
+%define	_lare	%{_lang}-%{_reg}
+Summary:	Italian resources for Iceape
+Summary(pl.UTF-8):	Włoskie pliki językowe dla Iceape
+Name:		iceape-lang-%{_lang}
+Version:	1.1.9
+Release:	1
+License:	MPL 1.1 or GPL v2+ or LGPL v2.1+
+Group:		I18n
+Source0:	http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/contrib-localized/seamonkey-%{version}.%{_lare}.langpack.xpi
+# Source0-md5:	8968265f301f468d5d4612b20360347c
+Source1:	http://www.mozilla-enigmail.org/download/release/0.95/enigmail-%{_lare}-0.95.xpi
+# Source1-md5:	613bba3e4d5586b8d02fe6882e0066f1
+Source2:	gen-installed-chrome.sh
<<Diff was trimmed, longer than 597 lines>>


More information about the pld-cvs-commit mailing list