]>
Commit | Line | Data |
---|---|---|
1 | Summary: Kill and destroy as many target as possible in 3 minutes | |
2 | Summary(pl.UTF-8): Zniszcz jak najwięcej wrogów w przeciągu 3 minut | |
3 | Name: barrage | |
4 | Version: 1.0.3 | |
5 | Release: 0.9 | |
6 | License: GPL v2 | |
7 | Group: X11/Applications/Games | |
8 | Source0: http://dl.sourceforge.net/lgames/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: d13385c4911cda0ed72075d1eacf9ea1 | |
10 | Source1: %{name}.png | |
11 | Patch0: %{name}-desktop.patch | |
12 | URL: http://lgames.sourceforge.net/index.php?project=Barrage | |
13 | BuildRequires: SDL_image-devel | |
14 | BuildRequires: SDL_mixer-devel | |
15 | BuildRequires: autoconf | |
16 | BuildRequires: automake | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | Barrage is a rather violent action game with the objective to kill and | |
21 | destroy as many targets as possible within 3 minutes. The player | |
22 | controls a gun that may either fire small or large grenades at | |
23 | soldiers, jeeps and tanks. It is a very simple gameplay though it is | |
24 | not that easy to get high scores. | |
25 | ||
26 | %description -l pl.UTF-8 | |
27 | Barrage jest dość brutalną grą akcji, której celem jest zniszczenie | |
28 | jak największej ilości przeciwników w przeciągu 3 minut. Gracz steruje | |
29 | bronią, która może wystrzeliwać zarówno małe jak i duże granaty w | |
30 | kierunku żołnierzy, jeepów i czołgów. Zasady są proste, lecz osiągnięcie | |
31 | dobrych wyników jest trudnym zadaniem. | |
32 | ||
33 | %prep | |
34 | %setup -q | |
35 | # %patch0 -p1 | |
36 | ||
37 | %build | |
38 | %{__aclocal} | |
39 | %{__autoconf} | |
40 | %{__autoheader} | |
41 | %{__automake} | |
42 | %configure | |
43 | %{__make} | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %{__make} install \ | |
49 | DESTDIR=$RPM_BUILD_ROOT | |
50 | ||
51 | install -D %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png | |
52 | ||
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
58 | %doc ChangeLog README AUTHORS | |
59 | %attr(2755,root,games) %{_bindir}/* | |
60 | %{_datadir}/games/%{name} | |
61 | %{_desktopdir}/*.desktop | |
62 | %{_pixmapsdir}/*.png |