SPECS: python-pisa.spec - package command line tool

patrys patrys at pld-linux.org
Tue Nov 6 17:47:46 CET 2007


Author: patrys                       Date: Tue Nov  6 16:47:46 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- package command line tool

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

---- Diffs:

================================================================
Index: SPECS/python-pisa.spec
diff -u SPECS/python-pisa.spec:1.1 SPECS/python-pisa.spec:1.2
--- SPECS/python-pisa.spec:1.1	Tue Nov  6 16:39:15 2007
+++ SPECS/python-pisa.spec	Tue Nov  6 17:47:41 2007
@@ -11,6 +11,7 @@
 URL:		http://pisa.spirito.de/index.html
 BuildRequires:	python-devel >= 1:2.4
 BuildRequires:	python-html5lib
+BuildRequires:	sed
 %pyrequires_eq	python
 Requires:	python-html5lib
 Requires:	python-PIL
@@ -33,7 +34,9 @@
 	--root=$RPM_BUILD_ROOT \
 	--optimize=2
 
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_examplesdir}/%{name}-%{version}}
+install -d $RPM_BUILD_ROOT%{_bindir}
+install pisa.py $RPM_BUILD_ROOT%{_bindir}
+sed -i 's@/usr/local/bin/python.*$@/usr/bin/python@' $RPM_BUILD_ROOT%{_bindir}/pisa.py
 
 %py_postclean $RPM_BUILD_ROOT%{py_sitescriptdir}
 
@@ -43,6 +46,7 @@
 %files
 %defattr(644,root,root,755)
 %doc CHANGELOG.txt README.txt
+%attr(755,root,root) %{_bindir}/pisa.py
 %{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
 %{py_sitescriptdir}/sx
 
@@ -52,6 +56,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/11/06 16:47:41  patrys
+- package command line tool
+
 Revision 1.1  2007/11/06 15:39:15  patrys
 - initial PLD release
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-pisa.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list