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