SPECS: deluge.spec - use find_lang - files fix

qboosh qboosh at pld-linux.org
Fri Dec 5 18:24:15 CET 2008


Author: qboosh                       Date: Fri Dec  5 17:24:15 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use find_lang
- files fix

---- Files affected:
SPECS:
   deluge.spec (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: SPECS/deluge.spec
diff -u SPECS/deluge.spec:1.25 SPECS/deluge.spec:1.26
--- SPECS/deluge.spec:1.25	Thu Dec  4 16:07:07 2008
+++ SPECS/deluge.spec	Fri Dec  5 18:24:10 2008
@@ -64,13 +64,13 @@
 mv -f $RPM_BUILD_ROOT%{py_sitedir}/%{name}/i18n/* $RPM_BUILD_ROOT%{_localedir}
 
 # unsupported(?)
-rm -rf $RPM_BUILD_ROOT%{_localedir}/la
-rm -rf $RPM_BUILD_ROOT%{_localedir}/pms
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/la
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pms
 
 # Remove *.py files. We don't package them.
 find $RPM_BUILD_ROOT%{py_sitedir}/%{name} -type f -name '*.py' -print0 | xargs -0 rm -f
 
-#%%find_lang %{name}
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -81,14 +81,11 @@
 %postun
 %update_icon_cache hicolor
 
-#%%files -f %{name}.lang
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc ChangeLog LICENSE README
-%attr(755,root,root) %{_bindir}/%{name}
-%attr(755,root,root) %{_bindir}/%{name}d
-%{_mandir}/man1/%{name}.1.gz
-%{_mandir}/man1/%{name}d.1.gz
+%attr(755,root,root) %{_bindir}/deluge
+%attr(755,root,root) %{_bindir}/deluged
 %{_pixmapsdir}/%{name}.xpm
 %dir %{py_sitedir}/%{name}
 %dir %{py_sitedir}/%{name}/core
@@ -165,7 +162,8 @@
 %{_iconsdir}/hicolor/128x128/apps/deluge.png
 %{_iconsdir}/hicolor/192x192/apps/deluge.png
 #{_iconsdir}/hicolor/256x256/apps/deluge.png
-%{_localedir}/*/LC_MESSAGES/%{name}.mo
+%{_mandir}/man1/deluge.1*
+%{_mandir}/man1/deluged.1*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -173,6 +171,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2008/12/05 17:24:10  qboosh
+- use find_lang
+- files fix
+
 Revision 1.25  2008/12/04 15:07:07  duddits
 - up to 1.0.6
 - TODO removed (looks like it uses its own libtorrent module anyway)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/deluge.spec?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list