SPECS: luma.spec - sf&python standardization, simplified

saq saq at pld-linux.org
Wed Aug 17 18:30:23 CEST 2005


Author: saq                          Date: Wed Aug 17 16:30:23 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- sf&python standardization, simplified

---- Files affected:
SPECS:
   luma.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/luma.spec
diff -u SPECS/luma.spec:1.1 SPECS/luma.spec:1.2
--- SPECS/luma.spec:1.1	Wed Aug 17 18:12:01 2005
+++ SPECS/luma.spec	Wed Aug 17 18:30:17 2005
@@ -5,7 +5,7 @@
 Release:	0.1
 License:	GPL v2
 Group:		Applications/Networking
-Source0:	http://mesh.dl.sourceforge.net/sourceforge/luma/%{name}-%{version}.tar.bz2
+Source0:	http://dl.sourceforge.net/sourceforge/luma/%{name}-%{version}.tar.bz2
 # Source0-md5:	2dce8ec50eddaff4b8d8a487e514cc4f
 Source1:	%{name}.desktop
 Patch0:		%{name}-dont_check_req_while_build.patch
@@ -35,10 +35,13 @@
 	--prefix=$RPM_BUILD_ROOT%{_prefix}
 
 rm -f $RPM_BUILD_ROOT%{_bindir}/luma
-echo "%{__python} %{_libdir}/%{name}/luma.py" > $RPM_BUILD_ROOT%{_bindir}/luma
+echo "%{__python} %{_libdir}/%{name}/luma.pyc" > $RPM_BUILD_ROOT%{_bindir}/luma
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 install $RPM_BUILD_ROOT%{_datadir}/%{name}/icons/luma-48.png $RPM_BUILD_ROOT%{_pixmapsdir}/luma.png
 
+%py_ocomp $RPM_BUILD_ROOT%{_libdir}/%{name}
+find $RPM_BUILD_ROOT%{_libdir}/%{name} -name \*.py -exec rm {} \;
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -46,10 +49,8 @@
 %defattr(644,root,root,755)
 %doc README
 %attr(755,root,root) %{_bindir}/*
-%dir %{_libdir}/%{name}
-%{_libdir}/%{name}/*
-%dir %{_datadir}/%{name}
-%{_datadir}/%{name}/*
+%{_libdir}/%{name}
+%{_datadir}/%{name}
 %{_mandir}/man1/*
 %{_desktopdir}/*
 %{_pixmapsdir}/*
@@ -60,6 +61,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/08/17 16:30:17  saq
+- sf&python standardization, simplified
+
 Revision 1.1  2005/08/17 16:12:01  twittner
 - added
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/luma.spec?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list