packages: google-chrome/google-chrome.spec - l10n subpackage

glen glen at pld-linux.org
Sun Jun 24 13:07:03 CEST 2012


Author: glen                         Date: Sun Jun 24 11:07:03 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- l10n subpackage

---- Files affected:
packages/google-chrome:
   google-chrome.spec (1.59 -> 1.60) 

---- Diffs:

================================================================
Index: packages/google-chrome/google-chrome.spec
diff -u packages/google-chrome/google-chrome.spec:1.59 packages/google-chrome/google-chrome.spec:1.60
--- packages/google-chrome/google-chrome.spec:1.59	Thu Jun 14 22:00:16 2012
+++ packages/google-chrome/google-chrome.spec	Sun Jun 24 13:06:58 2012
@@ -66,6 +66,19 @@
 a kifinomult technológiával, hogy a webböngészés gyorsabb,
 biztonságosabb és könnyebb legyen.
 
+%package l10n
+Summary:	google chrome language packages
+Group:		I18n
+Requires:	%{name} = %{version}-%{release}
+
+%description l10n
+This package contains language packages for 50 languages:
+
+ar, bg, bn, ca, cs, da, de, el, en-GB, es-LA, es, et, fi, fil, fr, gu,
+he, hi, hr, hu, id, it, ja, kn, ko, lt, lv, ml, mr, nb, nl, or, pl,
+pt-BR, pt-PT, ro, ru, sk, sl, sr, sv, ta, te, th, tr, uk, vi, zh-CN,
+zh-TW
+
 %package -n browser-plugin-chrome-pdf
 Summary:	Chrome PDF Viewer
 Summary(pl.UTF-8):	Wtyczka PDF z Google Chrome
@@ -189,6 +202,8 @@
 
 # find locales
 %find_lang %{name}.lang
+# always package en-US (in main package)
+%{__sed} -i -e '/en-US.pak/d' %{name}.lang
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -254,6 +269,7 @@
 %{_libdir}/%{name}/chrome.pak
 %{_libdir}/%{name}/resources.pak
 %dir %{_libdir}/%{name}/locales
+%{_libdir}/%{name}/locales/en-US.pak
 %dir %{_libdir}/%{name}/plugins
 %{_libdir}/%{name}/default_apps
 %{_libdir}/%{name}/themes
@@ -276,6 +292,9 @@
 %dir /opt/google
 /opt/google/chrome
 
+%files l10n -f %{name}.lang
+%defattr(644,root,root,755)
+
 %files -n browser-plugin-chrome-pdf
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_browserpluginsdir}/libpdf.so
@@ -293,11 +312,14 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.60  2012/06/24 11:06:58  glen
+- l10n subpackage
+
 Revision 1.59  2012/06/14 20:00:16  glen
 - up to 19.0.1084.56
 - adobe flash up to 11.2.202.236; fixes CVE-2012-2034, CVE-2012-2035, CVE-2012-2036,
   CVE-2012-2037, CVE-2012-2038, CVE-2012-2039, CVE-2012-2040
-- adobe flash is not redistributable, i doub't google chrome is either
+- adobe flash is not redistributable, i doubt google chrome is either
 
 Revision 1.58  2012/06/07 19:05:57  glen
 - use ln -f for clean upgrade replacing file with link
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/google-chrome/google-chrome.spec?r1=1.59&r2=1.60



More information about the pld-cvs-commit mailing list