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

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

import VineSeed package specs

Line 
1%define name xbat
2%define version 1.11
3%define release 1%{?_dist_release}
4
5Summary: Xbat is a action game for X Window System like XEVIOUS.
6Name: %{name}
7Version: %{version}
8Release: %{release}
9Source0: http://www.nemoto.ecei.tohoku.ac.jp/~wai/Xbat/xev111.tar.gz
10Patch0:  xev111.patch
11License: GNU GENERAL PUBLIC LICENSE Version 2
12Group: Applications/Games
13URL: http://www.nemoto.ecei.tohoku.ac.jp/~wai/Xbat/xevious.html
14
15#Requires:
16#BuildRequires:
17BuildRoot: %{_tmppath}/%{name}-%{version}-root
18
19%description
20Xbat is a action game for X Window System.
21It is like XEVIOUS.
22XEVIOUS is a video game that namco released in Dec.1983
23
24
25%prep
26rm -rf ${RPM_BUILD_ROOT}
27
28%setup -n Xev111 -q
29
30%build
31patch < ${RPM_SOURCE_DIR}/xev111.patch
32xmkmf -a
33make xbat
34
35%install
36make DESTDIR=${RPM_BUILD_ROOT} install
37mkdir -p ${RPM_BUILD_ROOT}/usr/share/applications
38cat >  ${RPM_BUILD_ROOT}/usr/share/applications/%{name}.desktop <<EOF
39[Desktop Entry]
40Name=XBat
41Comment=Xbat is a action game like XEVIOUS.
42TryExec=xbat
43Exec=/usr/bin/xbat
44Icon=
45Terminal=0
46Type=Application
47Categories=GNOME;Application;Game
48EOF
49
50%clean
51rm -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.