barrage-vl.spec 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. Summary: Kill and destroy as many targets as possible within 3 minutes
  2. Summary(ja): 3分間で出来るだけ多くの敵を倒すゲーム
  3. Name: barrage
  4. Version: 1.0.4
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Games
  8. Source: %{name}-%{version}.tar.gz
  9. URL: http://lgames.sourceforge.net
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. Requires(post,postun): desktop-file-utils
  14. BuildRequires: SDL-devel >= 1.2.0
  15. Requires: SDL >= 1.2.0
  16. BuildRequires: SDL_mixer-devel >= 1.2.0
  17. Requires: SDL_mixer >= 1.2.0
  18. %description
  19. Barrage is a rather violent action game with the objective to kill
  20. and destroy as many targets as possible within 3 minutes. The player
  21. controls a gun that may either fire small or large grenades at
  22. soldiers, jeeps and tanks. It is a very simple gameplay though it is
  23. not that easy to get high scores.
  24. %description -l ja
  25. かなり暴力的なゲーム。
  26. 砲台を操作して大小の手榴弾を発射し、
  27. 3分間で出来るだけ多くの兵士、ジープ、戦車を倒そう。
  28. 操作はとても簡単ですが、高得点を取るのはなかなか困難です。
  29. %prep
  30. %setup
  31. %build
  32. %configure --prefix=%{_prefix}
  33. %__make
  34. %install
  35. %__rm -fR $RPM_BUILD_ROOT
  36. %__make DESTDIR=$RPM_BUILD_ROOT install
  37. %clean
  38. %__rm -fR $RPM_BUILD_ROOT
  39. %post
  40. touch --no-create %{_datadir}/icons/hicolor
  41. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  42. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  43. fi
  44. %{_bindir}/update-desktop-database --quiet %{_datadir}/applications || :
  45. %postun
  46. %{_bindir}/update-desktop-database --quiet %{_datadir}/applications
  47. touch --no-create %{_datadir}/icons/hicolor
  48. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  49. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  50. fi || :
  51. %files
  52. %defattr(-, root, root)
  53. %{_datadir}/games/*
  54. %{_bindir}/*
  55. %{_datadir}/applications/*
  56. %{_datadir}/icons/hicolor/*/apps/*
  57. %changelog
  58. * Sat Feb 11 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.4-1
  59. - new upstream release
  60. - updated License tag
  61. - added Requires(post,postun): desktop-file-utils
  62. - dropped barrage.desktop and barrage.bmp
  63. - use official desktop file
  64. * Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.1-2vl5
  65. - applied new versioning policy, spec in utf-8
  66. * Mon Oct 9 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.1-1vl2
  67. - rebuilt for Vine Linux 4.0
  68. - changed Group to Applications/Games
  69. * Tue Jan 25 2005 OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp>
  70. - 1.0.1-1vl1
  71. - add icon
  72. - change desktop entry
  73. - based on original src.rpm package