]> git.pld-linux.org Git - SPECS.git/blob - python-enet.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / python-enet.spec
1 # No releases, source only available through svn.
2 # svn co http://pyenet.googlecode.com/svn/trunk/ pyenet-trunk-svn24
3 %define         module  pyenet
4 %define         svnrev  svn24
5 %define         rel             4
6 Summary:        Python bindings for ENet
7 Name:           python-enet
8 Version:        0.0.0
9 Release:        0.%{svnrev}.%{rel}
10 License:        MIT
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)
21
22 %description
23 Pyenet was written originally by Scott Robinson <scott@tranzoa.com>.
24
25 It's currently maintained by Andrew Resch <andrewresch@gmail.com> and
26 provides the Python bindings for ENet.
27
28 %prep
29 %setup -q -n %{module}-trunk-%{svnrev}
30 %patch0 -p1
31
32 %build
33 %py_build
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 %py_install
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
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
This page took 0.654979 seconds and 3 git commands to generate.