]>
Commit | Line | Data |
---|---|---|
22383e2c | 1 | Summary: castle-combat - enclose land and destroy your opponent's castle |
2572eca3 | 2 | Summary(pl.UTF-8): castle-combat - zdobądź ziemię i zniszcz zamki przeciwnika |
22383e2c | 3 | Name: castle-combat |
4 | Version: 0.7.4 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: X11/Applications/Games | |
8 | Source0: http://user.cs.tu-berlin.de/~karlb/castle-combat/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 1cf225fbcfbee2b9a00757609fd054bb | |
10 | URL: http://user.cs.tu-berlin.de/~karlb/castle-combat/ | |
11 | Patch0: %{name}-SDL_net.patch | |
12 | BuildRequires: SDL-devel | |
13 | BuildRequires: SDL_net-devel | |
14 | BuildRequires: SDL_mixer-devel | |
4636f929 JB |
15 | BuildRequires: autoconf |
16 | BuildRequires: automake | |
22383e2c | 17 | BuildRequires: libpng-devel |
18 | BuildRequires: zlib-devel | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | castle-combat is a game where up to four players build castle walls, | |
23 | place cannons inside these walls, and shoot at the walls of their | |
24 | enemy(s). If a player can't build a complete wall around one of his | |
25 | castles, he loses. The last surviving player wins. | |
26 | ||
d77dc8f8 JR |
27 | %description -l pl.UTF-8 |
28 | castle-combat to gra, w której do czterech graczy buduje zamkowe mury, | |
29 | ustawia na nich armaty i strzela w mury swoich wrogów. Jeżeli gracz | |
30 | nie może otoczyć ani jednego ze swoich zamków murami przegrywa. | |
31 | Wygrywa ostatni, który przetrwa. | |
22383e2c | 32 | |
33 | %prep | |
34 | %setup -q | |
35 | %patch0 -p1 | |
36 | ||
37 | %build | |
38 | %{__aclocal} | |
39 | %{__automake} | |
40 | %{__autoconf} | |
41 | %configure | |
42 | %{__make} | |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
4636f929 | 46 | |
22383e2c | 47 | %{__make} install \ |
48 | DESTDIR=$RPM_BUILD_ROOT | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %doc AUTHORS ChangeLog README TODO | |
56 | %attr(755,root,root) %{_bindir}/* | |
57 | %{_datadir}/castle-combat | |
58 | %{_mandir}/man6/* |