bumprace-vl.spec 2.8 KB

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