]> git.pld-linux.org Git - packages/atanks.git/blob - atanks.spec
5e63584b75786bc84db757d1599f36f5790a0b4c
[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.7
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:  3bc64c0f1ed0715f17a04a622645b2af
11 Patch0:         %{name}-flags.patch
12 Patch1:         %{name}-install.patch
13 Patch2:         %{name}-desktop.patch
14 URL:            http://atanks.sourceforge.net/
15 BuildRequires:  allegro-devel >= 4.4.0
16 BuildRequires:  libstdc++-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". W
28 grze należy niszczyć inne czołgi, aby zarobić pieniądze, które można
29 przeznaczyć na nowe, lepsze tarcze oraz broń, która pomoże zwyciężyć
30 przeciwników. Zaletami gry są: duży asortyment broni, komputerowi
31 gracze, niszczalny teren, różne warunki pogodowe, spadochrony,
32 teleporty i inne.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37 %patch1 -p1
38 %patch2 -p1
39
40 %build
41 %{__make} \
42         CC="%{__cc}" \
43         CPP="%{__cxx}" \
44         CFLAGS="%{rpmcflags}" \
45         LDFLAGS="%{rpmldflags}" \
46         LIBS="`allegro-config --libs` -lpthread"
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 install atanks.desktop $RPM_BUILD_ROOT%{_desktopdir}
56 install atanks.png  $RPM_BUILD_ROOT%{_pixmapsdir}
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc Changelog credits.txt text/* README* TODO
64 %attr(755,root,root) %{_bindir}/atanks
65 %{_datadir}/games/%{name}
66 %{_desktopdir}/atanks.desktop
67 %{_pixmapsdir}/atanks.png
This page took 0.031642 seconds and 3 git commands to generate.