SPECS: kde4-kde3support.spec - R: kde-common-dirs >= 0.2 - don't own lang d...

shadzik shadzik at pld-linux.org
Tue Nov 18 21:20:34 CET 2008


Author: shadzik                      Date: Tue Nov 18 20:20:34 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- R: kde-common-dirs >= 0.2
- don't own lang dirs
- cometics (remove what's not needed)
- there's probably more stuff that's not needed to get thirdparty kde3 apps running (like: %{_datadir}/services etc.)
- rel 2

---- Files affected:
SPECS:
   kde4-kde3support.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/kde4-kde3support.spec
diff -u SPECS/kde4-kde3support.spec:1.2 SPECS/kde4-kde3support.spec:1.3
--- SPECS/kde4-kde3support.spec:1.2	Tue Nov 18 19:45:59 2008
+++ SPECS/kde4-kde3support.spec	Tue Nov 18 21:20:28 2008
@@ -18,7 +18,7 @@
 Summary(uk.UTF-8):	K Desktop Environment - Бібліотеки
 Name:		kde4-kde3support
 Version:	3.5.10
-Release:	1
+Release:	2
 License:	LGPL
 Group:		X11/Libraries
 Source0:	ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{origname}-%{version}.tar.bz2
@@ -89,7 +89,7 @@
 Requires:	docbook-dtd42-xml
 Requires:	docbook-style-xsl
 Requires:	hicolor-icon-theme
-Requires:	kde-common-dirs
+Requires:	kde-common-dirs >= 0.2
 Requires:	libxml2-progs
 Requires:	qt >= 6:3.3.3-4
 Requires:	setup >= 2.4.6-7
@@ -275,12 +275,6 @@
 		$RPM_BUILD_ROOT%{_datadir}/applnk/.hidden \
 		$RPM_BUILD_ROOT%{_datadir}/services/kconfiguredialog \
 
-	install -d $RPM_BUILD_ROOT%{_kdedocdir}/{ca,cs,da,de,en,en_GB,es,et,fi,fr,hu,it,ja,nb,nl,pl,pt,pt_BR,ro,ru,sk,sl,sv,tr,uk,zh_TW}/common
-
-	# For fileshare
-	touch $RPM_BUILD_ROOT/etc/security/fileshare.conf
-	%{__sed} -i -e 's|/etc/init.d|/etc/rc.d/init.d|g' $RPM_BUILD_ROOT%{_bindir}/fileshare*
-
 	# packaged by hicolor-icon-theme
 	rm $RPM_BUILD_ROOT%{_iconsdir}/hicolor/index.theme
 
@@ -289,6 +283,12 @@
 	# keep $RPM_BUILD_ROOT%{_libdir}/kde3/plugins/designer/kdewidget.la for kdebase and others.
 	rm $RPM_BUILD_ROOT%{_libdir}/kde3/plugins/styles/*.la
 	rm $RPM_BUILD_ROOT%{_libdir}/libkdeinit_*.la
+	rm -rf $RPM_BUILD_ROOT%{_datadir}/apps
+	rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
+	rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
+	rm -rf $RPM_BUILD_ROOT/etc/
+	rm -f $RPM_BUILD_ROOT%{_bindir}/{artsmessage,checkXML,kgrantpty,ksvgtopng,kunittestmodrunner,makekdewidgets}
+	rm -rf $RPM_BUILD_ROOT%{_datadir}/config
 
 	# remove unwanted boost deps from .la
 	sed -i 's:-lboost_filesystem -lboost_regex::' $RPM_BUILD_ROOT%{_libdir}/kde3/plugins/designer/kdewidgets.la
@@ -305,7 +305,6 @@
 
 %files
 %defattr(644,root,root,755)
-%ghost /etc/security/fileshare.conf
 %attr(755,root,root) %{_bindir}/cupsdconf
 %attr(755,root,root) %{_bindir}/cupsdoprint
 %attr(755,root,root) %{_bindir}/dcop
@@ -444,58 +443,6 @@
 # 3rdparty directories
 %dir %{_datadir}/services/kconfiguredialog
 
-%lang(en) %{_kdedocdir}/en/kspell
-%lang(ca) %dir %{_kdedocdir}/ca
-%lang(ca) %dir %{_kdedocdir}/ca/common
-%lang(cs) %dir %{_kdedocdir}/cs
-%lang(cs) %dir %{_kdedocdir}/cs/common
-%lang(da) %dir %{_kdedocdir}/da
-%lang(da) %dir %{_kdedocdir}/da/common
-%lang(de) %dir %{_kdedocdir}/de
-%lang(de) %dir %{_kdedocdir}/de/common
-%lang(es) %dir %{_kdedocdir}/es
-%lang(es) %dir %{_kdedocdir}/es/common
-%lang(en_GB) %dir %{_kdedocdir}/en_GB
-%lang(en_GB) %dir %{_kdedocdir}/en_GB/common
-%lang(et) %dir %{_kdedocdir}/et
-%lang(et) %dir %{_kdedocdir}/et/common
-%lang(fi) %dir %{_kdedocdir}/fi
-%lang(fi) %dir %{_kdedocdir}/fi/common
-%lang(fr) %dir %{_kdedocdir}/fr
-%lang(fr) %dir %{_kdedocdir}/fr/common
-%lang(hu) %dir %{_kdedocdir}/hu
-%lang(hu) %dir %{_kdedocdir}/hu/common
-%lang(it) %dir %{_kdedocdir}/it
-%lang(it) %dir %{_kdedocdir}/it/common
-%lang(ja) %dir %{_kdedocdir}/ja
-%lang(ja) %dir %{_kdedocdir}/ja/common
-%lang(nb) %dir %{_kdedocdir}/nb
-%lang(nb) %dir %{_kdedocdir}/nb/common
-%lang(nl) %dir %{_kdedocdir}/nl
-%lang(nl) %dir %{_kdedocdir}/nl/common
-%lang(pl) %dir %{_kdedocdir}/pl
-%lang(pl) %dir %{_kdedocdir}/pl/common
-%lang(pt) %dir %{_kdedocdir}/pt
-%lang(pt) %dir %{_kdedocdir}/pt/common
-%lang(pt_BR) %dir %{_kdedocdir}/pt_BR
-%lang(pt_BR) %dir %{_kdedocdir}/pt_BR/common
-%lang(ro) %dir %{_kdedocdir}/ro
-%lang(ro) %dir %{_kdedocdir}/ro/common
-%lang(ru) %dir %{_kdedocdir}/ru
-%lang(ru) %dir %{_kdedocdir}/ru/common
-%lang(sk) %dir %{_kdedocdir}/sk
-%lang(sk) %dir %{_kdedocdir}/sk/common
-%lang(sl) %dir %{_kdedocdir}/sl
-%lang(sl) %dir %{_kdedocdir}/sl/common
-%lang(sv) %dir %{_kdedocdir}/sv
-%lang(sv) %dir %{_kdedocdir}/sv/common
-%lang(tr) %dir %{_kdedocdir}/tr
-%lang(tr) %dir %{_kdedocdir}/tr/common
-%lang(uk) %dir %{_kdedocdir}/uk
-%lang(uk) %dir %{_kdedocdir}/uk/common
-%lang(zh_TW) %dir %{_kdedocdir}/zh_TW
-%lang(zh_TW) %dir %{_kdedocdir}/zh_TW/common
-
 # merged kabc files
 %attr(755,root,root) %{_bindir}/kab2kabc
 %{_datadir}/autostart/kab2kabc.desktop
@@ -773,6 +720,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2008/11/18 20:20:28  shadzik
+- R: kde-common-dirs >= 0.2
+- don't own lang dirs
+- cometics (remove what's not needed)
+- there's probably more stuff that's not needed to get thirdparty kde3 apps running (like: %{_datadir}/services etc.)
+- rel 2
+
 Revision 1.2  2008/11/18 18:45:59  shadzik
 - less files
 - adapt for kde4 4.1.73
================================================================

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



More information about the pld-cvs-commit mailing list