]> git.pld-linux.org Git - packages/python-pyevent.git/commitdiff
- initial PLD release
authorPatryk Zawadzki <patrys@room-303.com>
Mon, 28 Jan 2008 17:31:42 +0000 (17:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-pyevent.spec -> 1.1

python-pyevent.spec [new file with mode: 0644]

diff --git a/python-pyevent.spec b/python-pyevent.spec
new file mode 100644 (file)
index 0000000..5906462
--- /dev/null
@@ -0,0 +1,45 @@
+
+%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
This page took 0.106176 seconds and 4 git commands to generate.