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

RevLine 
[4685]1# disable buildroot strip
2%define __spec_install_post %{nil}
[521]3
[4685]4Summary: A action game for X Window System like XEVIOUS.
5Name: xbat
6Version: 1.11
[4686]7Release: 3%{?_dist_release}
[521]8Source0: http://www.nemoto.ecei.tohoku.ac.jp/~wai/Xbat/xev111.tar.gz
[4685]9SOURCE10: %{name}.desktop
10#SOURCE11: %{name}.png
[521]11Patch0:  xev111.patch
[4685]12License: GPLv2
[521]13Group: Applications/Games
14URL: http://www.nemoto.ecei.tohoku.ac.jp/~wai/Xbat/xevious.html
15
[4685]16BuildRequires:  imake
17BuildRequires:  desktop-file-utils
[4686]18BuildRequires:  libX11-devel libXext-devel
[4685]19
[521]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
[4685]29%__rm -rf ${RPM_BUILD_ROOT}
[521]30
31%setup -n Xev111 -q
32
33%build
34patch < ${RPM_SOURCE_DIR}/xev111.patch
35xmkmf -a
[4685]36%__make xbat
[521]37
38%install
[4685]39%__make DESTDIR=${RPM_BUILD_ROOT} install
40%__mkdir_p ${RPM_BUILD_ROOT}%{_datadir}/applications
[521]41
[4685]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
[521]48%clean
[4685]49%__rm -rf ${RPM_BUILD_ROOT}
[521]50
51%files
52%defattr(-,root,root)
[4685]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/*
[521]58
59%changelog
[4686]60* Tue Aug 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.11-3
61- added BuildRequires:  libXext-devel
62
[4685]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
[521]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.