3 |
Summary: Network game engine written with Python and Twisted |
Summary: Network game engine written with Python and Twisted |
4 |
Name: tofu |
Name: tofu |
5 |
Version: 0.5 |
Version: 0.5 |
6 |
Release: %mkrel 16 |
Release: %mkrel 17 |
|
Source0: %{oname}-%{version}.tar.bz2 |
|
7 |
License: GPLv2+ |
License: GPLv2+ |
8 |
Group: Development/Python |
Group: Development/Python |
9 |
URL: http://home.gna.org/oomadness/en/tofu/ |
URL: http://home.gna.org/oomadness/en/tofu/ |
10 |
BuildRequires: python |
Source0: %{oname}-%{version}.tar.bz2 |
|
BuildRequires: pkgconfig(python) |
|
11 |
BuildArch: noarch |
BuildArch: noarch |
12 |
Requires: python-twisted-core |
BuildRequires: pkgconfig(python2) |
13 |
|
|
14 |
|
Requires: python2-twisted |
15 |
|
|
16 |
%description |
%description |
17 |
Tofu is a practical high-level network game engine, written in Python and |
Tofu is a practical high-level network game engine, written in Python and |
24 |
It currently support client-server and single player mode; peer-to-peer mode |
It currently support client-server and single player mode; peer-to-peer mode |
25 |
may be added later. |
may be added later. |
26 |
|
|
|
Tofu is Free Software, under the GNU LGPL license. |
|
|
|
|
27 |
%prep |
%prep |
28 |
%setup -q -n %{oname}-%{version} |
%setup -q -n %{oname}-%{version} |
29 |
|
|
30 |
%build |
%build |
31 |
python setup.py build |
%py2_build |
32 |
|
|
33 |
%install |
%install |
34 |
python setup.py install --root %{buildroot} |
%py2_install |
|
|
|
35 |
|
|
36 |
%files |
%files |
37 |
%doc README demo/* |
%doc README demo/* |
38 |
%attr(0755,root,root) %{python_sitelib}/* |
%{python2_sitelib}/* |
|
|
|
|
|
|