%define name tofu %define oname Tofu %define version 0.5 %define release %mkrel 8 Summary: Network game engine written with Python and Twisted Name: %{name} Version: %{version} Release: %{release} Source0: %{oname}-%{version}.tar.bz2 License: GPLv2+ Group: Development/Python URL: http://home.gna.org/oomadness/en/tofu/ BuildRoot: %{_tmppath}/%{name}-buildroot %py_requires -d BuildArch: noarch Requires: python-twisted-core %description Tofu is a practical high-level network game engine, written in Python and based on Twisted. Tofu is designed for games where players play one or several characters across several levels. This includes jump'n run games, RPG or RTS, but not Tetris-like games or board game (chess, go,...). It currently support client-server and single player mode; peer-to-peer mode may be added later. Tofu is Free Software, under the GNU LGPL license. %prep %setup -q -n %{oname}-%{version} %build python setup.py build %install rm -rf %{buildroot} python setup.py install --root %{buildroot} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README demo/* %attr(0755,root,root) %{python_sitelib}/*