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