SPECS: python-pygraphviz.spec - builds,

djrzulf djrzulf at pld-linux.org
Sat Nov 26 18:51:02 CET 2005


Author: djrzulf                      Date: Sat Nov 26 17:51:02 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- builds,

---- Files affected:
SPECS:
   python-pygraphviz.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/python-pygraphviz.spec
diff -u SPECS/python-pygraphviz.spec:1.3 SPECS/python-pygraphviz.spec:1.4
--- SPECS/python-pygraphviz.spec:1.3	Sat Nov 26 18:10:19 2005
+++ SPECS/python-pygraphviz.spec	Sat Nov 26 18:50:56 2005
@@ -1,7 +1,6 @@
 # $Revision$, $Date$
 # TODO:
-# - summary, desc, some setuptools needed
-# NFY
+# - summary, desc,
 %define 	module	pygraphviz
 Summary:	Python package for 
 Summary(pl):	Pakiet dla Pythona
@@ -14,6 +13,7 @@
 # Source0-md5:	ea2a1f28dd64f616ba8d3e3080e042be
 Source1:	http://cheeseshop.python.org/packages/2.4/s/setuptools/setuptools-0.6a7-py2.4.egg
 # Source1-md5:	c6d62dab4461f71aed943caea89e6f20
+Patch0:		%{name}-install.patch
 URL:		http://networkx.sourceforge.net/
 BuildRequires:	rpm-pythonprov
 BuildRequires:	graphviz-devel
@@ -29,6 +29,8 @@
 %prep
 %setup -q -n %{module}-%{version}
 install %{SOURCE1} ./
+%patch0 -p1
+
 
 %build
 python setup.py build
@@ -39,20 +41,16 @@
 #broken!
 python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
 
-
 find $RPM_BUILD_ROOT%{py_scriptdir} -type f -name "*.py" | xargs rm
+mv $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}-%{version}-py2.4.egg/%{module} $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS README
+%doc README
 %{py_sitescriptdir}/%{module}
-%dir %{_datadir}/%{module}
-%{_datadir}/%{module}/*.lfs
-%{_datadir}/%{module}/pyx.def
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pyxrc
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -60,6 +58,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/11/26 17:50:56  djrzulf
+- builds,
+
 Revision 1.3  2005/11/26 17:10:19  djrzulf
 - added BR,
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-pygraphviz.spec?r1=1.3&r2=1.4&f=u




More information about the pld-cvs-commit mailing list