]>
Commit | Line | Data |
---|---|---|
1fccf929 | 1 | %define pname Py2Play |
61cf4334 | 2 | Summary: Network game engine |
b68d0832 | 3 | Summary(pl.UTF-8): Sieciowy silnik gier |
61cf4334 | 4 | Name: python-Py2Play |
5 | Version: 0.1.6 | |
6 | Release: 1 | |
7 | License: GPL | |
8 | Group: Applications/Games | |
9 | Source0: http://oomadness.tuxfamily.org/downloads/%{pname}-%{version}.tar.gz | |
10 | # Source0-md5: 15f6bc003fa2da379fc93b32abe075b2 | |
11 | URL: http://oomadness.tuxfamily.org/en/py2play/ | |
12 | Requires: python-tkinter | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | Py2Play is a network game engine written in Python, and it rests on a | |
17 | Peer To Peer model (ala Napster) and not a client-server one, as it is | |
18 | usually done. | |
19 | ||
c8b84765 | 20 | %description -l pl.UTF-8 |
61cf4334 | 21 | Py2Play jest sieciowym silnikiem gier napisanym w Pythonie. Jest on |
22 | zbudowany w oparciu o model Peer To Peer (tak jak Napster), a nie | |
23 | klient-serwer, tak jak jest to zazwyczaj. | |
24 | ||
25 | %prep | |
26 | %setup -q -n %{pname}-%{version} | |
27 | ||
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | ||
31 | %{__python} setup.py install \ | |
32 | --root=$RPM_BUILD_ROOT \ | |
33 | --install-purelib=%{py_sitedir} | |
34 | ||
35 | %clean | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %files | |
39 | %defattr(644,root,root,755) | |
40 | %doc README | |
41 | %dir %{py_sitedir}/py2play | |
42 | %{py_sitedir}/py2play/*.py[co] |