]> git.pld-linux.org Git - packages/atanks.git/blob - atanks.spec
a5ed94f1e243159264206591e847ff17998ed8fa
[packages/atanks.git] / atanks.spec
1 Summary:        Atomic Tanks - a game similiar to Scorched Earth and Worms
2 Summary(pl):    Atomic Tanks - gra podobna do Scorched Earth oraz Worms
3 Name:           atanks
4 Version:        1.1.0
5 Release:        1
6 Epoch:          1
7 License:        GPL
8 Group:          X11/Application/Games
9 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
10 # Source0-md5:  27e47c942dd95f1b4ac72216c8f30d30
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 %define         _bindir         %{_prefix}/games
19
20 %description
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.
26
27 %description -l pl
28 Atomic Tanks to klon Scorched Earth, podobny do serii gier ,,Worms''.
29 Trzeba zniszczyæ inne czo³gi ¿eby zarobiæ pieni±dze, potem wydaæ je na
30 wiêksze i lepsze os³ony i broñ ¿eby zmia¿d¿yæ przeciwników. Zaletami
31 gry s±: du¿y asortyment broni, gracze sterowani przez komputer,
32 niszczalny teren, ró¿ne warunki pogodowe, spadochrony, teleporty i
33 inne.
34
35 %prep
36 %setup -q -n %{name}
37 %patch0 -p1
38
39 %build
40 %{__make} \
41         DATA_DIR="%{_datadir}/games/%{name}" \
42         CFLAGS="%{rpmcflags} -Iinclude"
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/games/%{name}} \
47         $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
48
49 install *.dat $RPM_BUILD_ROOT%{_datadir}/games/%{name}
50 install {credits,gloat,instr,revenge}.txt $RPM_BUILD_ROOT%{_datadir}/games/%{name}
51 install atanks $RPM_BUILD_ROOT%{_bindir}
52
53 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
54 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc BUGS Changelog credits.txt Help.txt instr.txt README readme.linux tanks.txt TODO
62 %attr(755,root,root) %{_bindir}/*
63 %{_datadir}/games/%{name}
64 %{_desktopdir}/*
65 %{_pixmapsdir}/*
This page took 0.068432 seconds and 2 git commands to generate.