]>
Commit | Line | Data |
---|---|---|
2001aa42 | 1 | Summary: Atomic Tanks - a game similiar to Scorched Earth and Worms |
da400709 | 2 | Summary(pl.UTF-8): Atomic Tanks - gra podobna do Scorched Earth oraz Worms |
2001aa42 | 3 | Name: atanks |
995646af RT |
4 | Version: 2.0 |
5 | Release: 1 | |
430b57cd | 6 | Epoch: 1 |
2001aa42 | 7 | License: GPL |
e0d1afd9 | 8 | Group: X11/Applications/Games |
cd046ab8 | 9 | Source0: http://dl.sourceforge.net/atanks/%{name}-%{version}.tar.gz |
995646af | 10 | # Source0-md5: 1648632a530d0a9aaf6d3ebaca2d3f00 |
430b57cd | 11 | Source1: %{name}.desktop |
12 | Source2: %{name}.png | |
2001aa42 | 13 | Patch0: %{name}-datadir.patch |
b7a1f822 | 14 | Patch1: %{name}-gcc34.patch |
2001aa42 SZ |
15 | URL: http://atanks.sourceforge.net/ |
16 | BuildRequires: allegro-devel | |
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 |
ff971b71 | 27 | Atomic Tanks to klon Scorched Earth, podobny do serii gier ,,Worms''. |
da400709 JR |
28 | Trzeba zniszczyć inne czołgi żeby zarobić pieniądze, potem wydać je na |
29 | większe i lepsze osłony i broń żeby zmiażdżyć przeciwników. Zaletami | |
30 | gry są: duży asortyment broni, gracze sterowani przez komputer, | |
31 | niszczalny teren, różne warunki pogodowe, spadochrony, teleporty i | |
e5326aa7 | 32 | inne. |
2001aa42 SZ |
33 | |
34 | %prep | |
35 | %setup -q -n %{name} | |
36 | %patch0 -p1 | |
b7a1f822 | 37 | %patch1 -p1 |
2001aa42 SZ |
38 | |
39 | %build | |
40 | %{__make} \ | |
8647ceaf | 41 | DATA_DIR="%{_datadir}/%{name}" \ |
892d3610 | 42 | CFLAGS="%{rpmcflags} -Iinclude" |
2001aa42 SZ |
43 | |
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
8647ceaf | 46 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}} \ |
430b57cd | 47 | $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
2001aa42 | 48 | |
8647ceaf | 49 | install *.dat $RPM_BUILD_ROOT%{_datadir}/%{name} |
50 | install {credits,gloat,instr,revenge}.txt $RPM_BUILD_ROOT%{_datadir}/%{name} | |
2001aa42 SZ |
51 | install atanks $RPM_BUILD_ROOT%{_bindir} |
52 | ||
430b57cd | 53 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
54 | install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} | |
55 | ||
2001aa42 SZ |
56 | %clean |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %files | |
60 | %defattr(644,root,root,755) | |
bd83170d | 61 | %doc BUGS Changelog credits.txt Help.txt instr.txt README TODO |
2001aa42 | 62 | %attr(755,root,root) %{_bindir}/* |
8647ceaf | 63 | %{_datadir}/%{name} |
454d7f49 | 64 | %{_desktopdir}/*.desktop |
430b57cd | 65 | %{_pixmapsdir}/* |