packages: kde4-koffice-l10n/kde4-koffice-l10n.spec - add more langs - now i...

shadzik shadzik at pld-linux.org
Mon May 17 03:09:16 CEST 2010


Author: shadzik                      Date: Mon May 17 01:09:16 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add more langs
- now it's ready

---- Files affected:
packages/kde4-koffice-l10n:
   kde4-koffice-l10n.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/kde4-koffice-l10n/kde4-koffice-l10n.spec
diff -u packages/kde4-koffice-l10n/kde4-koffice-l10n.spec:1.2 packages/kde4-koffice-l10n/kde4-koffice-l10n.spec:1.3
--- packages/kde4-koffice-l10n/kde4-koffice-l10n.spec:1.2	Mon May 17 02:34:27 2010
+++ packages/kde4-koffice-l10n/kde4-koffice-l10n.spec	Mon May 17 03:09:11 2010
@@ -6,6 +6,10 @@
 #   and ':%s#koffice-1.6.3#koffice-%{version}#g'
 # - ISO 639-1 language codes maybe be looked up from http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
 #
+# TODO:
+# - package hne lang
+#
+
 %define		orgname		koffice-l10n
 %define		kdever		4.4.3
 
@@ -112,6 +116,28 @@
 %description German -l pl.UTF-8
 KOffice - wsparcie dla języka niemieckiego.
 
+%package Greek
+Summary:	KOffice suite - Greek language support
+Summary(pl.UTF-8):	KOffice - wsparcie dla języka greckiego
+Group:		I18n
+
+%description Greek
+KOffice suite - Greek language support.
+
+%description Greek -l pl.UTF-8
+KOffice - wsparcie dla języka greckiego.
+
+%package Kazakh
+Summary:        KOffice suite - Kazakh language support
+Summary(pl.UTF-8):      KOffice - wsparcie dla języka kazachskiego
+Group:          I18n
+
+%description Kazakh
+KOffice suite - Kazakh language support.
+
+%description Kazakh -l pl.UTF-8
+KOffice - wsparcie dla języka kazachskiego.
+
 %package English_UK
 Summary:	KOffice suite - KOffice suite - English (UK) language support
 Summary(pl.UTF-8):	KOffice - wsparcie dla języka angielskiego (odmiany brytyjskiej)
@@ -156,6 +182,17 @@
 %description French -l pl.UTF-8
 KOffice - wsparcie dla języka francuskiego.
 
+%package Frisian
+Summary:	KOffice suite - Frisian language support
+Summary(pl.UTF-8):	KOffice - wsparcie dla języka fryzyjskiego
+Group:		I18n
+
+%description Frisian
+KOffice suite - Frisian language support.
+
+%description Frisian -l pl.UTF-8
+KOffice - wsparcie dla języka fryzyjskiego.
+
 %package Galician
 Summary:	KOffice suite - Galician language support
 Summary(pl.UTF-8):	KOffice - wsparcie dla języka galicyjskiego
@@ -189,6 +226,17 @@
 %description Japanese -l pl.UTF-8
 KOffice - wsparcie dla języka japońskiego.
 
+%package Low_Saxon
+Summary:	KOffice suite - Low Saxon language support
+Summary(pl.UTF-8):	KOffice - wsparcie dla języka dolnosaksońskiego
+Group:		I18n
+
+%description Low_Saxon
+KOffice suite - Low Saxon language support.
+
+%description Low_Saxon -l pl.UTF-8
+KOffice - wsparcie dla języka dolnosaksońskiego.
+
 %package Norwegian_Bokmaal
 Summary:	KOffice suite - Norwegian (Bokmaal) language support
 Summary(pl.UTF-8):	KOffice - wsparcie dla języka norweskiego (odmiany bokmaal)
@@ -200,6 +248,17 @@
 %description Norwegian_Bokmaal -l pl.UTF-8
 KOffice - wsparcie dla języka norweskiego (odmiany bokmaal).
 
+%package Dutch
+Summary:	KOffice suite - Dutch language support
+Summary(pl.UTF-8):	KOffice - wsparcie dla języka holenderskiego
+Group:		I18n
+
+%description Dutch
+KOffice suite - Dutch language support.
+
+%description Dutch -l pl.UTF-8
+KOffice - wsparcie dla języka holenderskiego.
+
 %package Polish
 Summary:	KOffice suite - Polish language support
 Summary(pl.UTF-8):	KOffice - wsparcie dla języka polskiego
@@ -300,7 +359,7 @@
 KOffice - wsparcie dla języka chińskiego.
 
 %prep
-%setup -q -c -T %(seq -f '-a %g' 0 25 | xargs)
+%setup -q -c -T %(seq -f '-a %g' 0 25 |sed -e 's/-a 10//;/^$/d' | xargs)
 
 %build
 for dir in koffice-l10n-*-%{version}; do
@@ -370,14 +429,19 @@
 FindLang ca > Catalan.lang
 FindLang da > Danish.lang
 FindLang de > German.lang
+FindLang el > Greek.lang
 FindLang en_GB > English_UK.lang
 FindLang es > Spanish.lang
 FindLang et > Estonian.lang
 FindLang fr > French.lang
+FindLang fy > Frisian.lang
 FindLang gl > Galician.lang
+FindLang kk > Kazakh.lang
 FindLang it > Italian.lang
 FindLang ja > Japanese.lang
 FindLang nb > Norwegian_Bokmaal.lang
+FindLang nds > Low_Saxon.lang
+FindLang nl > Dutch.lang
 FindLang pl > Polish.lang
 FindLang pt > Portuguese.lang
 FindLang pt_BR > Brazil_Portuguese.lang
@@ -399,9 +463,9 @@
 			err=1
 		fi
 	done
-	#if [ "$err" = 1 ]; then
-		#exit 1
-	#fi
+	if [ "$err" = 1 ]; then
+		exit 1
+	fi
 }
 check_installed_languages
 
@@ -410,7 +474,7 @@
 	for a in *.lang; do
 		lang=${a%%.lang}
 
-		rpmfile=%{_rpmdir}/%{orgname}-$lang-%{version}-%{release}.%{_target_cpu}.rpm
+		rpmfile=%{_rpmdir}/%{name}-$lang-%{version}-%{release}.%{_target_cpu}.rpm
 		if [ ! -f $rpmfile ]; then
 			echo >&2 "Missing %%files section for $lang"
 			exit 1
@@ -429,6 +493,12 @@
 %files -f German.lang German
 %defattr(644,root,root,755)
 
+%files -f Greek.lang Greek
+%defattr(644,root,root,755)
+
+%files -f Kazakh.lang Kazakh
+%defattr(644,root,root,755)
+
 %files -f English_UK.lang English_UK
 %defattr(644,root,root,755)
 
@@ -441,6 +511,9 @@
 %files -f French.lang French
 %defattr(644,root,root,755)
 
+%files -f Frisian.lang Frisian
+%defattr(644,root,root,755)
+
 %files -f Galician.lang Galician
 %defattr(644,root,root,755)
 
@@ -453,6 +526,12 @@
 %files -f Norwegian_Bokmaal.lang Norwegian_Bokmaal
 %defattr(644,root,root,755)
 
+%files -f Low_Saxon.lang Low_Saxon
+%defattr(644,root,root,755)
+
+%files -f Dutch.lang Dutch
+%defattr(644,root,root,755)
+
 %files -f Polish.lang Polish
 %defattr(644,root,root,755)
 
@@ -486,6 +565,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/05/17 01:09:11  shadzik
+- add more langs
+- now it's ready
+
 Revision 1.2  2010/05/17 00:34:27  shadzik
 - builds but doesn't seem ready to me ;)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kde4-koffice-l10n/kde4-koffice-l10n.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list