1 # No releases, source only available through svn.
2 # svn co http://pyenet.googlecode.com/svn/trunk/ pyenet-trunk-svn24
6 Summary: Python bindings for ENet
9 Release: 0.%{svnrev}.%{rel}
11 Group: Libraries/Python
12 URL: http://code.google.com/p/pyenet
13 BuildRequires: rpmbuild(macros) >= 1.710
14 Source0: %{module}-trunk-%{svnrev}.tar.bz2
15 # Source0-md5: 1fa3e0ff41974fee2defc88d03a1c293
16 Patch0: pyenet-build-against-system-enet.patch
17 BuildRequires: enet-devel >= 1.3.3
18 BuildRequires: python-Cython >= 0.13
19 BuildRequires: python-devel
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Pyenet was written originally by Scott Robinson <scott@tranzoa.com>.
25 It's currently maintained by Andrew Resch <andrewresch@gmail.com> and
26 provides the Python bindings for ENet.
29 %setup -q -n %{module}-trunk-%{svnrev}
36 rm -rf $RPM_BUILD_ROOT
40 rm -rf $RPM_BUILD_ROOT
43 %defattr(644,root,root,755)
44 %doc LICENSE README ChangeLog
45 %attr(755,root,root) %{py_sitedir}/enet.so
46 %{py_sitedir}/enet-%{version}-py*.egg-info