]> git.pld-linux.org Git - packages/python-enet.git/blame - python-enet.spec
- release 3 (by relup.sh)
[packages/python-enet.git] / python-enet.spec
CommitLineData
fb56e992
ER
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
75e7fc08 5%define rel 3
fb56e992
ER
6Summary: Python bindings for ENet
7Name: python-enet
8Version: 0.0.0
9Release: 0.%{svnrev}.%{rel}
10License: MIT
11Group: Libraries/Python
12URL: http://code.google.com/p/pyenet
40d1c990 13BuildRequires: rpmbuild(macros) >= 1.710
fb56e992
ER
14Source0: %{module}-trunk-%{svnrev}.tar.bz2
15# Source0-md5: 1fa3e0ff41974fee2defc88d03a1c293
16Patch0: pyenet-build-against-system-enet.patch
17BuildRequires: enet-devel >= 1.3.3
18BuildRequires: python-Cython >= 0.13
19BuildRequires: python-devel
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Pyenet was written originally by Scott Robinson <scott@tranzoa.com>.
24
25It's currently maintained by Andrew Resch <andrewresch@gmail.com> and
26provides the Python bindings for ENet.
27
28%prep
29%setup -q -n %{module}-trunk-%{svnrev}
30%patch0 -p1
31
32%build
05720f10 33%py_build
fb56e992
ER
34
35%install
36rm -rf $RPM_BUILD_ROOT
05720f10 37%py_install
fb56e992
ER
38
39%clean
40rm -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.081957 seconds and 4 git commands to generate.