Line | |
---|
1 | %define name xbat |
---|
2 | %define version 1.11 |
---|
3 | %define release 1%{?_dist_release} |
---|
4 | |
---|
5 | Summary: Xbat is a action game for X Window System like XEVIOUS. |
---|
6 | Name: %{name} |
---|
7 | Version: %{version} |
---|
8 | Release: %{release} |
---|
9 | Source0: http://www.nemoto.ecei.tohoku.ac.jp/~wai/Xbat/xev111.tar.gz |
---|
10 | Patch0: xev111.patch |
---|
11 | License: GNU GENERAL PUBLIC LICENSE Version 2 |
---|
12 | Group: Applications/Games |
---|
13 | URL: http://www.nemoto.ecei.tohoku.ac.jp/~wai/Xbat/xevious.html |
---|
14 | |
---|
15 | #Requires: |
---|
16 | #BuildRequires: |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
18 | |
---|
19 | %description |
---|
20 | Xbat is a action game for X Window System. |
---|
21 | It is like XEVIOUS. |
---|
22 | XEVIOUS is a video game that namco released in Dec.1983 |
---|
23 | |
---|
24 | |
---|
25 | %prep |
---|
26 | rm -rf ${RPM_BUILD_ROOT} |
---|
27 | |
---|
28 | %setup -n Xev111 -q |
---|
29 | |
---|
30 | %build |
---|
31 | patch < ${RPM_SOURCE_DIR}/xev111.patch |
---|
32 | xmkmf -a |
---|
33 | make xbat |
---|
34 | |
---|
35 | %install |
---|
36 | make DESTDIR=${RPM_BUILD_ROOT} install |
---|
37 | mkdir -p ${RPM_BUILD_ROOT}/usr/share/applications |
---|
38 | cat > ${RPM_BUILD_ROOT}/usr/share/applications/%{name}.desktop <<EOF |
---|
39 | [Desktop Entry] |
---|
40 | Name=XBat |
---|
41 | Comment=Xbat is a action game like XEVIOUS. |
---|
42 | TryExec=xbat |
---|
43 | Exec=/usr/bin/xbat |
---|
44 | Icon= |
---|
45 | Terminal=0 |
---|
46 | Type=Application |
---|
47 | Categories=GNOME;Application;Game |
---|
48 | EOF |
---|
49 | |
---|
50 | %clean |
---|
51 | rm -rf ${RPM_BUILD_ROOT} |
---|
52 | |
---|
53 | %files |
---|
54 | %defattr(-,root,root) |
---|
55 | /usr/bin/xbat |
---|
56 | /usr/share/games/Xbat |
---|
57 | /usr/share/applications/%{name}.desktop |
---|
58 | |
---|
59 | %changelog |
---|
60 | * Tue Oct 14 2008 Shu KONNO <owa@bg.wakwak.com> 1.11-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.11-0vl2 |
---|
64 | - rebuild for VineSeed |
---|
65 | |
---|
66 | * Tue Mar 9 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 1.11-0vl1 |
---|
67 | - initial build for Vine Linux |
---|
68 | |
---|
69 | # end of file |
---|
Note: See
TracBrowser
for help on using the repository browser.