|
|
50baacd |
Name: supertuxkart
|
|
|
b4937c9 |
Version: 0.8.1
|
|
|
cd00181 |
Release: 9%{?dist}
|
|
|
50baacd |
Summary: Kids 3D go-kart racing game featuring Tux
|
|
|
50baacd |
Group: Amusements/Games
|
|
|
e4cc7c0 |
License: GPLv2+ and GPLv3 and CC-BY-SA
|
|
|
341dff1 |
URL: http://supertuxkart.sourceforge.net/
|
|
|
26088d5 |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-src.tar.bz2
|
|
|
c9c9e81 |
Source1: %{name}.6
|
|
|
92943dd |
Source2: supertuxkart-0.7.3-license-clarification.txt
|
|
|
50baacd |
Patch0: supertuxkart-fhs.patch
|
|
|
66a8681 |
# tracked in github.com/ignatenkobrain/stk-code/ in fedora-0.8.1 branch
|
|
|
66a8681 |
Patch1: 0001-fix-.desktop-file-and-install-destinations.patch
|
|
|
cd00181 |
#Patch2: 0002-unbundle-bullet.patch
|
|
|
2791c28 |
Patch3: 0003-unbundle-enet.patch
|
|
|
cd00181 |
#Patch4: 0004-unbundle-irrlicht.patch
|
|
|
2791c28 |
Patch5: 0005-unbundle-wiiuse.patch
|
|
|
bd15c66 |
Patch6: 0006-Adding-a-Wiimote-with-other-one-alredy-placed-Bug-12.patch
|
|
|
cd00181 |
Patch7: supertuxkart-mesa-fix.patch
|
|
|
b4937c9 |
BuildRequires: cmake
|
|
|
fe59d67 |
BuildRequires: libvorbis-devel freeglut-devel desktop-file-utils
|
|
|
e3e21ea |
BuildRequires: openal-soft-devel freealut-devel >= 1.1.0-10 libtool
|
|
|
cd00181 |
BuildRequires: libcurl-devel enet-devel fribidi-devel
|
|
|
66a8681 |
BuildRequires: wiiuse-devel bluez-libs-devel
|
|
|
fa11dd9 |
Requires: hicolor-icon-theme opengl-games-utils
|
|
|
50baacd |
# Provide so that yum install tuxkart will work, obsolete for auto upgrade
|
|
|
b4937c9 |
Provides: tuxkart = 0.8.1-1
|
|
|
50baacd |
Obsoletes: tuxkart < 0.4.0-6
|
|
|
e3e21ea |
Requires: %{name}-data = %{version}
|
|
|
50baacd |
|
|
|
cd00181 |
%global _privatelibs libstkirrlicht[.]so.*
|
|
|
cd00181 |
%global __provides_exclude ^(%{_privatelibs})$
|
|
|
cd00181 |
%global __requires_exclude ^(%{_privatelibs})$
|
|
|
cd00181 |
|
|
|
50baacd |
%description
|
|
|
50baacd |
3D go-kart racing game for kids with several famous OpenSource mascots
|
|
|
50baacd |
participating. Race as Tux against 3 computer players in many different fun
|
|
|
50baacd |
race courses (Standard race track, Dessert, Mathclass, etc). Full information
|
|
|
50baacd |
on how to add your own race courses is included. During the race you can pick
|
|
|
50baacd |
up powerups such as: (homing) missiles, magnets and portable zippers.
|
|
|
50baacd |
|
|
|
e4cc7c0 |
%package data
|
|
|
e3e21ea |
Summary: %{summary}
|
|
|
e3e21ea |
Requires: %{name} = %{version}
|
|
|
e3e21ea |
BuildArch: noarch
|
|
|
e4cc7c0 |
|
|
|
e4cc7c0 |
%description data
|
|
|
757e148 |
This package contains the data files for SuperTuxKart.
|
|
|
50baacd |
|
|
|
50baacd |
%prep
|
|
|
e3e21ea |
%setup -q -n SuperTuxKart-%{version}
|
|
|
e3e21ea |
cp -p %{SOURCE2} .
|
|
|
e3e21ea |
%patch0 -p1
|
|
|
e3e21ea |
%patch1 -p1
|
|
|
cd00181 |
#%patch2 -p1
|
|
|
b4937c9 |
%patch3 -p1
|
|
|
cd00181 |
#%patch4 -p1
|
|
|
2791c28 |
%patch5 -p1
|
|
|
cd00181 |
%patch7 -p0
|
|
|
b4937c9 |
# Delete bundled libs
|
|
|
cd00181 |
rm -rf lib/enet lib/wiiuse
|
|
|
cd00181 |
#sed -i -e '/setAnimationStrength/s/^/\/\//' src/karts/kart_model.cpp
|
|
|
50baacd |
|
|
|
50baacd |
%build
|
|
|
b4937c9 |
mkdir -p build
|
|
|
b4937c9 |
cd build
|
|
|
66a8681 |
%cmake ../
|
|
|
b4937c9 |
make %{?_smp_mflags}
|
|
|
50baacd |
|
|
|
50baacd |
%install
|
|
|
b4937c9 |
cd build
|
|
|
b4937c9 |
%make_install
|
|
|
b4937c9 |
ln -s opengl-game-wrapper.sh %{buildroot}%{_bindir}/%{name}-wrapper
|
|
|
50baacd |
|
|
|
50baacd |
# add the manpage (courtesy of Debian)
|
|
|
bd15c66 |
mkdir -p %{buildroot}%{_mandir}/man6
|
|
|
bd15c66 |
install -p -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man6
|
|
|
cd00181 |
mkdir -p %{buildroot}%{_libdir}
|
|
|
cd00181 |
install -m755 lib/irrlicht/libstkirrlicht.so %{buildroot}%{_libdir}/libstkirrlicht.so
|
|
|
50baacd |
|
|
|
50baacd |
%post
|
|
|
e3e21ea |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
cd00181 |
/sbin/ldconfig
|
|
|
50baacd |
|
|
|
50baacd |
%postun
|
|
|
e3e21ea |
if [ $1 -eq 0 ] ; then
|
|
|
e3e21ea |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
e3e21ea |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
50baacd |
fi
|
|
|
cd00181 |
/sbin/ldconfig
|
|
|
50baacd |
|
|
|
e3e21ea |
%posttrans
|
|
|
e3e21ea |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
e3e21ea |
|
|
|
bd15c66 |
%check
|
|
|
bd15c66 |
desktop-file-validate %{buildroot}%{_datadir}/applications/*%{name}.desktop
|
|
|
bd15c66 |
|
|
|
757e148 |
%files
|
|
|
92943dd |
%doc AUTHORS COPYING ChangeLog README TODO supertuxkart-0.7.3-license-clarification.txt
|
|
|
fa11dd9 |
%{_bindir}/%{name}*
|
|
|
50baacd |
%{_mandir}/man6/%{name}.6.gz
|
|
|
e3e21ea |
%{_datadir}/applications/*%{name}.desktop
|
|
|
b4937c9 |
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
|
|
cd00181 |
%{_libdir}/libstkirrlicht.so
|
|
|
50baacd |
|
|
|
e4cc7c0 |
%files data
|
|
|
e4cc7c0 |
%{_datadir}/%{name}
|
|
|
e4cc7c0 |
|
|
|
50baacd |
%changelog
|
|
|
cd00181 |
* Wed Oct 15 2014 Jon Ciesla <limburgher@gmail.com> - 0.8.1-9
|
|
|
cd00181 |
- Re-bundling irrlicht and bullet per FPC 459.
|
|
|
cd00181 |
|
|
|
369fa52 |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-8
|
|
|
369fa52 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
369fa52 |
|
|
|
c009709 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-7
|
|
|
c009709 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
c009709 |
|
|
|
bd15c66 |
* Sun May 25 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.8.1-6
|
|
|
bd15c66 |
- Adding a Wiimote with other one alredy placed (asked Richard Shaw)
|
|
|
bd15c66 |
|
|
|
2791c28 |
* Wed May 14 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.8.1-5
|
|
|
2791c28 |
- fix building with old bullet
|
|
|
2791c28 |
|
|
|
66a8681 |
* Sun May 11 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.8.1-4
|
|
|
66a8681 |
- enable wiimote support (asked in stk-owner@)
|
|
|
66a8681 |
|
|
|
b9a53bb |
* Tue Apr 29 2014 Jon Ciesla <limburgher@gmail.com> - 0.8.1-3
|
|
|
b9a53bb |
- libenet rebuild.
|
|
|
b9a53bb |
|
|
|
47958a9 |
* Sun Feb 09 2014 Rich Mattes <richmattes@gmail.com> - 0.8.1-2
|
|
|
47958a9 |
- Rebuild for bullet-2.82
|
|
|
47958a9 |
|
|
|
b4937c9 |
* Wed Nov 27 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.8.1-1
|
|
|
b4937c9 |
- Update to upstream 0.8.1
|
|
|
b4937c9 |
|
|
|
211cf33 |
* Mon Nov 25 2013 Hans de Goede <hdegoede@redhat.com> - 0.8-2
|
|
|
211cf33 |
- Drop no longer needed SDL and mikmod BuildRequires
|
|
|
211cf33 |
|
|
|
e3e21ea |
* Mon Aug 05 2013 Hans de Goede <hdegoede@redhat.com> - 0.8-1
|
|
|
e3e21ea |
- New upstream release 0.8 (#886012)
|
|
|
e3e21ea |
|
|
|
f023a18 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.3-7
|
|
|
f023a18 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
f023a18 |
|
|
|
c02ccbd |
* Tue May 07 2013 Jon Ciesla <limburgher@gmail.com> - 0.7.3-6
|
|
|
c02ccbd |
- License clariication, BZ 891890.
|
|
|
c02ccbd |
|
|
|
eb2d254 |
* Mon Feb 11 2013 Jon Ciesla <limburgher@gmail.com> - 0.7.3-5
|
|
|
eb2d254 |
- Drop desktop vendor tag.
|
|
|
eb2d254 |
|
|
|
92943dd |
* Mon Feb 04 2013 Jon Ciesla <limburgher@gmail.com> - 0.7.3-4
|
|
|
92943dd |
- License clariication, BZ 891890.
|
|
|
92943dd |
|
|
|
d1aafa4 |
* Thu Nov 15 2012 Jon Ciesla <limburgher@gmail.com> - 0.7.3-3
|
|
|
d1aafa4 |
- Use irrlicht 1.8 final.
|
|
|
d1aafa4 |
|
|
|
15b4b3c |
* Fri Aug 24 2012 Jon Ciesla <limburgher@gmail.com> - 0.7.3-2
|
|
|
15b4b3c |
- Post cleanup.
|
|
|
15b4b3c |
|
|
|
757e148 |
* Thu Aug 23 2012 Jon Ciesla <limburgher@gmail.com> - 0.7.3-1
|
|
|
757e148 |
- Latest upstream, using irrlicht snapshot subpackage. BZ 697169.
|
|
|
757e148 |
|
|
|
3b7062e |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-6
|
|
|
3b7062e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
3b7062e |
|
|
|
e3e21ea |
* Tue Jun 26 2012 Jon Ciesla <limburgher@gmail.com> - 0.7-5
|
|
|
a79b424 |
- Rebuild for new irrlicht.
|
|
|
a79b424 |
|
|
|
547112d |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-4
|
|
|
547112d |
- Rebuilt for c++ ABI breakage
|
|
|
547112d |
|
|
|
c1d8806 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-3
|
|
|
c1d8806 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
c1d8806 |
|
|
|
04d336c |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
|
|
|
04d336c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
04d336c |
|
|
Jon Ciesla |
665d302 |
* Wed Dec 22 2010 Jon Ciesla <limb@jcomserv.net> - 0.7-1
|
|
Jon Ciesla |
665d302 |
- New upstream, BZ 587194.
|
|
Jon Ciesla |
665d302 |
|
|
|
93010e6 |
* Thu Jan 14 2010 Jon Ciesla <limb@jcomserv.net> - 0.6.2-3
|
|
|
93010e6 |
- Rebuild for new irrlicht.
|
|
|
93010e6 |
|
|
|
e4cc7c0 |
* Thu Nov 19 2009 Jon Ciesla <limb@jcomserv.net> - 0.6.2-2
|
|
|
e4cc7c0 |
- Add in addon pack.
|
|
|
e4cc7c0 |
- Split data to noarch subpackage.
|
|
|
e4cc7c0 |
|
|
|
26088d5 |
* Thu Sep 10 2009 Jon Ciesla <limb@jcomserv.net> - 0.6.2-1
|
|
|
26088d5 |
- Bugfix release.
|
|
|
26088d5 |
|
|
|
4723523 |
* Sun Aug 16 2009 Hans de Goede <hdegoede@redhat.com> - 0.6.1a-3
|
|
|
4723523 |
- Switch to openal-soft
|
|
|
4723523 |
|
|
|
f5ff75d |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1a-2
|
|
|
f5ff75d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
f5ff75d |
|
|
|
21d9f54 |
* Tue Jun 16 2009 Jon Ciesla <limb@jcomserv.net> - 0.6.1a-1
|
|
|
21d9f54 |
- Patch release.
|
|
|
21d9f54 |
- Fixed symlink/dir replacement, BZ 506245.
|
|
|
21d9f54 |
|
|
|
24480c0 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-2
|
|
|
24480c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
24480c0 |
|
|
|
d40821b |
* Mon Feb 23 2009 Hans de Goede <hdegoede@redhat.com> 0.6.1-1
|
|
|
d40821b |
- New upstream release 0.6.1
|
|
|
d40821b |
|
|
|
c9c9e81 |
* Sun Jan 25 2009 Hans de Goede <hdegoede@redhat.com> 0.6-1
|
|
|
c9c9e81 |
- New upstream release 0.6
|
|
|
c9c9e81 |
|
|
|
1f666e0 |
* Sun Sep 7 2008 Hans de Goede <hdegoede@redhat.com> 0.5-2
|
|
|
1f666e0 |
- Fix patch fuzz build failure
|
|
|
1f666e0 |
|
|
|
f6bb956 |
* Tue Jun 3 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.5-1
|
|
|
f6bb956 |
- New upstream release 0.5
|
|
|
f6bb956 |
|
|
|
ec9260a |
* Tue May 13 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4-2
|
|
|
ec9260a |
- Rebuild for new plib
|
|
|
ec9260a |
|
|
|
341dff1 |
* Mon Mar 10 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4-1
|
|
|
341dff1 |
- New upstream release 0.4
|
|
|
341dff1 |
- Note this version includes a build in copy of the bullet physics library,
|
|
|
341dff1 |
this is a patched copy making use if a system version impossible
|
|
|
341dff1 |
|
|
|
a53a191 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.3-4
|
|
|
a53a191 |
- Autorebuild for GCC 4.3
|
|
|
a53a191 |
|
|
|
755f71e |
* Fri Jan 11 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.3-3
|
|
|
755f71e |
- Fix compilation with gcc 4.3
|
|
|
755f71e |
|
|
|
fa11dd9 |
* Mon Sep 24 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.3-2
|
|
|
fa11dd9 |
- Use opengl-games-utils wrapper to show error dialog when DRI is missing
|
|
|
fa11dd9 |
|
|
|
af6fd20 |
* Wed Aug 15 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.3-1
|
|
|
af6fd20 |
- New upstream release 0.3
|
|
|
af6fd20 |
- Drop most patches (all fixed upstream)
|
|
|
af6fd20 |
- Update License tag for new Licensing Guidelines compliance
|
|
|
af6fd20 |
|
|
|
50baacd |
* Fri Oct 6 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.2-3
|
|
|
50baacd |
- replace some more coprighted images and sounds
|
|
|
50baacd |
- fix a bunch of joystick related bugs
|
|
|
50baacd |
|
|
|
50baacd |
* Mon Sep 25 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.2-2
|
|
|
50baacd |
- rename images-legal.txt to supertuxkart-images-legal.txt
|
|
|
50baacd |
- add a changelog entry for the previous release (and this one)
|
|
|
50baacd |
|
|
|
50baacd |
* Mon Sep 25 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.2-1
|
|
|
50baacd |
- initial Fedora Extras package (replacing regular tuxkart)
|