]> git.pld-linux.org Git - packages/castle-combat.git/blob - castle-combat.spec
- patch to build with system SDL (by ytm)
[packages/castle-combat.git] / castle-combat.spec
1 Summary:        castle-combat - enclose land and destroy your opponent's castle
2 Summary(pl):    castle-combat - zdob±d¼ ziemiê i zniszcz zamki przeciwnika
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
15 BuildRequires:  libpng-devel
16 BuildRequires:  zlib-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 castle-combat is a game where up to four players build castle walls,
21 place cannons inside these walls, and shoot at the walls of their
22 enemy(s). If a player can't build a complete wall around one of his
23 castles, he loses. The last surviving player wins.
24
25 %description -l pl
26 castle-combat to gra, w której do czterech graczy buduje zamkowe mury,
27 ustawia nich armaty i strzela w mury swoich wrogów. Je¿eli gracz nie
28 mo¿e otoczyæ ani jednego ze swoich zamków murami przegrywa. Wygrywa
29 ostatni, który przetrwa.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34
35 %build
36 %{__aclocal}
37 %{__automake}
38 %{__autoconf}
39 %configure
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc AUTHORS ChangeLog README TODO
53 %attr(755,root,root) %{_bindir}/*
54 %{_datadir}/castle-combat
55 %{_mandir}/man6/*
This page took 0.046253 seconds and 3 git commands to generate.