]> git.pld-linux.org Git - packages/castle-combat.git/blame - castle-combat.spec
- 0.8.1
[packages/castle-combat.git] / castle-combat.spec
CommitLineData
22383e2c 1Summary: castle-combat - enclose land and destroy your opponent's castle
2572eca3 2Summary(pl.UTF-8): castle-combat - zdobądź ziemię i zniszcz zamki przeciwnika
22383e2c 3Name: castle-combat
0b8e91e6 4Version: 0.8.1
22383e2c 5Release: 1
6License: GPL
7Group: X11/Applications/Games
0b8e91e6 8Source0: http://dl.sourceforge.net/castle-combat/%{name}-%{version}.tar.gz
9# Source0-md5: 63380e9fc3d4d9de780b3cc52c822ea6
22383e2c 10URL: http://user.cs.tu-berlin.de/~karlb/castle-combat/
0b8e91e6 11BuildRequires: python-Numeric
12BuildRequires: python-TwistedCore
13BuildRequires: python-pygame-devel
14BuildRequires: rpm-pythonprov
22383e2c 15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18castle-combat is a game where up to four players build castle walls,
19place cannons inside these walls, and shoot at the walls of their
20enemy(s). If a player can't build a complete wall around one of his
21castles, he loses. The last surviving player wins.
22
d77dc8f8
JR
23%description -l pl.UTF-8
24castle-combat to gra, w której do czterech graczy buduje zamkowe mury,
25ustawia na nich armaty i strzela w mury swoich wrogów. Jeżeli gracz
26nie może otoczyć ani jednego ze swoich zamków murami przegrywa.
27Wygrywa ostatni, który przetrwa.
22383e2c 28
29%prep
30%setup -q
0b8e91e6 31%{__sed} -i 's@src@%{py_sitescriptdir}/src@' castle-combat.py
32%{__sed} -i 's@"data"@"%{py_sitescriptdir}/data"@' src/common.py
22383e2c 33
34%build
0b8e91e6 35python setup.py build
22383e2c 36
37%install
38rm -rf $RPM_BUILD_ROOT
4636f929 39
0b8e91e6 40python setup.py install \
41 --root=$RPM_BUILD_ROOT
42
43cp -r data/ $RPM_BUILD_ROOT%{py_sitescriptdir}
22383e2c 44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
0b8e91e6 50%doc README TODO
22383e2c 51%attr(755,root,root) %{_bindir}/*
0b8e91e6 52%{py_sitescriptdir}/*
This page took 0.162248 seconds and 4 git commands to generate.