]> git.pld-linux.org Git - packages/atanks.git/blob - atanks.spec
- don't use /usr/games, default prefix is enougth
[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 %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
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 -p1
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 readme.linux tanks.txt TODO
60 %attr(755,root,root) %{_bindir}/*
61 %{_datadir}/%{name}
62 %{_desktopdir}/*
63 %{_pixmapsdir}/*
This page took 0.050193 seconds and 3 git commands to generate.