source: projects/specs/trunk/b/barrage/barrage-vl.spec @ 521

Revision 521, 2.2 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: Kill and destroy as many targets as possible within 3 minutes
2Summary(ja): 3分間で出来るだけ多くの敵を倒すゲーム
3Name: barrage
4Version: 1.0.1
5Release: 2%{?_dist_release}
6License: GPL
7Group: Applications/Games
8Source: %{name}-%{version}.tar.gz
9Source1: %{name}.desktop
10Source2: %{name}.bmp
11URL: http://lgames.sourceforge.net/index.php?project=Barrage
12Prefix: /usr
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14Vendor: Project Vine
15Distribution: Vine Linux
16Packager: OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp>
17BuildRequires:  SDL-devel >= 1.2.0
18Requires:       SDL >= 1.2.0
19BuildRequires:  SDL_mixer-devel >= 1.2.0
20Requires:       SDL_mixer >= 1.2.0
21
22%description
23Barrage is a rather violent action game with the objective to kill
24and destroy as many targets as possible within 3 minutes. The player
25controls a gun that may either fire small or large grenades at
26soldiers, jeeps and tanks. It is a very simple gameplay though it is
27not that easy to get high scores.
28
29%description -l ja
30かなり暴力的なゲーム。
31砲台を操作して大小の手榴弾を発射し、
323分間で出来るだけ多くの兵士、ジープ、戦車を倒そう。
33操作はとても簡単ですが、高得点を取るのはなかなか困難です。
34
35%prep
36%setup
37
38%build
39./configure --prefix=%{prefix}
40make
41
42%install
43rm -fR $RPM_BUILD_ROOT
44make DESTDIR=$RPM_BUILD_ROOT install
45
46# add desktop
47mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
48install -p -m0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
49
50# add desktop icon
51mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps
52install -p -m0644 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}.bmp
53
54%clean
55rm -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
Note: See TracBrowser for help on using the repository browser.