blockrage-vl.spec 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. %define name blockrage
  2. %define version 0.2.3
  3. %define release 1%{?_dist_release}
  4. Summary: Block Rage is a "falling-blocks" arcade game,
  5. Summary(ja): コラムスみたいなゲーム
  6. Name: %{name}
  7. Version: %{version}
  8. Release: %{release}
  9. #Source0: %{name}-%{version}.tar.bz2
  10. Source0: %{name}-%{version}.tar.gz
  11. License: GNU General Public License
  12. Group: Applications/Games
  13. URL: http://blockrage.sourceforge.net/
  14. Requires: SDL >= 1.2.0
  15. BuildRequires: SDL-devel
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. %description
  18. Block Rage is a "falling-blocks" arcade game, inspired by a DOS
  19. classic. It features a two-player hotseat mode. In the future
  20. it should also feature nice graphics and sound.
  21. #%desctiption -l ja
  22. %prep
  23. rm -rf ${RPM_BUILD_ROOT}
  24. %setup -q
  25. %build
  26. ./configure \
  27. --bindir=/usr/bin \
  28. --sysconfdir=/usr/share/games \
  29. --datadir=/usr/share/games \
  30. --mandir=%{_mandir}
  31. make
  32. %install
  33. make DESTDIR=${RPM_BUILD_ROOT} install
  34. mkdir -p ${RPM_BUILD_ROOT}/usr/share/applications
  35. cat > ${RPM_BUILD_ROOT}/usr/share/applications/%{name}.desktop <<EOF
  36. [Desktop Entry]
  37. Name=Block Rage
  38. Comment=Block Rage is a "falling-blocks" arcade game.
  39. TryExec=blockrage
  40. Exec=/usr/bin/blockrage
  41. Icon=
  42. Terminal=0
  43. Type=Application
  44. Categories=GNOME;Application;Game
  45. EOF
  46. %clean
  47. rm -rf ${RPM_BUILD_ROOT}
  48. %files
  49. %defattr(-,root,root)
  50. /usr/share/games/blockrage
  51. /usr/bin/blockrage
  52. /usr/share/applications/%{name}.desktop
  53. %{_mandir}/man6/blockrage.6.gz
  54. %changelog
  55. * Sat Sep 06 2008 Shu KONNO <owa@bg.wakwak.com> 0.2.3-1vl5
  56. - applied new versioning policy, spec in utf-8
  57. - updated man-path to %%{_mandir}
  58. * Sun Jun 3 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.2.3-0vl2
  59. - rebuild for VineSeed
  60. * Tue Mar 9 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.2.3-0vl1
  61. - initial build for Vine Linux
  62. # * Tue Oct 25 2005 0.2.3-0vl1
  63. # - update
  64. # * Mon Sep 26 2005 0.2.2-0vl1
  65. # - initial build for Vine Linux
  66. # end of file