supertuxkart-vl.spec 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. %define name supertuxkart
  2. %define version 0.7
  3. %define release 1%{?_dist_release}
  4. Summary: An enhanced version of TuxKart, a kart racing game
  5. Summary(ja): TuxKartを拡張したカートレーシングゲーム
  6. Name: %{name}
  7. Version: %{version}
  8. Release: %{release}
  9. Source: http://download.berlios.de/supertuxkart/%{name}-%{version}-src.tar.bz2
  10. # Source: http://download.berlios.de/supertuxkart/%{name}-%{version}.tar.bz2
  11. License: GPL
  12. Group: Applications/Games
  13. URL: http://supertuxkart.sourceforge.net/
  14. Requires: mesa-libGL, SDL, plib, openal, freealut, mikmod
  15. BuildRequires: xorg-x11-devel, mesa-libGL-devel, plib-devel, SDL-devel
  16. BuildRequires: openal-devel, freealut-devel, mikmod-devel
  17. BuildRequires: libvorbis-devel libogg-devel
  18. BuildRequires: freeglut-devel
  19. BuildRequires: irrlicht-devel fribidi-devel
  20. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  21. %description
  22. SuperTuxKart is an enhanced version of TuxKart, a kart racing game,
  23. originally done by Steve Baker, featuring Tux and a bunch of his
  24. friends.
  25. %description -l ja
  26. SuperTuxKartはTuxKartを拡張したカートレーシングゲームです。
  27. %prep
  28. %setup -q
  29. chmod ugo-x AUTHORS COPYING NEWS README TODO
  30. %__sed -i -e 's/games/bin/g' data/supertuxkart_desktop.template
  31. %build
  32. %configure
  33. %{__make} %{?_smp_mflags}
  34. %install
  35. %{__rm} -rf $RPM_BUILD_ROOT
  36. #%{__make} DESTDIR=$RPM_BUILD_ROOT install
  37. %makeinstall
  38. ## remove unpackaged files
  39. %__rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
  40. %clean
  41. %{__rm} -rf $RPM_BUILD_ROOT
  42. %files
  43. %defattr(-,root,root)
  44. %doc AUTHORS COPYING NEWS README TODO
  45. %{_bindir}/supertuxkart
  46. %{_datadir}/games/supertuxkart/
  47. %{_datadir}/applications/%{name}.desktop
  48. %{_datadir}/pixmaps/%{name}_*.xpm
  49. %changelog
  50. * Wed Mar 16 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.7-1
  51. - new upstream release
  52. - add BuildRequires: irrlicht-devel fribidi-devel
  53. * Fri Oct 09 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.6.2-1
  54. - new upstream release
  55. - changed URL: to http://supertuxkart.sourceforge.net/
  56. * Thu Jul 30 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.6.1a-2
  57. - added Japanese Summary and description
  58. * Fri May 08 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.6.1a-1
  59. - new upstream release
  60. - added BuildRequires: libvorbis-devel
  61. * Sun Jan 25 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.6-1
  62. - new upstream release
  63. * Mon Nov 24 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.5-3
  64. - s|/usr/games/supertuxkart|/usr/bin/supertuxkart|g in supertuxkart.desktop
  65. * Wed Oct 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5-2vl5
  66. - added BuildRequires: freeglut-devel
  67. * Sat Oct 11 2008 Shu KONNO <owa@bg.wakwak.com> 0.5-1vl5
  68. - new upstream release
  69. - applied new versioning policy
  70. * Sat Feb 9 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.3-0vl2
  71. - rebuild for VineSeed
  72. * Sun Aug 5 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.3-0vl1
  73. - initial build for Vine Linux 4.1