SPECS: kdemodule-i18n.spec - update to KDE 3.5.7, %ifarch directiv...

glen glen at pld-linux.org
Thu May 24 17:35:49 CEST 2007


Author: glen                         Date: Thu May 24 15:35:49 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- update to KDE 3.5.7, %ifarch directives from kcmlilo dropped

---- Files affected:
SPECS:
   kdemodule-i18n.spec (1.138 -> 1.139) 

---- Diffs:

================================================================
Index: SPECS/kdemodule-i18n.spec
diff -u SPECS/kdemodule-i18n.spec:1.138 SPECS/kdemodule-i18n.spec:1.139
--- SPECS/kdemodule-i18n.spec:1.138	Wed May 23 23:59:56 2007
+++ SPECS/kdemodule-i18n.spec	Thu May 24 17:35:43 2007
@@ -2,6 +2,7 @@
 # NOTE
 # - difference between kdemodule-i18n and kde-i18n is that one is per
 #   package and other is per language.
+# - do not add %%ifarch here, as it's noarch package
 #
 %define		kdeaddons_epoch		1
 %define		kdeadmin_epoch		8
@@ -28,7 +29,7 @@
 Summary(pl.UTF-8):	KDE - wsparcie dla wielu języków
 Name:		kdemodule-i18n
 Version:	3.5.7
-Release:	0.1
+Release:	1
 Epoch:		10
 License:	GPL
 Group:		X11/Applications
@@ -173,6 +174,8 @@
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		no_install_post_py_hardlink	1
+
 %description
 K Desktop Environment - international support.
 
@@ -306,8 +309,8 @@
 Summary:	Internationalization and localization files for bugzilla plugin for the KDE PIM framework
 Summary(pl.UTF-8):	Pliki umiędzynarodawiające dla wtyczki bugzilla do szkieletu KDE PIM
 Group:		X11/Applications
-Requires:	kdesdk-kde-resource-bugzilla = %{kdesdk_epoch}:%{version}
 Requires:	kdelibs-i18n = %{epoch}:%{version}-%{release}
+Requires:	kdesdk-kde-resource-bugzilla = %{kdesdk_epoch}:%{version}
 
 %description -n kde-resource-bugzilla-i18n
 Internationalization and localization files for KDE PIM plugin that
@@ -3163,7 +3166,7 @@
 Tłumaczenia dla libkonq.
 
 %prep
-%setup -qcT %(seq -f '-a %g' 0 64 | xargs)
+%setup -qcT %(seq -f '-a %g' 0 66 | xargs)
 
 %build
 export kde_htmldir="%{_kdedocdir}"
@@ -3198,7 +3201,7 @@
 	# remove empty language catalogs (= 1 message only)
 	find $RPM_BUILD_ROOT%{_datadir}/locale -type f -name '*.mo' | xargs file | egrep ', 1 messages$' | cut -d: -f1 | xargs rm -vf
 
-%if "%{version}" == "3.5.6"
+%if "%{version}" == "3.5.7"
 	# - kcmsmartcard - kdebase-3.5.6/kcontrol/smartcard - not packaged in pld
 	rm $RPM_BUILD_ROOT%{_datadir}/locale/*/LC_MESSAGES/kcmsmartcard.mo
 	# - kres_blogging.mo - kdepim-3.5.6/kresources/blogging/ - not packged in pld
@@ -3214,6 +3217,11 @@
 	rm $RPM_BUILD_ROOT%{_datadir}/locale/*/LC_MESSAGES/kres_tvanytime.mo
 %endif
 
+	# XXX check this rename
+	mv $RPM_BUILD_ROOT%{_datadir}/apps/katepart/syntax/logohighlightstyle.mk{_MK,}.xml
+	mv $RPM_BUILD_ROOT%{_datadir}/apps/kturtle/data/logokeywords.mk{_MK,}.xml
+	mv $RPM_BUILD_ROOT%{_datadir}/apps/kturtle/examples/mk{_MK,}
+
 	# (probably) no longer in kde
 	rm $RPM_BUILD_ROOT%{_datadir}/locale/km/LC_MESSAGES/jefferson.mo
 	rm $RPM_BUILD_ROOT%{_datadir}/locale/km/LC_MESSAGES/katekttsd.mo
@@ -3289,7 +3297,7 @@
 	shift
 	> $out
 	for a in $*; do
-		%find_lang $a --with-kde lang.tmp
+		%find_lang $a --with-kde lang.tmp > /dev/null
 		cat lang.tmp >> $out
 	done
 }
@@ -3406,7 +3414,12 @@
 	wavecapture
 "
 
-kde_find_lang kdeadmin-kcmlilo-i18n kcmlilo lilo-config
+# Hack: 'BuildArch: noarch' and %%ifarch do not work, so we create empty packages.
+# TH: In reality the arches would get full tarball anyway
+# These arch's don't bave kcmlilo package: %{ix86} %{x8664} sparc sparc64
+> kdeadmin-kcmlilo-i18n.lang
+kde_find_lang kdeadmin-kcmlilo-i18n kcmlilo lilo-config || :
+
 kde_find_lang kdeadmin-kcron-i18n kcron
 kde_find_lang kdeadmin-kdat-i18n kdat
 kde_find_lang kdeadmin-knetworkconf-i18n knetworkconf
@@ -3502,13 +3515,13 @@
 	kstyle_plastik_config
 	ksystemtrayapplet
 	ksystraycmd
-	ktaskbarapplet
 	kthememanager
 	ktip
 	kwin
 	kwin_clients
-	kwin_lib
 	kwindecoration
+	kwin_lib
+	kwriteconfig
 	kxkb
 	kxmlrpcd
 	libkicker
@@ -3529,7 +3542,6 @@
 	privacy
 	quicklauncher
 	spellchecking
-	taskbarextension
 	trashapplet
 	windowmanagement
 "
@@ -3552,7 +3564,6 @@
 kde_find_lang kdebase-kappfinder-i18n kappfinder
 kde_find_lang kdebase-kate-i18n "
 	kate
-	katedefaultproject
 	katetabbarextension
 "
 kde_find_lang kdebase-kdcop-i18n kdcop dcoprss
@@ -3566,8 +3577,7 @@
 kde_find_lang kdebase-kpager-i18n kpager
 kde_find_lang kdebase-kpersonalizer-i18n kpersonalizer
 kde_find_lang kdebase-ksysguard-i18n ksysguard
-# XXX kwriteconfig != kwrite
-kde_find_lang kdebase-kwrite-i18n kwrite kwriteconfig
+kde_find_lang kdebase-kwrite-i18n kwrite
 kde_find_lang kdebase-screensavers-i18n screensaver kcmscreensaver kscreensaver
 kde_find_lang kdebase-useraccount-i18n useraccount kdepasswd
 kde_find_lang kdeedu-blinken-i18n blinken
@@ -3901,7 +3911,6 @@
 	kcmkurifilt
 	kcmlayout
 	kcmperformance
-	kfile_font
 	kfmclient
 	khtml
 	kio_finger
@@ -3981,9 +3990,7 @@
 %defattr(644,root,root,755)
 %files -n kdeaddons-noatun-i18n -f kdeaddons-noatun-i18n.lang
 %defattr(644,root,root,755)
-%ifarch %{ix86} %{x8664} sparc sparc64
 %files -n kdeadmin-kcmlilo-i18n -f kdeadmin-kcmlilo-i18n.lang
-%endif
 %defattr(644,root,root,755)
 %files -n kdeadmin-kcron-i18n -f kdeadmin-kcron-i18n.lang
 %defattr(644,root,root,755)
@@ -4026,6 +4033,9 @@
 %lang(ca) %{_datadir}/locale/ca/charset
 %lang(ca) %{_datadir}/locale/ca/entry.desktop
 %lang(ca) %{_datadir}/locale/ca/flag.png
+%lang(csb) %{_datadir}/locale/csb/charset
+%lang(csb) %{_datadir}/locale/csb/entry.desktop
+%lang(csb) %{_datadir}/locale/csb/flag.png
 %lang(cs) %{_datadir}/locale/cs/charset
 %lang(cs) %{_datadir}/locale/cs/entry.desktop
 %lang(cs) %{_datadir}/locale/cs/flag.png
@@ -4179,6 +4189,9 @@
 %lang(ta) %{_datadir}/locale/ta/flag.png
 %lang(tg) %{_datadir}/locale/tg/charset
 %lang(tg) %{_datadir}/locale/tg/entry.desktop
+%lang(th) %{_datadir}/locale/th/charset
+%lang(th) %{_datadir}/locale/th/entry.desktop
+%lang(th) %{_datadir}/locale/th/flag.png
 #%lang(tg) %{_datadir}/locale/tg/flag.png
 %lang(tr) %{_datadir}/locale/tr/charset
 %lang(tr) %{_datadir}/locale/tr/entry.desktop
@@ -4258,7 +4271,6 @@
 
 %files -n kdeedu-khangman-i18n -f kdeedu-khangman-i18n.lang
 %defattr(644,root,root,755)
-%lang(bg) %{_datadir}/apps/khangman/data/bg
 %lang(ca) %{_datadir}/apps/khangman/ca.txt
 %lang(cs) %{_datadir}/apps/khangman/cs.txt
 %lang(da) %{_datadir}/apps/khangman/da.txt
@@ -4270,16 +4282,18 @@
 %lang(ga) %{_datadir}/apps/khangman/ga.txt
 %lang(hu) %{_datadir}/apps/khangman/hu.txt
 %lang(nb) %{_datadir}/apps/khangman/nb.txt
+%lang(nds) %{_datadir}/apps/khangman/nds.txt
 %lang(nn) %{_datadir}/apps/khangman/nn.txt
 %lang(pl) %{_datadir}/apps/khangman/pl.txt
-%lang(pt) %{_datadir}/apps/khangman/pt.txt
 %lang(pt_BR) %{_datadir}/apps/khangman/pt_BR.txt
+%lang(pt) %{_datadir}/apps/khangman/pt.txt
 %lang(sl) %{_datadir}/apps/khangman/sl.txt
 %lang(sr at Latn) %{_datadir}/apps/khangman/sr at Latn.txt
 %lang(sv) %{_datadir}/apps/khangman/sv.txt
 %lang(tg) %{_datadir}/apps/khangman/tg.txt
 %lang(tr) %{_datadir}/apps/khangman/tr.txt
 
+%lang(bg) %{_datadir}/apps/khangman/data/bg
 %lang(ca) %{_datadir}/apps/khangman/data/ca
 %lang(cs) %{_datadir}/apps/khangman/data/cs
 %lang(da) %{_datadir}/apps/khangman/data/da
@@ -4292,11 +4306,12 @@
 %lang(hu) %{_datadir}/apps/khangman/data/hu
 %lang(it) %{_datadir}/apps/khangman/data/it
 %lang(nb) %{_datadir}/apps/khangman/data/nb
+%lang(nds) %{_datadir}/apps/khangman/data/nds
 %lang(nl) %{_datadir}/apps/khangman/data/nl
 %lang(nn) %{_datadir}/apps/khangman/data/nn
 %lang(pl) %{_datadir}/apps/khangman/data/pl
-%lang(pt) %{_datadir}/apps/khangman/data/pt
 %lang(pt_BR) %{_datadir}/apps/khangman/data/pt_BR
+%lang(pt) %{_datadir}/apps/khangman/data/pt
 %lang(ru) %{_datadir}/apps/khangman/data/ru
 %lang(sl) %{_datadir}/apps/khangman/data/sl
 %lang(sr) %{_datadir}/apps/khangman/data/sr
@@ -4323,6 +4338,7 @@
 %lang(es) %{_datadir}/apps/klettres/es
 %lang(he) %{_datadir}/apps/klettres/he
 %lang(it) %{_datadir}/apps/klettres/it
+%lang(nds) %{_datadir}/apps/klettres/nds
 %lang(nl) %{_datadir}/apps/klettres/nl
 %lang(sk) %{_datadir}/apps/klettres/sk
 
@@ -4344,6 +4360,7 @@
 %lang(es) %{_datadir}/apps/kturtle/data/logokeywords.es.xml
 %lang(fr_FR) %{_datadir}/apps/kturtle/data/logokeywords.fr_FR.xml
 %lang(it) %{_datadir}/apps/kturtle/data/logokeywords.it.xml
+%lang(mk) %{_datadir}/apps/kturtle/data/logokeywords.mk.xml
 %lang(nl) %{_datadir}/apps/kturtle/data/logokeywords.nl.xml
 %lang(pl) %{_datadir}/apps/kturtle/data/logokeywords.pl.xml
 %lang(pt_BR) %{_datadir}/apps/kturtle/data/logokeywords.pt_BR.xml
@@ -4360,6 +4377,7 @@
 %lang(es) %{_datadir}/apps/kturtle/examples/es
 %lang(fr_FR) %{_datadir}/apps/kturtle/examples/fr_FR
 %lang(it) %{_datadir}/apps/kturtle/examples/it
+%lang(mk) %{_datadir}/apps/kturtle/examples/mk
 %lang(nl) %{_datadir}/apps/kturtle/examples/nl
 %lang(pl) %{_datadir}/apps/kturtle/examples/pl
 %lang(pt_BR) %{_datadir}/apps/kturtle/examples/pt_BR
@@ -4540,6 +4558,7 @@
 %lang(es) %{_datadir}/apps/katepart/syntax/logohighlightstyle.es.xml
 %lang(fr_FR) %{_datadir}/apps/katepart/syntax/logohighlightstyle.fr_FR.xml
 %lang(it) %{_datadir}/apps/katepart/syntax/logohighlightstyle.it.xml
+%lang(mk) %{_datadir}/apps/katepart/syntax/logohighlightstyle.mk.xml
 %lang(nl) %{_datadir}/apps/katepart/syntax/logohighlightstyle.nl.xml
 %lang(pl) %{_datadir}/apps/katepart/syntax/logohighlightstyle.pl.xml
 %lang(pt_BR) %{_datadir}/apps/katepart/syntax/logohighlightstyle.pt_BR.xml
@@ -4735,6 +4754,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.139  2007/05/24 15:35:43  glen
+- update to KDE 3.5.7, %ifarch directives from kcmlilo dropped
+
 Revision 1.138  2007/05/23 21:59:56  glen
 - KDE 3.5.7 tarballs
 
================================================================

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



More information about the pld-cvs-commit mailing list