packages: iceweasel-languages/iceweasel-languages.spec - add ca, cs, da, de
glen
glen at pld-linux.org
Fri Nov 6 16:42:11 CET 2009
Author: glen Date: Fri Nov 6 15:42:11 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- add ca,cs,da,de
---- Files affected:
packages/iceweasel-languages:
iceweasel-languages.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/iceweasel-languages/iceweasel-languages.spec
diff -u packages/iceweasel-languages/iceweasel-languages.spec:1.1 packages/iceweasel-languages/iceweasel-languages.spec:1.2
--- packages/iceweasel-languages/iceweasel-languages.spec:1.1 Fri Nov 6 16:26:16 2009
+++ packages/iceweasel-languages/iceweasel-languages.spec Fri Nov 6 16:42:06 2009
@@ -1,14 +1,38 @@
# $Revision$, $Date$
# TODO:
# - do something with *.rdf file, there if file conflict with other lang packages
+# 5 "iceweasel-lang-el.spec" line 0
+# 6 "iceweasel-lang-es.spec" line 0
+# 7 "iceweasel-lang-fi.spec" line 0
+# 8 "iceweasel-lang-fr.spec" line 0
+# 9 "iceweasel-lang-hu.spec" line 0
+# 10 "iceweasel-lang-it.spec" line 0
+# 11 "iceweasel-lang-ja.spec" line 0
+# 12 "iceweasel-lang-ka.spec" line 0
+# 13 "iceweasel-lang-ku.spec" line 0
+# 14 "iceweasel-lang-lt.spec" line 0
+# 15 "iceweasel-lang-pl.spec" line 0
+# 16 "iceweasel-lang-ro.spec" line 0
+# 17 "iceweasel-lang-ru.spec" line 0
+# 18 "iceweasel-lang-sk.spec" line 0
+# 19 "iceweasel-lang-sl.spec" line 0
+# 20 "iceweasel-lang-sv.spec" line 0
Summary: Language packs for Iceweasel
Name: iceweasel-languages
Version: 3.5.5
Release: 0.1
License: MPL 1.1 or GPL v2+ or LGPL v2.1+
Group: I18n
-Source0: http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/linux-i686/xpi/pl.xpi
-# Source0-md5: a15635ccfc3fd7ec25a31aeba2842d4b
+Source0: http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/linux-i686/xpi/ca.xpi
+# Source0-md5: 8fd39539b161200f80efed98ed227e9e
+Source1: http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/linux-i686/xpi/cs.xpi
+# Source1-md5: fba8336f735fb47b99b24a59da70f5b4
+Source2: http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/linux-i686/xpi/da.xpi
+# Source2-md5: b6d00eb16403b828d67168dd2c04ba3a
+Source3: http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/linux-i686/xpi/de.xpi
+# Source3-md5: f3329017e32dfa1eb1f0d3429c722baa
+Source4: http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/linux-i686/xpi/pl.xpi
+# Source4-md5: a15635ccfc3fd7ec25a31aeba2842d4b
URL: http://www.mozilla.org/
BuildRequires: sed >= 4.0
BuildRequires: unzip
@@ -22,6 +46,74 @@
%description
Language packs for Iceweasel.
+%package -n iceweasel-lang-ca
+Summary: Catalan resources for Iceweasel
+Summary(ca.UTF-8): Recursos catalans per Iceweasel
+Summary(es.UTF-8): Recursos catalanes para Iceweasel
+Summary(pl.UTF-8): Katalońskie pliki językowe dla Iceweasela
+Group: I18n
+URL: http://www.softcatala.org/projectes/mozilla/
+Requires: iceweasel >= %{version}
+Provides: iceweasel-lang-resources = %{version}
+Obsoletes: mozilla-firefox-lang-ca
+
+%description -n iceweasel-lang-ca
+Catalan resources for Iceweasel.
+
+%description -n iceweasel-lang-ca -l ca.UTF-8
+Recursos catalans per Iceweasel.
+
+%description -n iceweasel-lang-ca -l es.UTF-8
+Recursos catalanes para Iceweasel.
+
+%description -n iceweasel-lang-ca -l pl.UTF-8
+Katalońskie pliki językowe dla Iceweasela.
+
+%package -n iceweasel-lang-cs
+Summary: Czech resources for Iceweasel
+Summary(pl.UTF-8): Czeskie pliki językowe dla Iceweasela
+Group: I18n
+URL: http://www.mozilla.org/
+Requires: iceweasel >= %{version}
+Provides: iceweasel-lang-resources = %{version}
+Obsoletes: mozilla-firefox-lang-cs
+
+%description -n iceweasel-lang-cs
+Czech resources for Iceweasel.
+
+%description -n iceweasel-lang-cs -l pl.UTF-8
+Czeskie pliki językowe dla Iceweasela.
+
+%package -n iceweasel-lang-da
+Summary: Danish resources for Iceweasel
+Summary(pl.UTF-8): Duńskie pliki językowe dla Iceweasela
+Group: I18n
+URL: http://www.mozilla.org/
+Requires: iceweasel >= %{version}
+Provides: iceweasel-lang-resources = %{version}
+Obsoletes: mozilla-firefox-lang-da
+
+%description -n iceweasel-lang-da
+Danish resources for Iceweasel.
+
+%description -n iceweasel-lang-da -l pl.UTF-8
+Duńskie pliki językowe dla Iceweasela.
+
+%package -n iceweasel-lang-de
+Summary: German resources for Iceweasel
+Summary(pl.UTF-8): Niemieckie pliki językowe dla Iceweasela
+Group: I18n
+URL: http://www.mozilla.org/
+Requires: iceweasel >= %{version}
+Provides: iceweasel-lang-resources = %{version}
+Obsoletes: mozilla-firefox-lang-de
+
+%description -n iceweasel-lang-de
+German resources for Iceweasel.
+
+%description -n iceweasel-lang-de -l pl.UTF-8
+Niemieckie pliki językowe dla Iceweasela.
+
%package -n iceweasel-lang-pl
Summary: Polish resources for Iceweasel
Summary(pl.UTF-8): Polskie pliki językowe dla Iceweasela
@@ -47,7 +139,7 @@
cd $lang
install -d defaults/profile
sed -i -e "s at chrome/$lang@$locale@" chrome.manifest
- mv chrome/$lang.jar chrome/$locale.jar
+ [ $lang = $locale ] || mv chrome/$lang.jar chrome/$locale.jar
mv chrome.manifest chrome/$locale.manifest
mv install.rdf defaults/profile
@@ -62,9 +154,13 @@
}
%define __unzip unpack
cat <<'EOF' > locales.txt
+ca ca-ES
+cs cs
+da da
+de de
pl pl-PL
EOF
-%setup -qcT %(seq -f '-a %g' 0 0 | xargs)
+%setup -qcT %(seq -f '-a %g' 0 4 | xargs)
%install
rm -rf $RPM_BUILD_ROOT
@@ -76,6 +172,26 @@
%clean
rm -rf $RPM_BUILD_ROOT
+%files -n iceweasel-lang-ca
+%defattr(644,root,root,755)
+%{chromedir}/ca-ES.jar
+%{chromedir}/ca-ES.manifest
+
+%files -n iceweasel-lang-cs
+%defattr(644,root,root,755)
+%{chromedir}/cs.jar
+%{chromedir}/cs.manifest
+
+%files -n iceweasel-lang-da
+%defattr(644,root,root,755)
+%{chromedir}/da.jar
+%{chromedir}/da.manifest
+
+%files -n iceweasel-lang-de
+%defattr(644,root,root,755)
+%{chromedir}/de.jar
+%{chromedir}/de.manifest
+
%files -n iceweasel-lang-pl
%defattr(644,root,root,755)
%{chromedir}/pl-PL.jar
@@ -87,5 +203,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2009/11/06 15:42:06 glen
+- add ca,cs,da,de
+
Revision 1.1 2009/11/06 15:26:16 glen
- single spec to build all languages
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/iceweasel-languages/iceweasel-languages.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list