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