supertuxkart-vl.spec 2.7 KB

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