]>
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 | |
d2fd88fd | 6 | Release: 3 |
61cf4334 | 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/ | |
f990c4f6 | 12 | BuildRequires: python-modules |
13 | BuildRequires: rpm-pythonprov | |
61cf4334 | 14 | Requires: python-tkinter |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | Py2Play is a network game engine written in Python, and it rests on a | |
19 | Peer To Peer model (ala Napster) and not a client-server one, as it is | |
20 | usually done. | |
21 | ||
c8b84765 | 22 | %description -l pl.UTF-8 |
61cf4334 | 23 | Py2Play jest sieciowym silnikiem gier napisanym w Pythonie. Jest on |
24 | zbudowany w oparciu o model Peer To Peer (tak jak Napster), a nie | |
25 | klient-serwer, tak jak jest to zazwyczaj. | |
26 | ||
27 | %prep | |
28 | %setup -q -n %{pname}-%{version} | |
29 | ||
30 | %install | |
31 | rm -rf $RPM_BUILD_ROOT | |
32 | ||
1dc97367 | 33 | %py_install \ |
61cf4334 | 34 | --install-purelib=%{py_sitedir} |
35 | ||
36 | %clean | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %files | |
40 | %defattr(644,root,root,755) | |
41 | %doc README | |
42 | %dir %{py_sitedir}/py2play | |
43 | %{py_sitedir}/py2play/*.py[co] |