barrage-vl.spec 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Summary: Kill and destroy as many targets as possible within 3 minutes
  2. Summary(ja): 3分間で出来るだけ多くの敵を倒すゲーム
  3. Name: barrage
  4. Version: 1.0.1
  5. Release: 2%{?_dist_release}
  6. License: GPL
  7. Group: Applications/Games
  8. Source: %{name}-%{version}.tar.gz
  9. Source1: %{name}.desktop
  10. Source2: %{name}.bmp
  11. URL: http://lgames.sourceforge.net/index.php?project=Barrage
  12. Prefix: /usr
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. Packager: OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp>
  17. BuildRequires: SDL-devel >= 1.2.0
  18. Requires: SDL >= 1.2.0
  19. BuildRequires: SDL_mixer-devel >= 1.2.0
  20. Requires: SDL_mixer >= 1.2.0
  21. %description
  22. Barrage is a rather violent action game with the objective to kill
  23. and destroy as many targets as possible within 3 minutes. The player
  24. controls a gun that may either fire small or large grenades at
  25. soldiers, jeeps and tanks. It is a very simple gameplay though it is
  26. not that easy to get high scores.
  27. %description -l ja
  28. かなり暴力的なゲーム。
  29. 砲台を操作して大小の手榴弾を発射し、
  30. 3分間で出来るだけ多くの兵士、ジープ、戦車を倒そう。
  31. 操作はとても簡単ですが、高得点を取るのはなかなか困難です。
  32. %prep
  33. %setup
  34. %build
  35. ./configure --prefix=%{prefix}
  36. make
  37. %install
  38. rm -fR $RPM_BUILD_ROOT
  39. make DESTDIR=$RPM_BUILD_ROOT install
  40. # add desktop
  41. mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
  42. install -p -m0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
  43. # add desktop icon
  44. mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps
  45. install -p -m0644 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}.bmp
  46. %clean
  47. rm -fR $RPM_BUILD_ROOT
  48. %files
  49. %defattr(-, root, root)
  50. %{prefix}/share/games/*
  51. %{prefix}/bin/*
  52. %{_datadir}/applications/*
  53. %{_datadir}/pixmaps/*
  54. %changelog
  55. * Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.1-2vl5
  56. - applied new versioning policy, spec in utf-8
  57. * Mon Oct 9 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.1-1vl2
  58. - rebuilt for Vine Linux 4.0
  59. - changed Group to Applications/Games
  60. * Tue Jan 25 2005 OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp>
  61. - 1.0.1-1vl1
  62. - add icon
  63. - change desktop entry
  64. - based on original src.rpm package