1 | %define name xscavenger |
---|
2 | %define version 1.4.4 |
---|
3 | %define release 1%{?_dist_release} |
---|
4 | |
---|
5 | Summary: Scavenger is a cool arcade/thinking game very much like Lode Runner. |
---|
6 | Summary(ja): ロードランナー風のゲーム |
---|
7 | Name: %{name} |
---|
8 | Version: %{version} |
---|
9 | Release: %{release} |
---|
10 | Source0: http://www.xdr.com/dash/%{name}-%{version}.tgz |
---|
11 | License: GNU General Public License |
---|
12 | Group: Applications/Games |
---|
13 | URL: http://www.xdr.com/dash/scavenger.html |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | |
---|
17 | %description |
---|
18 | Scavenger is a cool arcade/thinking game very much like Lode Runner. |
---|
19 | You have got to run around and collect objects while avoiding enemies. |
---|
20 | Some objects are buried and you have got to dig down to get at them. |
---|
21 | It is an addictive game and some of the levels are devilishly (cruelly) |
---|
22 | complicated to solve. |
---|
23 | |
---|
24 | |
---|
25 | %prep |
---|
26 | rm -rf ${RPM_BUILD_ROOT} |
---|
27 | |
---|
28 | %setup -q -n %{name}-%{version}/src |
---|
29 | |
---|
30 | %build |
---|
31 | xmkmf -a |
---|
32 | make scavenger |
---|
33 | |
---|
34 | %install |
---|
35 | make DESTDIR=${RPM_BUILD_ROOT} install |
---|
36 | mkdir -p ${RPM_BUILD_ROOT}/usr/share/applications |
---|
37 | cat > ${RPM_BUILD_ROOT}/usr/share/applications/%{name}.desktop <<EOF |
---|
38 | [Desktop Entry] |
---|
39 | Name=Scavenger |
---|
40 | Comment=Scavenger is a cool arcade/thinking game very much like Lode Runner. |
---|
41 | TryExec=scavenger |
---|
42 | Exec=/usr/X11R6/bin/scavenger |
---|
43 | Icon= |
---|
44 | Terminal=0 |
---|
45 | Type=Application |
---|
46 | Categories=GNOME;Application;Game |
---|
47 | EOF |
---|
48 | |
---|
49 | %clean |
---|
50 | rm -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 |
---|