1 | Summary: Kill and destroy as many targets as possible within 3 minutes |
---|
2 | Summary(ja): 3分間で出来るだけ多くの敵を倒すゲーム |
---|
3 | Name: barrage |
---|
4 | Version: 1.0.1 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | License: GPL |
---|
7 | Group: Applications/Games |
---|
8 | Source: %{name}-%{version}.tar.gz |
---|
9 | Source1: %{name}.desktop |
---|
10 | Source2: %{name}.bmp |
---|
11 | URL: http://lgames.sourceforge.net/index.php?project=Barrage |
---|
12 | Prefix: /usr |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | Vendor: Project Vine |
---|
15 | Distribution: Vine Linux |
---|
16 | Packager: OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp> |
---|
17 | BuildRequires: SDL-devel >= 1.2.0 |
---|
18 | Requires: SDL >= 1.2.0 |
---|
19 | BuildRequires: SDL_mixer-devel >= 1.2.0 |
---|
20 | Requires: SDL_mixer >= 1.2.0 |
---|
21 | |
---|
22 | %description |
---|
23 | Barrage is a rather violent action game with the objective to kill |
---|
24 | and destroy as many targets as possible within 3 minutes. The player |
---|
25 | controls a gun that may either fire small or large grenades at |
---|
26 | soldiers, jeeps and tanks. It is a very simple gameplay though it is |
---|
27 | not that easy to get high scores. |
---|
28 | |
---|
29 | %description -l ja |
---|
30 | かなり暴力的なゲーム。 |
---|
31 | 砲台を操作して大小の手榴弾を発射し、 |
---|
32 | 3分間で出来るだけ多くの兵士、ジープ、戦車を倒そう。 |
---|
33 | 操作はとても簡単ですが、高得点を取るのはなかなか困難です。 |
---|
34 | |
---|
35 | %prep |
---|
36 | %setup |
---|
37 | |
---|
38 | %build |
---|
39 | ./configure --prefix=%{prefix} |
---|
40 | make |
---|
41 | |
---|
42 | %install |
---|
43 | rm -fR $RPM_BUILD_ROOT |
---|
44 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
45 | |
---|
46 | # add desktop |
---|
47 | mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications |
---|
48 | install -p -m0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop |
---|
49 | |
---|
50 | # add desktop icon |
---|
51 | mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps |
---|
52 | install -p -m0644 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}.bmp |
---|
53 | |
---|
54 | %clean |
---|
55 | rm -fR $RPM_BUILD_ROOT |
---|
56 | |
---|
57 | %files |
---|
58 | %defattr(-, root, root) |
---|
59 | %{prefix}/share/games/* |
---|
60 | %{prefix}/bin/* |
---|
61 | %{_datadir}/applications/* |
---|
62 | %{_datadir}/pixmaps/* |
---|
63 | |
---|
64 | %changelog |
---|
65 | * Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.1-2vl5 |
---|
66 | - applied new versioning policy, spec in utf-8 |
---|
67 | |
---|
68 | * Mon Oct 9 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.1-1vl2 |
---|
69 | - rebuilt for Vine Linux 4.0 |
---|
70 | - changed Group to Applications/Games |
---|
71 | |
---|
72 | * Tue Jan 25 2005 OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp> |
---|
73 | - 1.0.1-1vl1 |
---|
74 | - add icon |
---|
75 | - change desktop entry |
---|
76 | - based on original src.rpm package |
---|