icebreaker-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. Summary: An addictive action-puzzle game involving bouncing penguins
  2. Summary(ja): 撥ね回るペンギンを囲い込む、中毒性のあるアクションパズルゲーム
  3. Name: icebreaker
  4. Version: 1.2.1
  5. Release: 2%{?_dist_release}
  6. License: GPL
  7. Group: Applications/Games
  8. Source: icebreaker-%{version}.tgz
  9. Source1: %{name}.desktop
  10. URL: http://www.mattdm.org/icebreaker/
  11. Prefix: %{_prefix}
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. BuildRequires: SDL-devel, SDL_mixer-devel, /bin/awk
  14. Requires: SDL, SDL_mixer
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. So, uh, there's a bunch of penguins on an iceberg in Antarctica. You have
  19. been selected to catch them so they can be shipped to Finland, where they
  20. are essential to a secret plot for world domination.
  21. %description -l ja
  22. そう、えーっと、南極の氷山にペンギンの群れがいます。
  23. 連中を捕まえてフィンランドに輸送すべく、あなたに白羽の矢が立ちました。
  24. 同国で極秘裏に進められている世界制覇計画に、連中は必要不可欠なのです。
  25. %prep
  26. %setup -q
  27. %build
  28. make OPTIMIZE="$RPM_OPT_FLAGS -finline-functions" highscoredir=/var/lib/games prefix=/usr
  29. %install
  30. rm -rf $RPM_BUILD_ROOT
  31. mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
  32. mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/icebreaker
  33. mkdir -p ${RPM_BUILD_ROOT}%{_var}/lib/games
  34. #mkdir -p ${RPM_BUILD_ROOT}/etc/X11/applnk/Games
  35. mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man6
  36. install -m 644 *.wav *.bmp ${RPM_BUILD_ROOT}%{_datadir}/icebreaker
  37. #install -m 644 icebreaker.desktop ${RPM_BUILD_ROOT}/etc/X11/applnk/Games
  38. install -s -m 755 icebreaker ${RPM_BUILD_ROOT}%{_bindir}
  39. install -m 644 icebreaker.6 ${RPM_BUILD_ROOT}%{_mandir}/man6
  40. touch ${RPM_BUILD_ROOT}%{_var}/lib/games/icebreaker.scores
  41. # add desktop
  42. mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
  43. install -p -m0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
  44. %post
  45. touch %{_var}/lib/games/icebreaker.scores
  46. chown games:games %{_var}/lib/games/icebreaker.scores
  47. chmod 0664 %{_var}/lib/games/icebreaker.scores
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %files
  51. %defattr (-,root,root)
  52. %doc README TODO LICENSE ChangeLog
  53. %attr(2755,root,games) %{_bindir}/icebreaker
  54. #/etc/X11/applnk/Games/icebreaker.desktop
  55. %{_datadir}/applications/%{name}.desktop
  56. %{_datadir}/icebreaker
  57. %{_mandir}/man6/*
  58. %attr(664,games,games) %ghost %{_var}/lib/games/icebreaker.scores
  59. %changelog
  60. * Sun Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 1.2-2vl5
  61. - applied new versioning policy, spec in utf-8
  62. * Sun Jul 30 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2-1vl3
  63. - rebuilt for VineSeed
  64. - changed Group to Applications/Games
  65. * Thu May 19 2005 OOI Keita <ooi.keita@gmail.com> - 1.2-1vl2
  66. - euc spec file
  67. * Wed Feb 9 2005 OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp> - 1.2-1vl1
  68. - based on original rpm
  69. - ja summary and description from deb
  70. * Sat Jul 28 2001 Matthew Miller <mattdm@mattdm.org>
  71. - 1.2
  72. * Tue Jul 24 2001 Matthew Miller <mattdm@mattdm.org>
  73. - move man page section 6
  74. * Sun Jul 22 2001 Matthew Miller <mattdm@mattdm.org>
  75. - 1.1
  76. * Fri Jul 20 2001 Matthew Miller <mattdm@mattdm.org>
  77. - borrowed idea of using post-script to create high score file
  78. from Mandrake RPM. That way, it doesn't have to be marked as a config
  79. file, and yet won't get zapped on upgrade.
  80. - also, modified Makefile to cope with RPM_OPT_FLAGS, again as per
  81. Mandrake.
  82. * Thu Jul 19 2001 Matthew Miller <mattdm@mattdm.org>
  83. - added man page
  84. * Tue Jul 18 2001 Matthew Miller <mattdm@mattdm.org>
  85. - updated to 1.09
  86. * Thu Oct 5 2000 Matthew Miller <mattdm@mattdm.org>
  87. - looks good to me. one-point-oh
  88. * Tue Oct 3 2000 Matthew Miller <mattdm@mattdm.org>
  89. - updated to 0.995
  90. - better make process
  91. * Mon Oct 2 2000 Matthew Miller <mattdm@mattdm.org>
  92. - updated to 0.99 :)
  93. * Mon Oct 2 2000 Matthew Miller <mattdm@mattdm.org>
  94. - updated to 0.98
  95. * Fri Sep 15 2000 Matthew Miller <mattdm@mattdm.org>
  96. - first package