source: projects/specs/branches/6/b/barrage/barrage-vl.spec @ 5613

Revision 5613, 2.5 KB checked in by munepi, 12 years ago (diff)

updated VLSPEC

RevLine 
[521]1Summary: Kill and destroy as many targets as possible within 3 minutes
2Summary(ja): 3分間で出来るだけ多くの敵を倒すゲーム
3Name: barrage
[5613]4Version: 1.0.4
5Release: 1%{?_dist_release}
6License: GPLv2
[521]7Group: Applications/Games
8Source: %{name}-%{version}.tar.gz
[5613]9URL: http://lgames.sourceforge.net
[521]10BuildRoot: %{_tmppath}/%{name}-%{version}-root
11Vendor: Project Vine
12Distribution: Vine Linux
[5613]13
14Requires(post,postun): desktop-file-utils
[521]15BuildRequires:  SDL-devel >= 1.2.0
16Requires:       SDL >= 1.2.0
17BuildRequires:  SDL_mixer-devel >= 1.2.0
18Requires:       SDL_mixer >= 1.2.0
19
20%description
21Barrage is a rather violent action game with the objective to kill
22and destroy as many targets as possible within 3 minutes. The player
23controls a gun that may either fire small or large grenades at
24soldiers, jeeps and tanks. It is a very simple gameplay though it is
25not that easy to get high scores.
26
27%description -l ja
28かなり暴力的なゲーム。
29砲台を操作して大小の手榴弾を発射し、
303分間で出来るだけ多くの兵士、ジープ、戦車を倒そう。
31操作はとても簡単ですが、高得点を取るのはなかなか困難です。
32
33%prep
34%setup
35
36%build
[5613]37%configure --prefix=%{_prefix}
38%__make
[521]39
40%install
[5613]41%__rm -fR $RPM_BUILD_ROOT
42%__make DESTDIR=$RPM_BUILD_ROOT install
[521]43
[5613]44%clean
45%__rm -fR $RPM_BUILD_ROOT
[521]46
[5613]47%post
48touch --no-create %{_datadir}/icons/hicolor
49if [ -x %{_bindir}/gtk-update-icon-cache ]; then
50  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
51fi
52%{_bindir}/update-desktop-database --quiet %{_datadir}/applications || :
[521]53
[5613]54%postun
55%{_bindir}/update-desktop-database --quiet %{_datadir}/applications
56touch --no-create %{_datadir}/icons/hicolor
57if [ -x %{_bindir}/gtk-update-icon-cache ]; then
58  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
59fi || :
[521]60
[5613]61
[521]62%files
63%defattr(-, root, root)
[5613]64%{_datadir}/games/*
65%{_bindir}/*
[521]66%{_datadir}/applications/*
[5613]67%{_datadir}/icons/hicolor/*/apps/*
[521]68
69%changelog
[5613]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
[521]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
Note: See TracBrowser for help on using the repository browser.