SPECS: python-pydot.spec (NEW) - new, builds

djrzulf djrzulf at pld-linux.org
Sat Nov 26 18:59:30 CET 2005


Author: djrzulf                      Date: Sat Nov 26 17:59:30 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, builds

---- Files affected:
SPECS:
   python-pydot.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-pydot.spec
diff -u /dev/null SPECS/python-pydot.spec:1.1
--- /dev/null	Sat Nov 26 18:59:30 2005
+++ SPECS/python-pydot.spec	Sat Nov 26 18:59:25 2005
@@ -0,0 +1,59 @@
+# $Revision$, $Date$
+# TODO:
+# - summary, desc,
+%define 	module	pydot
+Summary:	Python package for 
+Summary(pl):	Pakiet dla Pythona
+Name:		python-%{module}
+Version:	0.9.10
+Release:	0.1
+License:	GPL v2+
+Group:		Libraries/Python
+Source0:	http://dkbza.org/data/%{module}-%{version}.tar.gz
+# Source0-md5:	d59609a3b69b19ad018c55d765945baf
+URL:		http://dkbza.org/pydot.html
+BuildRequires:	rpm-pythonprov
+BuildRequires:	graphviz-devel
+BuildRequires:	graphviz-python
+BuildRequires:	python-pyparsing
+%pyrequires_eq	python-modules
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%description -l pl
+
+%prep
+%setup -q -n %{module}-%{version}
+
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+#broken!
+python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT%{py_scriptdir} -type f -name "*.py" | xargs rm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%{py_sitescriptdir}/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/11/26 17:59:25  djrzulf
+- new, builds
+
+
================================================================



More information about the pld-cvs-commit mailing list