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