SPECS: kde-i18n.spec - packaged Khmer, Swati, Vietnamese languages

glen glen at pld-linux.org
Thu Feb 1 12:38:34 CET 2007


Author: glen                         Date: Thu Feb  1 11:38:34 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- packaged Khmer, Swati, Vietnamese languages

---- Files affected:
SPECS:
   kde-i18n.spec (1.164 -> 1.165) 

---- Diffs:

================================================================
Index: SPECS/kde-i18n.spec
diff -u SPECS/kde-i18n.spec:1.164 SPECS/kde-i18n.spec:1.165
--- SPECS/kde-i18n.spec:1.164	Thu Feb  1 10:52:05 2007
+++ SPECS/kde-i18n.spec	Thu Feb  1 12:38:29 2007
@@ -1,6 +1,18 @@
 # $Revision$, $Date$
 # TODO:
-# - huge unpackaged list: http://glen.alkohol.ee/pld/kde-i18n-3.5.6.txt
+#   /usr/share/apps/katepart/syntax/logohighlightstyle.de_DE.xml
+#   /usr/share/apps/katepart/syntax/logohighlightstyle.fr_FR.xml
+#   /usr/share/apps/kturtle/data/logokeywords.de_DE.xml
+#   /usr/share/apps/kturtle/data/logokeywords.fr_FR.xml
+#   /usr/share/locale/da/da.compendium
+#   /usr/share/locale/fa/COPYING
+#   /usr/share/locale/fr/nbsp_gui_fr.txt
+#   /usr/share/locale/fr/relecture_docs
+#   /usr/share/locale/fr/relecture_gui
+#   /usr/share/locale/mn/30x16.png
+#   /usr/share/locale/mn/60x40.png
+#   /usr/share/locale/nb/README
+#   /usr/share/locale/se/ChangeLog
 #
 # Conditional build:
 %bcond_with	alltogether		# build single package containing support for all languages
@@ -1668,7 +1680,6 @@
 check_installed_languages() {
 	err=0
 	# we ignore dialects (currently sr at Latn is the only case)
-	dirs=
 	for a in $(ls -1d %{name}-*-%{version} | %{__sed} '/@/d'); do
 		l=${a#%{name}-}
 		l=${l%%-%{version}}
@@ -1688,20 +1699,23 @@
 %endif
 
 %clean
-rm -rf $RPM_BUILD_ROOT
 check_installed_files() {
-set -x
+	err=0
 	for a in *.lang; do
 		lang=${a%%.lang}
 
 		rpmfile=%{_rpmdir}/%{name}-$lang-%{version}-%{release}.%{_target_cpu}.rpm
 		if [ ! -f $rpmfile ]; then
 			echo >&2 "Missing %%files section for $lang"
-			exit 1
+			err=1
 		fi
 	done
+	if [ "$err" = 1 ]; then
+		exit 1
+	fi
 }
 check_installed_files
+rm -rf $RPM_BUILD_ROOT
 
 %files base
 %defattr(644,root,root,755)
@@ -1808,6 +1822,9 @@
 %files -f Kazakh.lang Kazakh
 %defattr(644,root,root,755)
 
+%files -f Khmer.lang Khmer
+%defattr(644,root,root,755)
+
 %files -f Korean.lang Korean
 %defattr(644,root,root,755)
 
@@ -1826,9 +1843,8 @@
 
 %files -f Mongolian.lang Mongolian
 %defattr(644,root,root,755)
-#{_datadir}/locale/mn/*.png
 
-# %files -f Maori.lang Maori
+#%files -f Maori.lang Maori
 %files -f Macedonian.lang Macedonian
 %defattr(644,root,root,755)
 
@@ -1845,7 +1861,7 @@
 %defattr(644,root,root,755)
 
 #%%files -f Northern_Sotho.lang Northern_Sotho
-# %files -f Gascon_Occitan.lang Gascon_Occitan
+#%%files -f Gascon_Occitan.lang Gascon_Occitan
 
 %files -f Punjabi.lang Punjabi
 %defattr(644,root,root,755)
@@ -1853,7 +1869,6 @@
 %files -f Polish.lang Polish
 %defattr(644,root,root,755)
 
-#%%{_datadir}/services/searchproviders/*.desktop
 %files -f Portuguese.lang Portuguese
 %defattr(644,root,root,755)
 
@@ -1869,7 +1884,9 @@
 %files -f Northern_Sami.lang Northern_Sami
 %defattr(644,root,root,755)
 
-#%%files -f Swati.lang Swati
+%files -f Swati.lang Swati
+%defattr(644,root,root,755)
+
 %files -f Slovak.lang Slovak
 %defattr(644,root,root,755)
 
@@ -1899,7 +1916,10 @@
 %defattr(644,root,root,755)
 
 #%%files -f Venda.lang Venda
-#%%files -f Vietnamese.lang Vietnamese
+
+%files -f Vietnamese.lang Vietnamese
+%defattr(644,root,root,755)
+
 # %files -f Walloon.lang Walloon
 #%%files -f Xhosa.lang Xhosa
 %files -f Simplified_Chinese.lang Simplified_Chinese
@@ -1923,6 +1943,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.165  2007/02/01 11:38:29  glen
+- packaged Khmer, Swati, Vietnamese languages
+
 Revision 1.164  2007/02/01 09:52:05  glen
 - findlang for Kazakh, Swati, Vietnamese
 - complete obsoletes list for alltogether
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kde-i18n.spec?r1=1.164&r2=1.165&f=u



More information about the pld-cvs-commit mailing list