SPECS: di.spec - use find_lang

darekr darekr at pld-linux.org
Sun Dec 18 20:44:09 CET 2005


Author: darekr                       Date: Sun Dec 18 19:44:09 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use find_lang

---- Files affected:
SPECS:
   di.spec (1.27 -> 1.28) 

---- Diffs:

================================================================
Index: SPECS/di.spec
diff -u SPECS/di.spec:1.27 SPECS/di.spec:1.28
--- SPECS/di.spec:1.27	Sun Dec 18 20:08:21 2005
+++ SPECS/di.spec	Sun Dec 18 20:44:03 2005
@@ -45,17 +45,17 @@
 	
 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{de_DE,de}
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README MANIFEST LICENSE*
 %attr(755,root,root) %{_bindir}/di
 %attr(755,root,root) %{_bindir}/mi
 %{_mandir}/man1/di.*
-%lang(de) %{_datadir}/locale/de/LC_MESSAGES/di.mo 
-%lang(en_US) %{_datadir}/locale/en_US/LC_MESSAGES/di.mo 
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -63,6 +63,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2005/12/18 19:44:03  darekr
+- use find_lang
+
 Revision 1.27  2005/12/18 19:08:21  darekr
 - updated to 4.4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/di.spec?r1=1.27&r2=1.28&f=u




More information about the pld-cvs-commit mailing list