SPECS: cpuinfo.spec - use find_lang --with-kde for kdedocdir

qboosh qboosh at pld-linux.org
Mon Feb 5 16:37:21 CET 2007


Author: qboosh                       Date: Mon Feb  5 15:37:21 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use find_lang --with-kde for kdedocdir

---- Files affected:
SPECS:
   cpuinfo.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: SPECS/cpuinfo.spec
diff -u SPECS/cpuinfo.spec:1.17 SPECS/cpuinfo.spec:1.18
--- SPECS/cpuinfo.spec:1.17	Thu Feb  1 20:40:16 2007
+++ SPECS/cpuinfo.spec	Mon Feb  5 16:37:16 2007
@@ -42,19 +42,20 @@
 	DESTDIR=$RPM_BUILD_ROOT \
 	kde_htmldir=%{_kdedocdir}
 
+%find_lang %{name} --with-kde
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README TODO
 %attr(755,root,root) %{_libdir}/kde3/*.so
 %{_libdir}/kde3/*.la
 %{_datadir}/apps/kicker/applets/cpuinfo.desktop
-%{_kdedocdir}/en/cpuinfo
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -62,6 +63,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2007/02/05 15:37:16  qboosh
+- use find_lang --with-kde for kdedocdir
+
 Revision 1.17  2007/02/01 19:40:16  pluto
 - build/install fixed, release 2.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/cpuinfo.spec?r1=1.17&r2=1.18&f=u



More information about the pld-cvs-commit mailing list