SPECS: python-statesaver.spec (NEW) - new

arekm arekm at pld-linux.org
Tue Dec 20 00:44:10 CET 2005


Author: arekm                        Date: Mon Dec 19 23:44:10 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: SPECS/python-statesaver.spec
diff -u /dev/null SPECS/python-statesaver.spec:1.1
--- /dev/null	Tue Dec 20 00:44:10 2005
+++ SPECS/python-statesaver.spec	Tue Dec 20 00:44:05 2005
@@ -0,0 +1,50 @@
+# $Revision$, $Date$
+
+%define	module	statesaver
+
+Summary:	Python object duplicator working on generators and iterators
+Name:		python-%{module}
+Version:	0.20051220.1
+Release:	1
+License:	GPL
+Group:		Development/Languages/Python
+Source0:	statesaver.c
+# Source0-md5:	0a43470f63f7151df8d00f8c9942ab21
+Source1:	statesaver-setup.py
+# Source1-md5:	e62b320692c79bdaba519c977bbd6b33
+BuildRequires:	python-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Object duplicator working on generators and iterators.
+
+%prep
+%setup -q -c -T
+install %{SOURCE0} .
+install %{SOURCE1} setup.py
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+	--root=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{py_sitedir}/*.so
+
+%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/12/19 23:44:05  arekm
+- new
+
================================================================



More information about the pld-cvs-commit mailing list