Name: supertuxkart Version: 0.8.1 Release: 9%{?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 # tracked in github.com/ignatenkobrain/stk-code/ in fedora-0.8.1 branch Patch1: 0001-fix-.desktop-file-and-install-destinations.patch #Patch2: 0002-unbundle-bullet.patch Patch3: 0003-unbundle-enet.patch #Patch4: 0004-unbundle-irrlicht.patch Patch5: 0005-unbundle-wiiuse.patch Patch6: 0006-Adding-a-Wiimote-with-other-one-alredy-placed-Bug-12.patch Patch7: supertuxkart-mesa-fix.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 fribidi-devel BuildRequires: wiiuse-devel bluez-libs-devel 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} %global _privatelibs libstkirrlicht[.]so.* %global __provides_exclude ^(%{_privatelibs})$ %global __requires_exclude ^(%{_privatelibs})$ %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 #%patch4 -p1 %patch5 -p1 %patch7 -p0 # Delete bundled libs rm -rf lib/enet lib/wiiuse #sed -i -e '/setAnimationStrength/s/^/\/\//' src/karts/kart_model.cpp %build mkdir -p build cd build %cmake ../ 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 %{buildroot}%{_mandir}/man6 install -p -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man6 mkdir -p %{buildroot}%{_libdir} install -m755 lib/irrlicht/libstkirrlicht.so %{buildroot}%{_libdir}/libstkirrlicht.so %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : /sbin/ldconfig %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi /sbin/ldconfig %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %check desktop-file-validate %{buildroot}%{_datadir}/applications/*%{name}.desktop %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 %{_libdir}/libstkirrlicht.so %files data %{_datadir}/%{name} %changelog * Wed Oct 15 2014 Jon Ciesla - 0.8.1-9 - Re-bundling irrlicht and bullet per FPC 459. * Mon Aug 18 2014 Fedora Release Engineering - 0.8.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 0.8.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun May 25 2014 Igor Gnatenko - 0.8.1-6 - Adding a Wiimote with other one alredy placed (asked Richard Shaw) * Wed May 14 2014 Igor Gnatenko - 0.8.1-5 - fix building with old bullet * Sun May 11 2014 Igor Gnatenko - 0.8.1-4 - enable wiimote support (asked in stk-owner@) * Tue Apr 29 2014 Jon Ciesla - 0.8.1-3 - libenet rebuild. * Sun Feb 09 2014 Rich Mattes - 0.8.1-2 - Rebuild for bullet-2.82 * 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)