SPECS: kdemodule-i18n.spec - partial packaging new files

glen glen at pld-linux.org
Wed Aug 9 00:17:08 CEST 2006


Author: glen                         Date: Tue Aug  8 22:17:08 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- partial packaging new files

---- Files affected:
SPECS:
   kdemodule-i18n.spec (1.88 -> 1.89) 

---- Diffs:

================================================================
Index: SPECS/kdemodule-i18n.spec
diff -u SPECS/kdemodule-i18n.spec:1.88 SPECS/kdemodule-i18n.spec:1.89
--- SPECS/kdemodule-i18n.spec:1.88	Tue Aug  8 23:30:19 2006
+++ SPECS/kdemodule-i18n.spec	Wed Aug  9 00:17:02 2006
@@ -3,7 +3,7 @@
 # - difference between kdemodule-i18n and kde-i18n is that one is per
 #   package and other is per language.
 # TODO:
-# - tons of unpackaged files
+# - tons of unpackaged files (see end of install section for more)
 #   http://glen.alkohol.ee/pld/kdemodule-i18n.txt
 #
 %define		_name			kde-i18n
@@ -3180,6 +3180,7 @@
 	touch installed.stamp
 fi
 
+%if 0
 rm -f *.lang *.cache
 
 %find_lang quanta	--with-kde
@@ -3213,9 +3214,25 @@
 cat kpartsaver.lang >> screensavers.lang
 %find_lang kxsconfig --with-kde
 cat kxsconfig.lang >> screensavers.lang
-%find_lang	klatin		--with-kde
-%find_lang	kturtle		--with-kde
-%find_lang	kwordquiz	--with-kde
+%find_lang klatin		--with-kde
+for a in $RPM_BUILD_ROOT%{_datadir}/apps/klatin/data/vocabs/*; do
+	lang=${a##*/}
+	path=${a#$RPM_BUILD_ROOT/}
+	echo "%lang($lang) $path" >> klatin.lang
+done
+%find_lang kturtle		--with-kde
+for a in $RPM_BUILD_ROOT%{_datadir}/apps/kturtle/data/*.xml; do
+	t=${a##*logokeywords.}
+	lang=${t%.xml}
+	path=${a#$RPM_BUILD_ROOT/}
+	echo "%lang($lang) $path" >> kturtle.lang
+done
+for a in $RPM_BUILD_ROOT%{_datadir}/apps/kturtle/examples/*; do
+	lang=${a##*/}
+	path=${a#$RPM_BUILD_ROOT/}
+	echo "%lang($lang) $path" >> kturtle.lang
+done
+%find_lang kwordquiz	--with-kde
 %find_lang kalzium	--with-kde
 %find_lang kbruch	--with-kde
 %find_lang keduca	--with-kde
@@ -3228,7 +3245,14 @@
 %find_lang kiten	--with-kde
 %find_lang klettres	--with-kde
 # DON'T PACKAGE KMATHTOOL
+
 %find_lang kanagram	--with-kde
+for a in $RPM_BUILD_ROOT%{_datadir}/apps/kanagram/data/*; do
+	lang=${a##*/}
+	path=${a#$RPM_BUILD_ROOT/}
+	echo "%lang($lang) $path" >> kanagram.lang
+done
+
 %find_lang kmplot	--with-kde
 %find_lang kpercentage	--with-kde
 %find_lang kstars	--with-kde
@@ -4081,6 +4105,12 @@
 		echo "%lang($z) %{_datadir}/apps/khangman/data/$z" >> khangman.lang
 	fi
 done
+for a in $RPM_BUILD_ROOT%{_datadir}/apps/khangman/*.txt; do
+	t=${a##*/}
+	lang=${t%.txt}
+	path=${a#$RPM_BUILD_ROOT/}
+	echo "%lang($lang) $path" >> khangman.lang
+done
 
 for i in $RPM_BUILD_ROOT%{_datadir}/apps/klettres/*; do
 	echo $i
@@ -4090,6 +4120,31 @@
 	fi
 done
 
+%endif
+
+# TODO these *.lang are created but not included in any %package yet
+%find_lang blinken --with-kde
+#%find_lang flashkard --with-kde # obsoleted?
+%find_lang kapptemplate --with-kde
+#%find_lang kcontrol --with-kde
+%find_lang kdesvn-build --with-kde
+%find_lang kgeography --with-kde
+#%find_lang kmessedwords --with-kde # obsoleted?
+%find_lang kmidi --with-kde
+%find_lang knetattach --with-kde
+%find_lang knetworkconf --with-kde
+%find_lang kompmgr --with-kde
+#%find_lang kpaint --with-kde # obsoleted by kolourpaint?
+%find_lang kttsd --with-kde
+%find_lang kwuftpd --with-kde
+%find_lang kxconfig --with-kde
+%find_lang lilo-config --with-kde
+%find_lang megami --with-kde
+%find_lang multisynk --with-kde
+%find_lang scripts --with-kde
+%find_lang superkaramba --with-kde
+%find_lang xsldbg --with-kde
+
 # Get rid of messages about files listed twice.
 for i in *.lang; do
 	sort -u ${i} > ${i}.tmp && mv ${i}.tmp ${i}
@@ -4503,6 +4558,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.89  2006/08/08 22:17:02  glen
+- partial packaging new files
+
 Revision 1.88  2006/08/08 21:30:19  glen
 - rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kdemodule-i18n.spec?r1=1.88&r2=1.89&f=u



More information about the pld-cvs-commit mailing list