xbat-vl.spec 1.5 KB

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