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