SPECS: pypanel.spec - BR: python-Xlib (pointed by Pawel Chmiel) - package ....

qboosh qboosh at pld-linux.org
Sun Aug 17 13:37:33 CEST 2008


Author: qboosh                       Date: Sun Aug 17 11:37:33 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- BR: python-Xlib (pointed by Pawel Chmiel)
- package .egg-info for python 2.5

---- Files affected:
SPECS:
   pypanel.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/pypanel.spec
diff -u SPECS/pypanel.spec:1.9 SPECS/pypanel.spec:1.10
--- SPECS/pypanel.spec:1.9	Tue Feb 13 09:06:42 2007
+++ SPECS/pypanel.spec	Sun Aug 17 13:37:28 2008
@@ -10,8 +10,9 @@
 # Source0-md5:	5771a64883f46199da97e9a7e764c143
 Patch0:		%{name}-path.patch
 URL:		http://pypanel.sourceforge.net/
+BuildRequires:	python-Xlib >= 0.12
+BuildRequires:	python-devel >= 1:2.5
 %pyrequires_eq	python-modules
-BuildRequires:	python-devel >= 1:2.3
 Requires:	python-Xlib >= 0.12
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -45,13 +46,14 @@
 %build
 CFLAGS="%{rpmcflags}"
 export CFLAGS
-python setup.py build
+%{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python setup.py install \
-	--root=$RPM_BUILD_ROOT --optimize=2
+%{__python} setup.py install \
+	--root=$RPM_BUILD_ROOT \
+	--optimize=2
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -60,9 +62,9 @@
 %defattr(644,root,root,755)
 %doc README
 %attr(755,root,root) %{_bindir}/*
-%dir %{_datadir}/%{name}
-%{_datadir}/%{name}/*
-%attr(755,root,root) %{py_sitedir}/*.so
+%{_datadir}/%{name}
+%attr(755,root,root) %{py_sitedir}/ppmodule.so
+%{py_sitedir}/PyPanel-*.egg-info
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -70,6 +72,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2008/08/17 11:37:28  qboosh
+- BR: python-Xlib (pointed by Pawel Chmiel)
+- package .egg-info for python 2.5
+
 Revision 1.9  2007/02/13 08:06:42  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pypanel.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list