]>
Commit | Line | Data |
---|---|---|
2001aa42 | 1 | Summary: Atomic Tanks - a game similiar to Scorched Earth and Worms |
0d8d50c5 | 2 | Summary(pl.UTF-8): Atomic Tanks - gra podobna do Scorched Earth oraz Worms |
2001aa42 | 3 | Name: atanks |
e0cffafe | 4 | Version: 4.5 |
995646af | 5 | Release: 1 |
430b57cd | 6 | Epoch: 1 |
2001aa42 | 7 | License: GPL |
e0d1afd9 | 8 | Group: X11/Applications/Games |
dba98bb3 | 9 | Source0: http://downloads.sourceforge.net/atanks/%{name}-%{version}.tar.gz |
e0cffafe | 10 | # Source0-md5: 4bcad6701a42424b1746becca433da8c |
dba98bb3 | 11 | Patch0: %{name}-flags.patch |
12 | Patch1: %{name}-install.patch | |
13 | Patch2: %{name}-desktop.patch | |
592bbc29 | 14 | Patch3: %{name}-mkdir.patch |
2001aa42 | 15 | URL: http://atanks.sourceforge.net/ |
dba98bb3 | 16 | BuildRequires: allegro-devel >= 4.4.0 |
db188463 | 17 | BuildRequires: libstdc++-devel |
2001aa42 SZ |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
2001aa42 | 20 | %description |
ff971b71 JB |
21 | Atomic Tanks is a Scorched Earth clone similar to the Worms series of |
22 | games. Annihilate the other tanks to earn money, then spend it on | |
23 | bigger and better shields and weapons to wipe out the opposition. | |
24 | Features a wide array of weapons, AI players, destructible landscape, | |
25 | weather, parachutes, teleports and a wide range of other features. | |
2001aa42 | 26 | |
da400709 | 27 | %description -l pl.UTF-8 |
dba98bb3 | 28 | Atomic Tanks to klon Scorched Earth, podobny do serii gier "Worms". W |
29 | grze należy niszczyć inne czołgi, aby zarobić pieniądze, które można | |
30 | przeznaczyć na nowe, lepsze tarcze oraz broń, która pomoże zwyciężyć | |
31 | przeciwników. Zaletami gry są: duży asortyment broni, komputerowi | |
32 | gracze, niszczalny teren, różne warunki pogodowe, spadochrony, | |
33 | teleporty i inne. | |
2001aa42 SZ |
34 | |
35 | %prep | |
dba98bb3 | 36 | %setup -q |
37 | %patch0 -p1 | |
38 | %patch1 -p1 | |
39 | %patch2 -p1 | |
592bbc29 | 40 | %patch3 -p1 |
2001aa42 SZ |
41 | |
42 | %build | |
43 | %{__make} \ | |
dba98bb3 | 44 | CC="%{__cc}" \ |
45 | CPP="%{__cxx}" \ | |
46 | CFLAGS="%{rpmcflags}" \ | |
47 | LDFLAGS="%{rpmldflags}" \ | |
48 | LIBS="`allegro-config --libs`" | |
2001aa42 SZ |
49 | |
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
dba98bb3 | 52 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
2001aa42 | 53 | |
dba98bb3 | 54 | %{__make} install \ |
55 | DESTDIR=$RPM_BUILD_ROOT | |
2001aa42 | 56 | |
dba98bb3 | 57 | install atanks.desktop $RPM_BUILD_ROOT%{_desktopdir} |
58 | install atanks.png $RPM_BUILD_ROOT%{_pixmapsdir} | |
430b57cd | 59 | |
2001aa42 SZ |
60 | %clean |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
dba98bb3 | 65 | %doc Changelog credits.txt text/* README* TODO |
66 | %attr(755,root,root) %{_bindir}/atanks | |
67 | %{_datadir}/games/%{name} | |
68 | %{_desktopdir}/atanks.desktop | |
69 | %{_pixmapsdir}/atanks.png |