]> git.pld-linux.org Git - packages/atanks.git/blob - atanks.spec
- formatting
[packages/atanks.git] / atanks.spec
1 %define _rc     rc2
2 Summary:        Atomic Tanks - a game similiar to Scorched Earth and Worms
3 Summary(pl):    Atomic Tanks - gra podobna do Scorched Earth oraz Worms
4 Name:           atanks
5 Version:        1.0.0
6 Release:        0.%{_rc}.1
7 Epoch:          1
8 License:        GPL
9 Group:          X11/Application/Games
10 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}-%{_rc}.tar.gz
11 # Source0-md5:  807a00c0beb41a310abab96005296b22
12 Source1:        %{name}.desktop
13 Source2:        %{name}.png
14 Patch0:         %{name}-datadir.patch
15 URL:            http://atanks.sourceforge.net/
16 BuildRequires:  allegro-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _bindir         %{_prefix}/games
20
21 %description
22 Atomic Tanks is a Scorched Earth clone similar to the Worms series of
23 games. Annihilate the other tanks to earn money, then spend it on
24 bigger and better shields and weapons to wipe out the opposition.
25 Features a wide array of weapons, AI players, destructible landscape,
26 weather, parachutes, teleports and a wide range of other features.
27
28 %description -l pl
29 Atomic Tanks to klon Scorched Earth, podobny do serii gier ,,Worms''.
30 Zniszcz inne czo³gi ¿eby zarobiæ pieni±dze, potem wydaj je na wiêksze
31 i lepsze os³ony i broñ ¿eby zmia¿d¿yæ przeciwników. Zaletami gry s±:
32 du¿y asortyment broni, gracze sterowani przez komputer, niszczalny
33 teren, ró¿ne warunki pogodowe, spadochrony, teleporty i 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 Changelog INSTRUCTIONS README readme.linux tanks.txt TODO
62 %attr(755,root,root) %{_bindir}/*
63 %{_datadir}/games/%{name}
64 %{_desktopdir}/*
65 %{_pixmapsdir}/*
This page took 0.069137 seconds and 4 git commands to generate.