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

Revision 4686, 2.0 KB checked in by munepi, 13 years ago (diff)

updated xbat-vl.spec

Line 
1# disable buildroot strip
2%define __spec_install_post %{nil}
3
4Summary: A action game for X Window System like XEVIOUS.
5Name: xbat
6Version: 1.11
7Release: 3%{?_dist_release}
8Source0: http://www.nemoto.ecei.tohoku.ac.jp/~wai/Xbat/xev111.tar.gz
9SOURCE10: %{name}.desktop
10#SOURCE11: %{name}.png
11Patch0:  xev111.patch
12License: GPLv2
13Group: Applications/Games
14URL: http://www.nemoto.ecei.tohoku.ac.jp/~wai/Xbat/xevious.html
15
16BuildRequires:  imake
17BuildRequires:  desktop-file-utils
18BuildRequires:  libX11-devel libXext-devel
19
20BuildRoot: %{_tmppath}/%{name}-%{version}-root
21
22%description
23Xbat is a action game for X Window System.
24It is like XEVIOUS.
25XEVIOUS is a video game that namco released in Dec.1983
26
27
28%prep
29%__rm -rf ${RPM_BUILD_ROOT}
30
31%setup -n Xev111 -q
32
33%build
34patch < ${RPM_SOURCE_DIR}/xev111.patch
35xmkmf -a
36%__make xbat
37
38%install
39%__make DESTDIR=${RPM_BUILD_ROOT} install
40%__mkdir_p ${RPM_BUILD_ROOT}%{_datadir}/applications
41
42desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE10}
43#%__cp -a %{SOURCE11} %{buildroot}%{_datadir}/pixmaps/
44
45## changed executable bit
46find %{buildroot}%{_datadir}/games/Xbat -type f -exec chmod -x {} \;
47
48%clean
49%__rm -rf ${RPM_BUILD_ROOT}
50
51%files
52%defattr(-,root,root)
53%{_bindir}/xbat
54%{_datadir}/games/Xbat
55%{_datadir}/applications/%{name}.desktop
56%dir %{_localstatedir}/games/Xbat
57%attr(666,root,root) %{_localstatedir}/games/Xbat/Score/*
58
59%changelog
60* Tue Aug 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.11-3
61- added BuildRequires:  libXext-devel
62
63* Mon Aug 29 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.11-2
64- used some rpm macros
65- added BuildRequires:  desktop-file-utils
66- changed SCORES_DIR to /var/games/Xbat/Score
67
68* Tue Oct 14 2008 Shu KONNO <owa@bg.wakwak.com> 1.11-1vl5
69- applied new versioning policy, spec in utf-8
70
71* Sun Jun 3 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 1.11-0vl2
72- rebuild for VineSeed
73
74* Tue Mar 9 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 1.11-0vl1
75- initial build for Vine Linux
76
77# end of file
Note: See TracBrowser for help on using the repository browser.