SPECS: python-pyevent.spec (NEW) - initial PLD release
patrys
patrys at pld-linux.org
Mon Jan 28 18:31:47 CET 2008
Author: patrys Date: Mon Jan 28 17:31:47 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial PLD release
---- Files affected:
SPECS:
python-pyevent.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-pyevent.spec
diff -u /dev/null SPECS/python-pyevent.spec:1.1
--- /dev/null Mon Jan 28 18:31:48 2008
+++ SPECS/python-pyevent.spec Mon Jan 28 18:31:42 2008
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+
+%define module pyevent
+
+Summary: Python extension module for libevent
+Name: python-%{module}
+Version: 0.3
+Release: 1
+License: MIT
+Group: Libraries/Python
+Source0: http://pyevent.googlecode.com/files/%{module}-%{version}.tar.gz
+# Source0-md5: 584912c92d08bf005283fb29a47a6e4d
+URL: http://code.google.com/p/pyevent/
+BuildRequires: libevent-devel
+BuildRequires: python-devel >= 1:2.5
+BuildRequires: python-modules
+BuildRequires: rpm-pythonprov
+%pyrequires_eq python-libs
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Python extension module for libevent.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+python setup.py build_ext
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+ --root=$RPM_BUILD_ROOT \
+ --optimize=2
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES README
+%{py_sitedir}/event.so
+%{py_sitedir}/event-*.egg-info
+
+%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 2008-01-28 17:31:42 patrys
+- initial PLD release
+
================================================================
More information about the pld-cvs-commit
mailing list