]> git.pld-linux.org Git - packages/atanks.git/blob - atanks.spec
- up to 2.2
[packages/atanks.git] / atanks.spec
1 Summary:        Atomic Tanks - a game similiar to Scorched Earth and Worms
2 Summary(pl.UTF-8):      Atomic Tanks - gra podobna do Scorched Earth oraz Worms
3 Name:           atanks
4 Version:        2.2
5 Release:        1
6 Epoch:          1
7 License:        GPL
8 Group:          X11/Applications/Games
9 Source0:        http://dl.sourceforge.net/atanks/%{name}-%{version}.tar.gz
10 # Source0-md5:  dcb1c5b244755714edf903b2d3e87ec6
11 Source1:        %{name}.desktop
12 Source2:        %{name}.png
13 Patch0:         %{name}-datadir.patch
14 URL:            http://atanks.sourceforge.net/
15 #BuildRequires: allegro-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Atomic Tanks is a Scorched Earth clone similar to the Worms series of
20 games. Annihilate the other tanks to earn money, then spend it on
21 bigger and better shields and weapons to wipe out the opposition.
22 Features a wide array of weapons, AI players, destructible landscape,
23 weather, parachutes, teleports and a wide range of other features.
24
25 %description -l pl.UTF-8
26 Atomic Tanks to klon Scorched Earth, podobny do serii gier ,,Worms''.
27 Trzeba zniszczyć inne czołgi żeby zarobić pieniądze, potem wydać je na
28 większe i lepsze osłony i broń żeby zmiażdżyć przeciwników. Zaletami
29 gry są: duży asortyment broni, gracze sterowani przez komputer,
30 niszczalny teren, różne warunki pogodowe, spadochrony, teleporty i
31 inne.
32
33 %prep
34 %setup -q -n %{name}
35 %patch0 -p0
36
37 %build
38 %{__make} \
39         DATA_DIR="%{_datadir}/%{name}" \
40         CFLAGS="%{rpmcflags} -Iinclude"
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}} \
45         $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
46
47 install *.dat $RPM_BUILD_ROOT%{_datadir}/%{name}
48 install {credits,gloat,instr,revenge}.txt $RPM_BUILD_ROOT%{_datadir}/%{name}
49 install atanks $RPM_BUILD_ROOT%{_bindir}
50
51 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
52 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc BUGS Changelog credits.txt Help.txt instr.txt README TODO
60 %attr(755,root,root) %{_bindir}/*
61 %{_datadir}/%{name}
62 %{_desktopdir}/*.desktop
63 %{_pixmapsdir}/*
This page took 0.042673 seconds and 3 git commands to generate.