]> git.pld-linux.org Git - packages/atanks.git/blob - atanks.spec
- fix mkdir() function problem
[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.5
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:  4bcad6701a42424b1746becca433da8c
11 Patch0:         %{name}-flags.patch
12 Patch1:         %{name}-install.patch
13 Patch2:         %{name}-desktop.patch
14 Patch3:         %{name}-mkdir.patch
15 URL:            http://atanks.sourceforge.net/
16 BuildRequires:  allegro-devel >= 4.4.0
17 BuildRequires:  libstdc++-devel
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 %patch3 -p1
41
42 %build
43 %{__make} \
44         CC="%{__cc}" \
45         CPP="%{__cxx}" \
46         CFLAGS="%{rpmcflags}" \
47         LDFLAGS="%{rpmldflags}" \
48         LIBS="`allegro-config --libs`"
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 install atanks.desktop $RPM_BUILD_ROOT%{_desktopdir}
58 install atanks.png  $RPM_BUILD_ROOT%{_pixmapsdir}
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc Changelog credits.txt text/* README* TODO
66 %attr(755,root,root) %{_bindir}/atanks
67 %{_datadir}/games/%{name}
68 %{_desktopdir}/atanks.desktop
69 %{_pixmapsdir}/atanks.png
This page took 0.031033 seconds and 4 git commands to generate.