lbreakout2-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. Summary: LBreakout2 is a breakout-style arcade game in the manner of Arkanoid
  2. Summary(ja): ネット対戦ができるブロックくずしのアーケードゲーム第2弾
  3. Name: lbreakout2
  4. Version: 2.6.4
  5. Release: 1%{?_dist_release}
  6. Source0: %{name}-%{version}.tar.gz
  7. License: GPLv2
  8. Group: Applications/Games
  9. URL: http://lgames.sourceforge.net/
  10. Requires(post,postun): desktop-file-utils
  11. Requires: SDL SDL_mixer SDL_net
  12. Requires: libpng
  13. BuildRequires: SDL-devel SDL_mixer-devel SDL_net-devel
  14. BuildRequires: libpng-devel
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. Packager: munepi
  17. %description
  18. The successor to LBreakout offers you a new challenge in more than 50
  19. levels with loads of new bonuses (goldshower, joker, explosive balls,
  20. bonus magnet ...), maluses (chaos, darkness, weak balls, malus magnet ...)
  21. and special bricks (growing bricks, explosive bricks, regenerative
  22. bricks ...). If you are hungry for more you can create your own levelsets
  23. with the integrated level editor. There is also an experimental two player
  24. mode (via LAN) available.
  25. %description -l ja
  26. LGames プロジェクトのネット対戦ができるブロックくずしの
  27. アーケードゲーム第2弾です。
  28. %prep
  29. %__rm -rf ${RPM_BUILD_ROOT}
  30. %setup -q
  31. %build
  32. %configure --prefix=%{_prefix} \
  33. --localstatedir=%{_localstatedir}/games \
  34. ;
  35. %__make
  36. %install
  37. %__rm -rf ${RPM_BUILD_ROOT}
  38. %__make DESTDIR=${RPM_BUILD_ROOT} install
  39. # remove unpackaged files
  40. %__rm -rf ${RPM_BUILD_ROOT}/usr/doc
  41. %find_lang %{name}
  42. %clean
  43. %__rm -rf ${RPM_BUILD_ROOT}
  44. %post
  45. # touch --no-create %{_datadir}/icons/hicolor
  46. # if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  47. # %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  48. # fi
  49. %{_bindir}/update-desktop-database --quiet %{_datadir}/applications || :
  50. %postun
  51. %{_bindir}/update-desktop-database --quiet %{_datadir}/applications
  52. # touch --no-create %{_datadir}/icons/hicolor
  53. # if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  54. # %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  55. # fi || :
  56. %files -f %{name}.lang
  57. %defattr(-,root,root)
  58. %doc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README README-SDL.txt TODO
  59. %doc docs/*.jpg docs/index.html
  60. %{_bindir}/lbreakout2
  61. %{_bindir}/lbreakout2server
  62. %{_datadir}/applications/lbreakout2.desktop
  63. %{_datadir}/icons/lbreakout48.gif
  64. %{_datadir}/%{name}/gfx
  65. %{_datadir}/%{name}/gui_theme
  66. %{_datadir}/%{name}/levels
  67. %{_datadir}/%{name}/sounds
  68. %ghost %{_localstatedir}/games/lbreakout2.hscr
  69. %changelog
  70. * Sat Aug 11 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2.6.4-1
  71. - new upstream release
  72. * Sat Feb 11 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2.6.3-2
  73. - fixed License tag
  74. - added Requires(post,postun): desktop-file-utils
  75. - moved game score file to /var/games
  76. * Tue Mar 29 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2.6.3-1
  77. - new upstream release
  78. * Mon Jan 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2.6.2-1
  79. - new upstream release
  80. * Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2.6.1-1
  81. - new upstream release
  82. * Thu Jul 30 2009 Munehiro Yamamoto <munepi@vinelinux.org> 2.6beta-3.b7
  83. - fixed Japanese desctiption
  84. * Thu Jul 30 2009 Munehiro Yamamoto <munepi@vinelinux.org> 2.6beta-2.b7
  85. - added Japanese desctiption
  86. * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 2.6beta-1.b7vl5
  87. - applied new versioning policy, spec in utf-8
  88. * Sun Jun 3 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 2.6beta-0vl0.7.1
  89. - rebuild for VineSeed
  90. * Tue Mar 9 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 2.6beta-0vl0.7
  91. - initial build for Vine Linux
  92. # * Sun Dec 11 2005 2.6beta-0vl5
  93. # - Update to 2.6beta-5
  94. # * Fri Nov 11 2005 2.6beta-0vl3
  95. # - Update to 2.6beta-3
  96. # * Mon Oct 17 2005 2.6beta-0vl2
  97. # - fix depended packages
  98. # * Mon May 9 2005 2.6beta-0vl1
  99. # - initial build for Vine Linux
  100. # end of file