]> git.pld-linux.org Git - packages/atanks.git/blob - atanks.spec
- updated (at last!) to 4.4 version
[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:        4.4
5 Release:        1
6 Epoch:          1
7 License:        GPL
8 Group:          X11/Applications/Games
9 Source0:        http://downloads.sourceforge.net/atanks/%{name}-%{version}.tar.gz
10 # Source0-md5:  451ddeb228e263ff6f90a21e8cf7783e
11 Source1:        %{name}.desktop
12 Source2:        %{name}.png
13 Patch0:         %{name}-flags.patch
14 Patch1:         %{name}-install.patch
15 Patch2:         %{name}-desktop.patch
16 URL:            http://atanks.sourceforge.net/
17 BuildRequires:  allegro-devel >= 4.4.0
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Atomic Tanks is a Scorched Earth clone similar to the Worms series of
22 games. Annihilate the other tanks to earn money, then spend it on
23 bigger and better shields and weapons to wipe out the opposition.
24 Features a wide array of weapons, AI players, destructible landscape,
25 weather, parachutes, teleports and a wide range of other features.
26
27 %description -l pl.UTF-8
28 Atomic Tanks to klon Scorched Earth, podobny do serii gier "Worms". W
29 grze należy niszczyć inne czołgi, aby zarobić pieniądze, które można
30 przeznaczyć na nowe, lepsze tarcze oraz broń, która pomoże zwyciężyć
31 przeciwników. Zaletami gry są: duży asortyment broni, komputerowi
32 gracze, niszczalny teren, różne warunki pogodowe, spadochrony,
33 teleporty i inne.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38 %patch1 -p1
39 %patch2 -p1
40
41 %build
42 %{__make} \
43         CC="%{__cc}" \
44         CPP="%{__cxx}" \
45         CFLAGS="%{rpmcflags}" \
46         LDFLAGS="%{rpmldflags}" \
47         LIBS="`allegro-config --libs`"
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 install atanks.desktop $RPM_BUILD_ROOT%{_desktopdir}
57 install atanks.png  $RPM_BUILD_ROOT%{_pixmapsdir}
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc Changelog credits.txt text/* README* TODO
65 %attr(755,root,root) %{_bindir}/atanks
66 %{_datadir}/games/%{name}
67 %{_desktopdir}/atanks.desktop
68 %{_pixmapsdir}/atanks.png
This page took 0.076853 seconds and 4 git commands to generate.