2008-04-30 12:50:24 +00:00
|
|
|
#
|
2011-04-25 19:35:02 +00:00
|
|
|
# spec file for package supertuxkart
|
2008-04-30 12:50:24 +00:00
|
|
|
#
|
2011-11-14 22:16:07 +00:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2008-04-30 12:50:24 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2011-11-14 22:16:07 +00:00
|
|
|
|
2008-04-30 12:50:24 +00:00
|
|
|
Name: supertuxkart
|
2011-11-14 22:16:07 +00:00
|
|
|
Version: 0.7.3
|
2008-04-30 12:50:24 +00:00
|
|
|
Release: 1
|
2011-07-16 21:05:56 +00:00
|
|
|
License: GPL-2.0+
|
2010-12-21 23:28:12 +00:00
|
|
|
Summary: A 3D kart racing game
|
2010-12-18 22:43:50 +00:00
|
|
|
Url: http://supertuxkart.berlios.de/
|
|
|
|
Group: Amusements/Games/3D/Race
|
2010-12-21 19:17:18 +00:00
|
|
|
Source: http://download.berlios.de/supertuxkart/%{name}-%{version}-src.tar.bz2
|
2011-09-27 13:01:22 +00:00
|
|
|
# Geeko kart add-on (CC-BY 3.0)
|
|
|
|
Source1: http://stkaddons.net/dl/14e6ba25b17f0d.zip
|
2011-11-15 10:37:43 +00:00
|
|
|
Patch0: supertuxkart-pthread.patch
|
2011-04-16 01:19:53 +00:00
|
|
|
BuildRequires: curl-devel
|
2009-09-03 15:43:01 +00:00
|
|
|
BuildRequires: fdupes
|
2010-12-18 22:43:50 +00:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: irrlicht-devel
|
|
|
|
BuildRequires: libogg-devel
|
|
|
|
BuildRequires: libvorbis-devel
|
|
|
|
BuildRequires: openal-devel
|
2011-09-27 13:11:01 +00:00
|
|
|
BuildRequires: unzip
|
2011-09-27 13:25:35 +00:00
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
Requires: %{name}-data = %{version}
|
2010-12-18 22:43:50 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-04-30 12:50:24 +00:00
|
|
|
|
|
|
|
%description
|
2010-12-21 23:28:12 +00:00
|
|
|
SuperTuxKart is a Free 3d kart racing game.
|
|
|
|
|
|
|
|
The focus of the game is more to be fun than it is to be realistic.
|
|
|
|
You can play with up to 4 friends on one PC, racing against each other or just try to beat the computer.
|
|
|
|
|
|
|
|
See the great lighthouse or drive through the sand and visit the pyramids. Race underground or in space,
|
|
|
|
watching the stars passing by. Have some rest under the palms on the beach (watching the other karts
|
|
|
|
overtaking you :) ). But don't eat the bananas! Watch for bowling balls, plungers, bubble gum and cakes thrown by opponents.
|
|
|
|
|
|
|
|
You can do a single race against other karts, compete in one of several Grand Prix, try to beat the high score in time trials
|
2011-09-27 13:01:22 +00:00
|
|
|
on your own, play battle mode against your friends, and more!
|
2008-04-30 12:50:24 +00:00
|
|
|
|
2011-09-27 13:25:35 +00:00
|
|
|
%package data
|
|
|
|
Summary: Data files for SuperTuxKart
|
2011-11-14 22:22:31 +00:00
|
|
|
Group: Amusement/Games/3D/Race
|
2011-09-27 13:25:35 +00:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description data
|
|
|
|
Data files for SuperTuxKart.
|
|
|
|
|
2008-04-30 12:50:24 +00:00
|
|
|
%prep
|
2010-12-21 19:17:18 +00:00
|
|
|
%setup -q
|
2011-11-15 10:37:43 +00:00
|
|
|
%patch0 -p1
|
2008-04-30 12:50:24 +00:00
|
|
|
|
|
|
|
%build
|
2011-11-15 10:37:43 +00:00
|
|
|
autoreconf -fi
|
2008-04-30 12:50:24 +00:00
|
|
|
%configure
|
2011-09-27 13:01:22 +00:00
|
|
|
make %{?_smp_fmlags}
|
2008-04-30 12:50:24 +00:00
|
|
|
|
|
|
|
%install
|
2011-11-14 22:55:53 +00:00
|
|
|
%makeinstall
|
2011-09-27 13:01:22 +00:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/games/supertuxkart/data/karts/geeko/
|
|
|
|
cd %{buildroot}%{_datadir}/games/supertuxkart/data/karts/geeko/
|
|
|
|
unzip %{SOURCE1}
|
2009-09-03 15:43:01 +00:00
|
|
|
%fdupes %{buildroot}%{_datadir}
|
2010-12-18 22:43:50 +00:00
|
|
|
%suse_update_desktop_file supertuxkart
|
2008-04-30 12:50:24 +00:00
|
|
|
|
2011-11-14 22:16:07 +00:00
|
|
|
# minor cleanup after install... these files do not belong there!
|
|
|
|
rm %{buildroot}%{_datadir}/supertuxkart/CFontTool.cpp
|
|
|
|
rm %{buildroot}%{_datadir}/supertuxkart/CFontTool.h
|
|
|
|
rm %{buildroot}%{_datadir}/supertuxkart/CVectorFontTool.h
|
|
|
|
rm %{buildroot}%{_datadir}/supertuxkart/irrFontTool_v9.sln
|
|
|
|
rm %{buildroot}%{_datadir}/supertuxkart/irrFontTool_v9.vcproj
|
|
|
|
rm %{buildroot}%{_datadir}/supertuxkart/main.cpp
|
|
|
|
rm %{buildroot}%{_datadir}/supertuxkart/po_list
|
|
|
|
#end clean
|
|
|
|
|
2008-04-30 12:50:24 +00:00
|
|
|
%clean
|
2010-12-18 22:43:50 +00:00
|
|
|
rm -rf %{buildroot}
|
2008-04-30 12:50:24 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2011-04-16 01:19:53 +00:00
|
|
|
%doc AUTHORS COPYING README TODO ChangeLog
|
2008-05-15 07:19:37 +00:00
|
|
|
%{_prefix}/games/supertuxkart
|
2011-09-27 13:25:35 +00:00
|
|
|
|
|
|
|
%files data
|
|
|
|
%defattr(-,root,root)
|
2008-04-30 12:50:24 +00:00
|
|
|
%{_datadir}/games/supertuxkart/
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/pixmaps/%{name}_*.xpm
|
2008-05-15 07:30:49 +00:00
|
|
|
%{_datadir}/doc/%{name}
|
2008-04-30 12:50:24 +00:00
|
|
|
|
|
|
|
%changelog
|