SPECS: dvdrip.spec - add %find_lang

wolvverine wolvverine at pld-linux.org
Sun Nov 25 01:46:13 CET 2007


Author: wolvverine                   Date: Sun Nov 25 00:46:13 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add %find_lang

---- Files affected:
SPECS:
   dvdrip.spec (1.50 -> 1.51) 

---- Diffs:

================================================================
Index: SPECS/dvdrip.spec
diff -u SPECS/dvdrip.spec:1.50 SPECS/dvdrip.spec:1.51
--- SPECS/dvdrip.spec:1.50	Fri Nov 23 05:50:46 2007
+++ SPECS/dvdrip.spec	Sun Nov 25 01:46:07 2007
@@ -81,22 +81,18 @@
 	DESTDIR=$RPM_BUILD_ROOT
 mv $RPM_BUILD_ROOT%{perl_vendorlib}/LocaleData $RPM_BUILD_ROOT%{_datadir}/locale
 
+%find_lang video.%{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f video.%{name}.lang
 %defattr(644,root,root,755)
 %doc Changes Credits README TODO
 %attr(755,root,root) %{_bindir}/*
 %{perl_vendorlib}/Video
 %{_mandir}/man1/*
 %{_mandir}/man3/Video*
-%lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/video.dvdrip.mo
-%lang(de) %{_datadir}/locale/de/LC_MESSAGES/video.dvdrip.mo
-%lang(es) %{_datadir}/locale/es/LC_MESSAGES/video.dvdrip.mo
-%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/video.dvdrip.mo
-%lang(it) %{_datadir}/locale/it/LC_MESSAGES/video.dvdrip.mo
-%lang(sr) %{_datadir}/locale/sr/LC_MESSAGES/video.dvdrip.mo
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -104,6 +100,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.51  2007-11-25 00:46:07  wolvverine
+- add %find_lang
+
 Revision 1.50  2007-11-23 04:50:46  wolvverine
 - patch for LacaleData, mv for locales files
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/dvdrip.spec?r1=1.50&r2=1.51&f=u



More information about the pld-cvs-commit mailing list