Name: supertuxkart Version: 0.8.1 Release: 1%{?dist} Summary: Kids 3D go-kart racing game featuring Tux Group: Amusements/Games License: GPLv2+ and GPLv3 and CC-BY-SA URL: http://supertuxkart.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-src.tar.bz2 Source1: %{name}.6 Source2: supertuxkart-0.7.3-license-clarification.txt Patch0: supertuxkart-fhs.patch Patch1: supertuxkart-0.8.1-desktop.patch Patch2: supertuxkart-0.8.1-bullet.patch Patch3: supertuxkart-0.8.1-bundled.patch BuildRequires: cmake BuildRequires: libvorbis-devel freeglut-devel desktop-file-utils BuildRequires: openal-soft-devel freealut-devel >= 1.1.0-10 libtool BuildRequires: libcurl-devel enet-devel bullet-devel fribidi-devel BuildRequires: irrlicht-devel >= 1.8.1-2 Requires: hicolor-icon-theme opengl-games-utils # Provide so that yum install tuxkart will work, obsolete for auto upgrade Provides: tuxkart = 0.8.1-1 Obsoletes: tuxkart < 0.4.0-6 Requires: %{name}-data = %{version} %description 3D go-kart racing game for kids with several famous OpenSource mascots participating. Race as Tux against 3 computer players in many different fun race courses (Standard race track, Dessert, Mathclass, etc). Full information on how to add your own race courses is included. During the race you can pick up powerups such as: (homing) missiles, magnets and portable zippers. %package data Summary: %{summary} Requires: %{name} = %{version} BuildArch: noarch %description data This package contains the data files for SuperTuxKart. %prep %setup -q -n SuperTuxKart-%{version} cp -p %{SOURCE2} . %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 # Delete bundled libs rm -rf lib/ sed -i -e '/setAnimationStrength/s/^/\/\//' src/karts/kart_model.cpp %build mkdir -p build cd build %cmake ../ -DUSE_WIIUSE=no make %{?_smp_mflags} %install cd build %make_install ln -s opengl-game-wrapper.sh %{buildroot}%{_bindir}/%{name}-wrapper # add the manpage (courtesy of Debian) mkdir -p $RPM_BUILD_ROOT%{_mandir}/man6 install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man6 %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files %doc AUTHORS COPYING ChangeLog README TODO supertuxkart-0.7.3-license-clarification.txt %{_bindir}/%{name}* %{_mandir}/man6/%{name}.6.gz %{_datadir}/applications/*%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %files data %{_datadir}/%{name} %changelog * Wed Nov 27 2013 Igor Gnatenko - 0.8.1-1 - Update to upstream 0.8.1 * Mon Nov 25 2013 Hans de Goede - 0.8-2 - Drop no longer needed SDL and mikmod BuildRequires * Mon Aug 05 2013 Hans de Goede - 0.8-1 - New upstream release 0.8 (#886012) * Sun Aug 04 2013 Fedora Release Engineering - 0.7.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue May 07 2013 Jon Ciesla - 0.7.3-6 - License clariication, BZ 891890. * Mon Feb 11 2013 Jon Ciesla - 0.7.3-5 - Drop desktop vendor tag. * Mon Feb 04 2013 Jon Ciesla - 0.7.3-4 - License clariication, BZ 891890. * Thu Nov 15 2012 Jon Ciesla - 0.7.3-3 - Use irrlicht 1.8 final. * Fri Aug 24 2012 Jon Ciesla - 0.7.3-2 - Post cleanup. * Thu Aug 23 2012 Jon Ciesla - 0.7.3-1 - Latest upstream, using irrlicht snapshot subpackage. BZ 697169. * Sat Jul 21 2012 Fedora Release Engineering - 0.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jun 26 2012 Jon Ciesla - 0.7-5 - Rebuild for new irrlicht. * Tue Feb 28 2012 Fedora Release Engineering - 0.7-4 - Rebuilt for c++ ABI breakage * Sat Jan 14 2012 Fedora Release Engineering - 0.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Feb 09 2011 Fedora Release Engineering - 0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 22 2010 Jon Ciesla - 0.7-1 - New upstream, BZ 587194. * Thu Jan 14 2010 Jon Ciesla - 0.6.2-3 - Rebuild for new irrlicht. * Thu Nov 19 2009 Jon Ciesla - 0.6.2-2 - Add in addon pack. - Split data to noarch subpackage. * Thu Sep 10 2009 Jon Ciesla - 0.6.2-1 - Bugfix release. * Sun Aug 16 2009 Hans de Goede - 0.6.1a-3 - Switch to openal-soft * Sun Jul 26 2009 Fedora Release Engineering - 0.6.1a-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Jun 16 2009 Jon Ciesla - 0.6.1a-1 - Patch release. - Fixed symlink/dir replacement, BZ 506245. * Wed Feb 25 2009 Fedora Release Engineering - 0.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Feb 23 2009 Hans de Goede 0.6.1-1 - New upstream release 0.6.1 * Sun Jan 25 2009 Hans de Goede 0.6-1 - New upstream release 0.6 * Sun Sep 7 2008 Hans de Goede 0.5-2 - Fix patch fuzz build failure * Tue Jun 3 2008 Hans de Goede 0.5-1 - New upstream release 0.5 * Tue May 13 2008 Hans de Goede 0.4-2 - Rebuild for new plib * Mon Mar 10 2008 Hans de Goede 0.4-1 - New upstream release 0.4 - Note this version includes a build in copy of the bullet physics library, this is a patched copy making use if a system version impossible * Tue Feb 19 2008 Fedora Release Engineering - 0.3-4 - Autorebuild for GCC 4.3 * Fri Jan 11 2008 Hans de Goede 0.3-3 - Fix compilation with gcc 4.3 * Mon Sep 24 2007 Hans de Goede 0.3-2 - Use opengl-games-utils wrapper to show error dialog when DRI is missing * Wed Aug 15 2007 Hans de Goede 0.3-1 - New upstream release 0.3 - Drop most patches (all fixed upstream) - Update License tag for new Licensing Guidelines compliance * Fri Oct 6 2006 Hans de Goede 0.2-3 - replace some more coprighted images and sounds - fix a bunch of joystick related bugs * Mon Sep 25 2006 Hans de Goede 0.2-2 - rename images-legal.txt to supertuxkart-images-legal.txt - add a changelog entry for the previous release (and this one) * Mon Sep 25 2006 Hans de Goede 0.2-1 - initial Fedora Extras package (replacing regular tuxkart)