|
%define name tofu |
|
1 |
%define oname Tofu |
%define oname Tofu |
|
%define version 0.5 |
|
|
%define release %mkrel 11 |
|
2 |
|
|
3 |
Summary: Network game engine written with Python and Twisted |
Summary: Network game engine written with Python and Twisted |
4 |
Name: %{name} |
Name: tofu |
5 |
Version: %{version} |
Version: 0.5 |
6 |
Release: %{release} |
Release: %mkrel 11 |
7 |
Source0: %{oname}-%{version}.tar.bz2 |
Source0: %{oname}-%{version}.tar.bz2 |
8 |
License: GPLv2+ |
License: GPLv2+ |
9 |
Group: Development/Python |
Group: Development/Python |
10 |
URL: http://home.gna.org/oomadness/en/tofu/ |
URL: http://home.gna.org/oomadness/en/tofu/ |
11 |
BuildRoot: %{_tmppath}/%{name}-buildroot |
BuildRequires: python |
12 |
%py_requires -d |
BuildRequires: python-devel |
13 |
BuildArch: noarch |
BuildArch: noarch |
14 |
Requires: python-twisted-core |
Requires: python-twisted-core |
15 |
|
|
33 |
python setup.py build |
python setup.py build |
34 |
|
|
35 |
%install |
%install |
|
rm -rf %{buildroot} |
|
36 |
python setup.py install --root %{buildroot} |
python setup.py install --root %{buildroot} |
37 |
|
|
38 |
|
|
|
%clean |
|
|
rm -rf %{buildroot} |
|
|
|
|
39 |
%files |
%files |
|
%defattr(-,root,root) |
|
40 |
%doc README demo/* |
%doc README demo/* |
41 |
%attr(0755,root,root) %{python_sitelib}/* |
%attr(0755,root,root) %{python_sitelib}/* |
42 |
|
|