source: projects/specs/trunk/x/xscavenger/xscavenger-vl.spec @ 521

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

import VineSeed package specs

Line 
1%define name xscavenger
2%define version 1.4.4
3%define release 1%{?_dist_release}
4
5Summary: Scavenger is a cool arcade/thinking game very much like Lode Runner.
6Summary(ja): ロードランナー風のゲーム
7Name: %{name}
8Version: %{version}
9Release: %{release}
10Source0: http://www.xdr.com/dash/%{name}-%{version}.tgz
11License: GNU General Public License
12Group: Applications/Games
13URL: http://www.xdr.com/dash/scavenger.html
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16
17%description
18Scavenger is a cool arcade/thinking game very much like Lode Runner.
19You have got to run around and collect objects while avoiding enemies.
20Some objects are buried and you have got to dig down to get at them.
21It is an addictive game and some of the levels are devilishly (cruelly)
22complicated to solve.
23
24
25%prep
26rm -rf ${RPM_BUILD_ROOT}
27
28%setup -q -n %{name}-%{version}/src
29
30%build
31xmkmf -a
32make scavenger
33
34%install
35make DESTDIR=${RPM_BUILD_ROOT} install
36mkdir -p ${RPM_BUILD_ROOT}/usr/share/applications
37cat >  ${RPM_BUILD_ROOT}/usr/share/applications/%{name}.desktop <<EOF
38[Desktop Entry]
39Name=Scavenger
40Comment=Scavenger is a cool arcade/thinking game very much like Lode Runner.
41TryExec=scavenger
42Exec=/usr/X11R6/bin/scavenger
43Icon=
44Terminal=0
45Type=Application
46Categories=GNOME;Application;Game
47EOF
48
49%clean
50rm -rf ${RPM_BUILD_ROOT}
51
52
53%files
54%defattr(-,root,root)
55%{_bindir}/scavenger
56%{_prefix}/lib/X11/scavenger
57/usr/share/applications/%{name}.desktop
58
59%changelog
60* Wed Oct 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.4.4-1vl5
61- applied new versioning policy, spec in utf-8
62
63* Sun Jun 3 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 1.4.4-0vl2
64- rebuild for VineSeed
65
66* Tue Mar 9 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 1.4.4-0vl1
67- initial build for Vine Linux
68
69# * Sun Jul 24 2005 1.4.4-0vl1
70# - initial build for Vine Linux
71
72# end of file
Note: See TracBrowser for help on using the repository browser.