lbreakout-vl.spec 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. ## -*- coding: utf-8-unix -*-
  2. Summary: LBreakout is a breakout-style arcade game in the manner of Arkanoid
  3. Summary(ja): ブロックくずしのアーケードゲーム
  4. Name: lbreakout
  5. Version: 010315
  6. Release: 3%{?_dist_release}
  7. Source0: %{name}-%{version}.tar.gz
  8. License: GNU General Public License
  9. Group: Applications/Games
  10. URL: http://lgames.sourceforge.net/
  11. Requires: SDL SDL_mixer
  12. BuildRequires: SDL-devel SDL_mixer-devel
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. Packager: munepi
  15. %description
  16. LBreakout is a classical Breakout game, improved with the powers of
  17. the SDL library. Its features include: sound, highscore, a menu with
  18. mouse support, mouse or keyboard can be used for playing, controls can
  19. be redefined, your starting level can be chosen, a difficulty can be
  20. selected (easy, medium, hard), various backgrounds, a lot of
  21. collectable extras, nice graphics, cool effects and own levels can be
  22. created. Give it a try!
  23. %prep
  24. %__rm -rf ${RPM_BUILD_ROOT}
  25. %setup -q
  26. %build
  27. %configure --prefix=%{_prefix}
  28. %__make
  29. %install
  30. %__mkdir -p ${RPM_BUILD_ROOT}%{_var}/lib/games
  31. %__make DESTDIR=${RPM_BUILD_ROOT} install
  32. %__mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/applications
  33. %__cat > ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop <<EOF
  34. [Desktop Entry]
  35. Name=LBreakout
  36. Comment=LBreakout is a breakout-style arcade game in the manner of Arkanoid.
  37. TryExec=lbreakout
  38. Exec=/usr/bin/lbreakout
  39. Icon=
  40. Terminal=0
  41. Type=Application
  42. Categories=GNOME;Application;Game
  43. EOF
  44. %clean
  45. %__rm -rf ${RPM_BUILD_ROOT}
  46. %files
  47. %defattr(-,root,root)
  48. %doc AUTHORS COPYING ChangeLog INSTALL README TODO
  49. %{_bindir}/lbreakout
  50. %{_datadir}/games/lbreakout
  51. %{_datadir}/applications/%{name}.desktop
  52. %ghost %{_var}/lib/games/lbreakout.hscr
  53. %changelog
  54. * Tue Jan 24 2012 Munehiro Yamamoto <munepi@vinelinux.org> 010315-3
  55. - rebuild
  56. * Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 010315-2
  57. - fixed spec file
  58. - added %%doc in %%files sesion
  59. - added %%ghost for %%{_var}/lib/games/lbreakout.hscr
  60. * Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 010315-1vl5
  61. - applied new versioning policy, spec in utf-8
  62. * Sun Jun 3 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 010315-0vl2
  63. - rebuild for VineSeed
  64. * Tue Mar 9 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 010315-0vl1
  65. - initial build for Vine Linux
  66. # end of file