SPECS: kdemodule-i18n.spec - cleanups - remove duplicate .lang files

glen glen at pld-linux.org
Fri Feb 2 16:18:25 CET 2007


Author: glen                         Date: Fri Feb  2 15:18:25 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- cleanups
- remove duplicate .lang files

---- Files affected:
SPECS:
   kdemodule-i18n.spec (1.101 -> 1.102) 

---- Diffs:

================================================================
Index: SPECS/kdemodule-i18n.spec
diff -u SPECS/kdemodule-i18n.spec:1.101 SPECS/kdemodule-i18n.spec:1.102
--- SPECS/kdemodule-i18n.spec:1.101	Fri Feb  2 10:06:44 2007
+++ SPECS/kdemodule-i18n.spec	Fri Feb  2 16:18:20 2007
@@ -3222,34 +3222,40 @@
 > kdegames.lang
 %find_lang libkdegames --with-kde
 cat libkdegames.lang >> kdegames.lang
+rm -f libkdegames.lang
 
 %find_lang kgreet_classic	--with-kde
 
 %find_lang kcron	--with-kde
 %find_lang kdat		--with-kde
-%find_lang kpackage	--with-kde
 %find_lang ksysv	--with-kde
 %find_lang kuser	--with-kde
 %find_lang kcmlilo	--with-kde
+
+%find_lang kpackage	--with-kde
 %find_lang kfile_deb	--with-kde
-cat kfile_deb.lang >> kpackage.lang
 %find_lang kfile_rpm	--with-kde
-cat kfile_rpm.lang >> kpackage.lang
+cat kfile_deb.lang kfile_rpm.lang >> kpackage.lang
+rm -f kfile_deb.lang kfile_rpm.lang
+
 %find_lang secpolicy	--with-kde
 cat secpolicy.lang >> ksysv.lang
+rm -f secpolicy.lang
+
 > screensavers.lang
 %find_lang klock --with-kde
-cat klock.lang >> screensavers.lang
 %find_lang kpartsaver --with-kde
-cat kpartsaver.lang >> screensavers.lang
 %find_lang kxsconfig --with-kde
-cat kxsconfig.lang >> screensavers.lang
+cat klock.lang kpartsaver.lang kxsconfig.lang >> screensavers.lang
+rm -f klock.lang kpartsaver.lang kxsconfig.lang
+
 %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.}
@@ -3257,24 +3263,31 @@
 	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
 %find_lang khangman	--with-kde
+
 %find_lang kig		--with-kde
 %find_lang kfile_drgeo		--with-kde
 %find_lang kfile_kig		--with-kde
-cat kfile_drgeo.lang >> kig.lang
-cat kfile_kig.lang >> kig.lang
+cat kfile_drgeo.lang kfile_kig.lang >> kig.lang
+rm -f kfile_drgeo.lang kfile_kig.lang
+
 %find_lang kiten	--with-kde
 %find_lang klettres	--with-kde
+
 # DON'T PACKAGE KMATHTOOL
+rm -f $RPM_BUILD_ROOT%{_datadir}/locale/*/LC_MESSAGES/kmathtool.mo
+rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/*/kmathtool
 
 %find_lang kanagram	--with-kde
 for a in $RPM_BUILD_ROOT%{_datadir}/apps/kanagram/data/*; do
@@ -3310,7 +3323,6 @@
 %find_lang kreversi	--with-kde
 %find_lang ksame	--with-kde
 %find_lang kshisen	--with-kde
-%find_lang ksirtet	--with-kde
 %find_lang ksnake	--with-kde
 %find_lang ksokoban	--with-kde
 %find_lang kspaceduel	--with-kde
@@ -3318,139 +3330,164 @@
 %find_lang ktuberling	--with-kde
 %find_lang kwin4	--with-kde
 %find_lang lskat	--with-kde
+
+%find_lang ksirtet	--with-kde
 %find_lang libksirtet	--with-kde
 cat libksirtet.lang >> ksirtet.lang
+rm -f libksirtet.lang
+
 %find_lang kmahjongg	--with-kde
 %find_lang ksmiletris	--with-kde
+
 > i18n.lang
 %find_lang libkdegames	--with-kde
 cat libkdegames.lang >> i18n.lang
+rm -f libkdegames.lang
 
 > core.lang
-a="colors
-	fonts
-	kcmstyle
-	kdeprint
-	kdebugdialog
-	kdesu
-	khelpcenter
-	language"
+a="
+colors
+fonts
+kcmstyle
+kdeprint
+kdebugdialog
+kdesu
+khelpcenter
+language
+"
 for i in $a; do
 	%find_lang $i --with-kde
 	cat $i.lang >> core.lang
+	rm -f $i.lang
 done
 
 > kdebase.lang
 a="
-	arts
-	background
-	bell
-	desktop
-	desktopbehavior
-	energy
-	kcmaccess
-	kcmlaunch
-	kcmnotify
-	kcmsmserver
-	keyboard
-	keys
-	ksplashml
-	kwindecoration
-	kxkb
-	mouse
-	passwords
-	spellchecking
-	windowmanagement
-	kcmenergy
-	kcmbell
-	kcmarts
-	kcmbackground
-	privacy
-	libkickermenu_tom
-	display
-	kcmcomponentchooser
-	kcminput
-	kcmkeys
-	kcmkwindecoration
-	kcmkwm
-	kcmspellchecking
-	kdesktop
-	kwin
-	kstart
-	kcmxinerama
-	ksmserver
-	kcmxinerama
-	ktip
-	ksplash
-	krandr
-	kreadconfig
-	krdb
-	kcmkwinrules
-	kxmlrpcd
-	kthememanager
-	kmenuedit
-	kstyle_plastik_config
-	kbinaryclock
-	mediaapplet
+arts
+background
+bell
+desktop
+desktopbehavior
+energy
+kcmaccess
+kcmlaunch
+kcmnotify
+kcmsmserver
+keyboard
+keys
+ksplashml
+kwindecoration
+kxkb
+mouse
+passwords
+spellchecking
+windowmanagement
+kcmenergy
+kcmbell
+kcmarts
+kcmbackground
+privacy
+libkickermenu_tom
+display
+kcmcomponentchooser
+kcminput
+kcmkeys
+kcmkwindecoration
+kcmkwm
+kcmspellchecking
+kdesktop
+kwin
+kstart
+kcmxinerama
+ksmserver
+kcmxinerama
+ktip
+ksplash
+krandr
+kreadconfig
+krdb
+kcmkwinrules
+kxmlrpcd
+kthememanager
+kmenuedit
+kstyle_plastik_config
+kbinaryclock
+mediaapplet
+kcmkwm
+kwin
+krandr
+privacy
+kcmspellchecking
+kcminput
+kcmxinerama
+display
+ktip
+kaccess
+krdb
+kreadconfig
+ksplash
+kstart
+kcmarts
+kcmbackground
+kcmbell
+kcmcomponentchooser
+kcmenergy
+kcmkeys
+kcmkwindecoration
+khotkeys
+kdesktop
+ksmserver
+khotkeys
+joystick
+kicker
+clock
+kcmtaskbar
+panel
+panelappearance
+kcmkclock
+kcmkicker
+lockout
+ktaskbarapplet
+libkicker
+libkickermenu_kdeprint
+libkickermenu_konsole
+libkickermenu_prefmenu
+libkickermenu_recentdocs
+ksystemtrayapplet
+clockapplet
+kmenuapplet
+kminipagerapplet
+krunapplet
+dockbarextension
+kasbarextension
+naughtyapplet
+quicklauncher
+ksystraycmd
 "
 for i in $a; do
-	%find_lang $i --with-kde
+	%find_lang $i	--with-kde
 	cat $i.lang >> kdebase.lang
-done
-
-%find_lang kicker	--with-kde
-a="
-	clock
-	kcmtaskbar
-	panel
-	panelappearance"
-for i in $a; do
-	%find_lang $i --with-kde
-	cat $i.lang >> kicker.lang
-done
-
-%find_lang konqueror	--with-kde
-a="
-	cache
-	cookies
-	crypto
-	ebrowsing
-	email
-	filemanager
-	filetypes
-	icons
-	kcmcss
-	khtml
-	netpref
-	proxy
-	smb
-	useragent
-	kio_media
-"
-for i in $a; do
-	%find_lang $i --with-kde
-	cat $i.lang >> konqueror.lang
+	rm -f $i.lang
 done
 
 %find_lang	kio_ldap	--with-kde
-%find_lang	kate		--with-kde
-%find_lang	kcmkonsole	--with-kde
-%find_lang	kdm		--with-kde
-%find_lang	kfind		--with-kde
-%find_lang	kcmfontinst	--with-kde
-%find_lang	kinfocenter	--with-kde
-%find_lang	kioslave	--with-kde
 %find_lang	klipper		--with-kde
-%find_lang	konsole		--with-kde
 %find_lang	ksysguard	--with-kde
 %find_lang	kpager		--with-kde
 %find_lang	kwrite		--with-kde
-%find_lang	screensaver	--with-kde
 
+%find_lang	konsole		--with-kde
+%find_lang	kcmkonsole	--with-kde
 cat kcmkonsole.lang	>> konsole.lang
+rm -f kcmkonsole.lang
+
+%find_lang	kinfocenter	--with-kde
+%find_lang	kioslave	--with-kde
 cat kioslave.lang	>> kinfocenter.lang
+rm -f kioslave.lang
 
-a="kdesud
+a="
+kdesud
 kcmaccessibility
 kcmprintmgr
 kprinter
@@ -3462,62 +3499,37 @@
 kio_man
 kio_settings
 kstyle_keramik_config
-drkonqi"
+drkonqi
+"
 for i in $a; do
 	%find_lang $i	--with-kde
 	cat $i.lang >> core.lang
-done
-
-a="kcmkwm
-kwin
-krandr
-privacy
-kcmspellchecking
-kcminput
-kcmxinerama
-display
-ktip
-kaccess
-krdb
-kreadconfig
-ksplash
-kstart
-kcmarts
-kcmbackground
-kcmbell
-kcmcomponentchooser
-kcmenergy
-kcmkeys
-kcmkwindecoration
-khotkeys
-kdesktop
-ksmserver
-khotkeys
-joystick"
-for i in $a; do
-	%find_lang $i	--with-kde
-	cat $i.lang >> kdebase.lang
+	rm -f $i.lang
 done
 
 %find_lang ksplashthemes	--with-kde
 
-a="kcminfo
+a="
+kcminfo
 kcmioslaveinfo
 kcmnic
 kcmsamba
 kcmusb
-kcmview1394"
+kcmview1394
+"
 for i in $a; do
 	%find_lang $i	--with-kde
 	cat $i.lang >> kinfocenter.lang
+	rm -f $i.lang
 done
 
 %find_lang kappfinder	--with-kde
 
+%find_lang	kate		--with-kde
 %find_lang katedefaultproject	--with-kde
-cat katedefaultproject.lang >> kate.lang
 %find_lang katetabbarextension --with-kde
-cat katetabbarextension.lang >> kate.lang
+cat katedefaultproject.lang katetabbarextension.lang >> kate.lang
+rm -f katedefaultproject.lang katetabbarextension.lang
 
 %find_lang kdcop	--with-kde
 
@@ -3525,76 +3537,77 @@
 
 %find_lang kdialog	--with-kde
 
+%find_lang kfind		--with-kde
 %find_lang kfindpart	--with-kde
 cat kfindpart.lang >> kfind.lang
+rm -f kfindpart.lang
 
+%find_lang	kcmfontinst	--with-kde
 %find_lang kfontinst	--with-kde
 cat kfontinst.lang >> kcmfontinst.lang
+rm -f kfontinst.lang
 
-a="kcmkclock
-kcmkicker
-lockout
-ktaskbarapplet
-libkicker
-libkickermenu_kdeprint
-libkickermenu_konsole
-libkickermenu_prefmenu
-libkickermenu_recentdocs
-ksystemtrayapplet
-clockapplet
-kmenuapplet
-kminipagerapplet
-krunapplet
-dockbarextension
-kasbarextension
-naughtyapplet
-quicklauncher"
-for i in $a; do
-	%find_lang $i	--with-kde
-	cat $i.lang >> kicker.lang
-done
 
 %find_lang libtaskbar	--with-kde
 %find_lang libtaskmanager	--with-kde
 cat libtaskmanager.lang >> libtaskbar.lang
+rm -f libtaskmanager.lang
 
 %find_lang kjobviewer	--with-kde
 
 %find_lang kpersonalizer	--with-kde
 
-%find_lang ksystraycmd	--with-kde
-cat ksystraycmd.lang >> kdebase.lang
-
 %find_lang kwriteconfig	--with-kde
 cat kwriteconfig.lang >> kwrite.lang
+rm -f kwriteconfig.lang
 
 %find_lang libkonq	--with-kde
 
-a="kio_imap4
-kio_pop3
-kio_nntp
-kio_smtp
-"
-for i in $a; do
-	%find_lang $i	--with-kde
-done
+%find_lang kio_imap4 --with-kde
+%find_lang kio_pop3 --with-kde
+%find_lang kio_nntp --with-kde
+%find_lang kio_smtp --with-kde
 
-a="kscreensaver
-kcmscreensaver"
+%find_lang	screensaver	--with-kde
+a="
+kscreensaver
+kcmscreensaver
+"
 for i in $a; do
 	%find_lang $i	--with-kde
 	cat $i.lang >> screensaver.lang
+	rm -f $i.lang
 done
 
+%find_lang	kdm		--with-kde
 a="
 kdmconfig
-kdmgreet"
+kdmgreet
+"
 for i in $a; do
 	%find_lang $i	--with-kde
 	cat $i.lang >> kdm.lang
+	rm -f $i.lang
 done
 
-a="appletproxy
+%find_lang konqueror --with-kde
+a="
+cache
+cookies
+crypto
+ebrowsing
+email
+filemanager
+filetypes
+icons
+kcmcss
+khtml
+netpref
+proxy
+smb
+useragent
+kio_media
+appletproxy
 nsplugin
 kcmhtmlsearch
 kcmlayout
@@ -3617,17 +3630,21 @@
 kio_nfs
 kio_print
 kio_sftp
-kio_smb"
+kio_smb
+"
 for i in $a; do
 	%find_lang $i	--with-kde
 	cat $i.lang >> konqueror.lang
+	rm -f $i.lang
 done
-cat kicker.lang >> kdebase.lang
+
 cat libtaskbar.lang >> ksplashthemes.lang
+rm -f libtaskbar.lang
 
 %find_lang useraccount		--with-kde
 %find_lang kdepasswd		--with-kde
 cat kdepasswd.lang >> useraccount.lang
+rm -f kdepasswd.lang
 
 for i in $RPM_BUILD_ROOT%{_datadir}/apps/ktuberling/sounds/*; do
 	if [ -d $i ]; then
@@ -3637,89 +3654,85 @@
 done
 
 > kdepim.lang
-
-a="akregator_konqplugin
+a="
+akregator_konqplugin
 akregator
 kdepimwizards
 kabc_slox
 kres_exchange
 kres_imap
 kres_xmlrpc
-kres_remote"
+kres_remote
+kontact
+korganizer
+kalarmd
+kalarm
+ksync
+"
<<Diff was trimmed, longer than 597 lines>>

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



More information about the pld-cvs-commit mailing list