]> git.pld-linux.org Git - packages/atanks.git/blob - atanks.spec
- do not list %{_desktopdir}/* -- dangerous, could list directories unexpectedly
[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:        3
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:  27e47c942dd95f1b4ac72216c8f30d30
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
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 readme.linux tanks.txt TODO
62 %attr(755,root,root) %{_bindir}/*
63 %{_datadir}/%{name}
64 %{_desktopdir}/*.desktop
65 %{_pixmapsdir}/*
This page took 0.065993 seconds and 3 git commands to generate.