supertux-vl.spec 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. %define name supertux
  2. %define version 0.1.3
  3. %define release 1%{?_dist_release}
  4. Summary: Super Mario Bros like 2D jump 'n run sidescroller game.
  5. Summary(ja): スーパーマリオブラザース風の 2D 横スクロールゲーム
  6. Name: %{name}
  7. Version: %{version}
  8. Release: %{release}
  9. Source0: %{name}-%{version}.tar.bz2
  10. Patch0: supertux-0.1.3-gcc4.patch
  11. License: GPL
  12. Group: Applications/Games
  13. URL: http://super-tux.sf.net/
  14. BuildRequires: SDL-devel >= 1.2.4, SDL_image-devel, SDL_mixer-devel >= 1.2.7
  15. BuildRequires: zlib-devel
  16. %if %{?_dist_release} == "vl5"
  17. Requires: mesa-libGL
  18. BuildRequires: xorg-x11-devel
  19. BuildRequires: mesa-libGL-devel
  20. %endif
  21. %if %{?_dist_release} == "vl4"
  22. Requires: XOrg-gl
  23. BuildRequires: XOrg-devel
  24. BuildRequires: XOrg-gl-devel
  25. %endif
  26. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  27. %description
  28. SuperTux is a 2D jump 'n run sidescroller game, with strong inspiration
  29. from the Super Mario Bros games for Nintendo.
  30. Run and jump through multiple worlds, fighting off enemies by jumping
  31. on them or bumping them from below. Grabbing power-ups and other stuff
  32. on the way.
  33. %description -l ja
  34. SuperTux は 任天堂のスーパーマリオブラザースから強い影響を浮けた
  35. 2D の横スクロールゲームです。
  36. 複数のステージを走ったりジャンプしたりしながら、敵の上にジャンプしたり
  37. 下から突き上げたりして戦うゲームです。また途中でパワーアップアイテムや
  38. その他のアイテムが手に入れられます。
  39. %prep
  40. %setup -q
  41. %if %{?_dist_release} == "vl5"
  42. %patch -p0 -b .gcc4
  43. %endif
  44. %build
  45. %configure \
  46. --disable-dependency-tracking \
  47. ;
  48. %__make
  49. %install
  50. %__rm -rf ${RPM_BUILD_ROOT}
  51. %makeinstall
  52. %clean
  53. %__rm -rf ${RPM_BUILD_ROOT}
  54. %files
  55. %defattr(-,root,root)
  56. %doc AUTHORS COPYING ChangeLog INSTALL LEVELDESIGN
  57. %doc NEWS README TODO
  58. %{_bindir}/supertux
  59. %{_datadir}/applications/supertux.desktop
  60. %{_datadir}/supertux
  61. %{_datadir}/pixmaps/supertux.png
  62. %changelog
  63. * Sun Jan 25 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.1.3-1
  64. - apply new versioning policy
  65. - spec in utf-8
  66. - apply supertux-0.1.3-gcc4.patch for vl5
  67. - added Requires:
  68. - mesa-libGL (for vl5)
  69. - XOrg-gl (for vl4)
  70. - added BuildRequires:
  71. - xorg-x11-devel (for vl5)
  72. - mesa-libGL-devel (for vl5)
  73. - XOrg-devel (for vl4)
  74. - XOrg-gl-devel (for vl4)
  75. * Sat Mar 10 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1.3-0vl1
  76. - initial build for Vine Linux