supertuxkart-vl.spec 3.0 KB

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