bumprace-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. Name: bumprace
  2. Epoch: 1
  3. Version: 1.5.3
  4. Release: 1%{?_dist_release}
  5. Summary: Bump Race - 1 or 2 players race through a multi-level maze
  6. Summary(ja): 迷宮でのレースゲーム
  7. URL: http://www.linux-games.com/bumprace/
  8. Source: http://www.linux-games.com/bumprace/%name-%version.tar.gz
  9. Source1: %{name}.xpm
  10. Source2: %{name}.6
  11. License: GPL
  12. Group: Applications/Games
  13. Prefix: %{_prefix}
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: libjpeg-devel
  16. BuildRequires: libpng-devel
  17. BuildRequires: SDL_mixer-devel
  18. BuildRequires: SDL_image-devel
  19. BuildRequires: SDL-devel
  20. Requires: libjpeg libpng SDL_mixer SDL_image SDL
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. Packager: OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp>
  24. %description
  25. BumpRace is a simple arcade game. You've to get from the start to the finish
  26. line without crashing into deadly blocks.
  27. %description -l ja
  28. プレイヤは 4 種類の機体の中から自機を選択して、
  29. 複数のレベルがある迷宮の中でレースを行います。
  30. 2 人のプレイヤが、チームを組むことも、競争することも可能です。
  31. 制限時間内に、ボーナスを獲得しつつ、罠や敵の銃火を避けなければなりません。
  32. %prep
  33. %setup
  34. %configure
  35. %build
  36. make
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. %makeinstall
  40. mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
  41. cat >$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop <<EOF
  42. [Desktop Entry]
  43. Encoding=UTF-8
  44. Name=Bump Race
  45. Comment=1 or 2 players race through a multi-level maze
  46. Generic Name=Arcade Game
  47. Type=Application
  48. Exec=bumprace
  49. X-KDE-StartupNotify=false
  50. Icon=bumprace.xpm
  51. Categories=Application;Game;
  52. Terminal=0
  53. EOF
  54. # add desktop icon
  55. mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps
  56. install -p -m0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}.xpm
  57. # add man
  58. mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man6
  59. install -p -D -m 644 %{SOURCE2} ${RPM_BUILD_ROOT}/%{_mandir}/man6/%{name}.6
  60. %files
  61. %defattr(-,root,root)
  62. %doc AUTHORS COPYING ChangeLog FAQ NEWS README
  63. %{_bindir}/bumprace
  64. %{_datadir}/bumprace
  65. %{_datadir}/applications/%{name}.desktop
  66. %{_datadir}/pixmaps/*
  67. %{_mandir}/man6/*
  68. %clean
  69. rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%{name}-%{version}
  70. %changelog
  71. * Tue Feb 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1:1.5.3-1
  72. - update to 1.5.3
  73. - add BuildRequires: SDL_image-devel
  74. * Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 1.45-4vl5
  75. - applied new versioning policy, spec in utf-8
  76. * Tue Oct 10 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.45-3vl3
  77. - rebuilt for Vine Linux 4.0
  78. - changed Group to Applications/Games
  79. * Wed Feb 16 2005 OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp> - 1.45-3vl2
  80. - change Group:
  81. * Sat Feb 5 2005 OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp> - 1.45-3vl1
  82. - based on ark rpm
  83. - add desktop icon
  84. - add man (from deb)
  85. * Sat Jun 19 2004 Zackary Deems <zdeems@arklinux.org> 1.45-3ark
  86. - Moved to Applications/Games
  87. * Mon Aug 26 2002 Ark Linux Team <arklinux@arklinux.org> 1.45-1ark
  88. - automated rebuild
  89. * Sun Aug 18 2002 Bernhard Rosenkraenzer <bero@arklinux.org>
  90. - initial RPM