]> git.pld-linux.org Git - packages/atanks.git/blob - atanks.spec
- tabs in preamble
[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.0
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:  1648632a530d0a9aaf6d3ebaca2d3f00
11 Source1:        %{name}.desktop
12 Source2:        %{name}.png
13 Patch0:         %{name}-datadir.patch
14 Patch1:         %{name}-gcc34.patch
15 URL:            http://atanks.sourceforge.net/
16 BuildRequires:  allegro-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Atomic Tanks is a Scorched Earth clone similar to the Worms series of
21 games. Annihilate the other tanks to earn money, then spend it on
22 bigger and better shields and weapons to wipe out the opposition.
23 Features a wide array of weapons, AI players, destructible landscape,
24 weather, parachutes, teleports and a wide range of other features.
25
26 %description -l pl.UTF-8
27 Atomic Tanks to klon Scorched Earth, podobny do serii gier ,,Worms''.
28 Trzeba zniszczyć inne czołgi żeby zarobić pieniądze, potem wydać je na
29 większe i lepsze osłony i broń żeby zmiażdżyć przeciwników. Zaletami
30 gry są: duży asortyment broni, gracze sterowani przez komputer,
31 niszczalny teren, różne warunki pogodowe, spadochrony, teleporty i
32 inne.
33
34 %prep
35 %setup -q -n %{name}
36 %patch0 -p1
37 %patch1 -p1
38
39 %build
40 %{__make} \
41         DATA_DIR="%{_datadir}/%{name}" \
42         CFLAGS="%{rpmcflags} -Iinclude"
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}} \
47         $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
48
49 install *.dat $RPM_BUILD_ROOT%{_datadir}/%{name}
50 install {credits,gloat,instr,revenge}.txt $RPM_BUILD_ROOT%{_datadir}/%{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 TODO
62 %attr(755,root,root) %{_bindir}/*
63 %{_datadir}/%{name}
64 %{_desktopdir}/*.desktop
65 %{_pixmapsdir}/*
This page took 0.027541 seconds and 4 git commands to generate.