]> git.pld-linux.org Git - packages/atanks.git/blob - atanks.spec
- better pl
[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 Trzeba zniszczyæ inne czo³gi ¿eby zarobiæ pieni±dze, potem wydaæ je na
31 wiêksze i lepsze os³ony i broñ ¿eby zmia¿d¿yæ przeciwników. Zaletami
32 gry s±: du¿y asortyment broni, gracze sterowani przez komputer,
33 niszczalny teren, ró¿ne warunki pogodowe, spadochrony, teleporty i
34 inne.
35
36 %prep
37 %setup -q -n %{name}
38 %patch0 -p1
39
40 %build
41 %{__make} \
42         DATA_DIR="%{_datadir}/games/%{name}" \
43         CFLAGS="%{rpmcflags} -Iinclude"
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/games/%{name}} \
48         $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
49
50 install *.dat $RPM_BUILD_ROOT%{_datadir}/games/%{name}
51 install {credits,gloat,instr,revenge}.txt $RPM_BUILD_ROOT%{_datadir}/games/%{name}
52 install atanks $RPM_BUILD_ROOT%{_bindir}
53
54 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
55 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc Changelog INSTRUCTIONS README readme.linux tanks.txt TODO
63 %attr(755,root,root) %{_bindir}/*
64 %{_datadir}/games/%{name}
65 %{_desktopdir}/*
66 %{_pixmapsdir}/*
This page took 0.053643 seconds and 3 git commands to generate.