Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-updates-src > by-pkgid > 0dca5a6342bd9cd9c464b4cbc5e0f554 > files > 2

supertuxkart-1.1-1.mga7.src.rpm

#define prerel  rc1
%define rel     1

Summary:        3D kart racing game
Name:           supertuxkart
Version:        1.1
Release:        %mkrel %{?prerel:0.%{prerel}.}%{rel}
Group:          Games/Arcade
License:        GPLv2+
URL:            https://supertuxkart.net
Source0:        https://downloads.sf.net/supertuxkart/%{name}-%{version}%{?prerel:-%{prerel}}-src.tar.xz

BuildRequires:  cmake
BuildRequires:  libgomp-devel
BuildRequires:  pkgconfig(bluez)
BuildRequires:  pkgconfig(egl)
BuildRequires:  pkgconfig(freetype2)
BuildRequires:  pkgconfig(fribidi)
BuildRequires:  pkgconfig(gl)
BuildRequires:  pkgconfig(glesv2)
BuildRequires:  pkgconfig(glew)
BuildRequires:  pkgconfig(glu)
BuildRequires:  pkgconfig(harfbuzz)
BuildRequires:  pkgconfig(libcurl)
BuildRequires:  pkgconfig(libjpeg)
BuildRequires:  pkgconfig(libpng)
BuildRequires:  pkgconfig(openal)
BuildRequires:  pkgconfig(vorbis)
BuildRequires:  pkgconfig(wayland-client)
BuildRequires:  pkgconfig(wayland-cursor)
BuildRequires:  pkgconfig(wayland-egl)
BuildRequires:  pkgconfig(xkbcommon)
BuildRequires:  pkgconfig(xrandr)
BuildRequires:  pkgconfig(zlib)
BuildRequires:  wiiuse-devel
Requires:       %{name}-data >= %{version}

# Could be unbundled if packaged.
Provides:       bundled(angelscript) = 2.32.0
# STK uses an ancient, modified version of bullet, and can't build against
# system bullet.
Provides:       bundled(bullet) = 2.79
# Bundled enet is modified to add IPv6 support, which is lacking in the
# unmaintained upstream enet.
# We could build against system enet, but then we can't support IPv6.
Provides:       bundled(libenet) = 1.3.12
# TODO: Attempt unbundling.
Provides:       bundled(mcpp) = 2.7.2
# TODO: Attempt unbundling.
Provides:       bundled(raqm) = 0.7.0
# Could be unbundled if packaged.
Provides:       bundled(squish)

%description
SuperTuxKart is a free 3D kart racing game. The aim is to make the game fun
more than to make it realistic. You can play with up to 4 friends on one PC,
racing against each other or just try to beat the computer (a network
multiplayer feature is planned).

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 on your own,
play battle mode against your friends, and more!

%package data
Summary:        Data files for the SuperTuxKart game
Group:          Games/Arcade
Conflicts:      %{name} < 0.7-3
BuildArch:      noarch

%description data
This package contains data files for SuperTuxKart.

%prep
%autosetup -p1 -n %{name}-%{version}%{?prerel:-%{prerel}}-src

rm -rf lib/{glew,jpeglib,libpng,wiiuse,zlib}

%build
%cmake -DSTK_INSTALL_BINARY_DIR=%{_gamesbindir} \
       -DSTK_INSTALL_DATA_DIR=%{_gamesdatadir}/%{name} \
       -DBUILD_SHARED_LIBS=OFF \
       -DBUILD_RECORDER=OFF \
       -DUSE_SYSTEM_ENET=OFF \
       -DUSE_SYSTEM_GLEW=ON \
       -DUSE_SYSTEM_WIIUSE=ON

%make_build 

%install
%make_install -C build

# Already in hicolor
rm -rf %{buildroot}%{_datadir}/pixmaps

%files
%doc CHANGELOG.md README.md
%{_gamesbindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/metainfo/%{name}.appdata.xml
%{_iconsdir}/hicolor/*/apps/%{name}.png

%files data
%{_gamesdatadir}/%{name}/


%changelog
* Sat Feb 01 2020 zezinho <zezinho> 1.1-1.mga7
+ Revision: 1486345
- new version bugfix

* Fri Jun 14 2019 akien <akien> 1.0-2.mga7
+ Revision: 1399941
- Rebuild for fixed wiiuse soversion (mga#24954)

* Sun Apr 21 2019 akien <akien> 1.0-1.mga7
+ Revision: 1394335
- Version 1.0

* Mon Apr 08 2019 akien <akien> 0.10-0.rc1.4.mga7
+ Revision: 1386769
- Version 0.10 RC1
- Unbundle wiiuse

* Sat Jan 26 2019 daviddavid <daviddavid> 0.9.3-4.mga7
+ Revision: 1360969
- also backport upstream fix for system glew
- add uptream patch to fix compilation with current mesa

* Sun Sep 23 2018 umeabot <umeabot> 0.9.3-3.mga7
+ Revision: 1301245
- Mageia 7 Mass Rebuild

* Sun Dec 03 2017 daviddavid <daviddavid> 0.9.3-2.mga7
+ Revision: 1180805
- rebuild for new glew 2.1.0

* Wed Nov 22 2017 tv <tv> 0.9.3-1.mga7
+ Revision: 1178630
- fix filelist
- fix filelist
- we don't have wiiuse-devel
- BR glew
- disable libopenglrecorder
- use FC patches for killing bundled libraries
- new release

* Sat Jul 16 2016 pterjan <pterjan> 0.9.2-2.mga6
+ Revision: 1042242
- As discussed few months ago, drop tuxkart

* Tue Jul 05 2016 akien <akien> 0.9.2-1.mga6
+ Revision: 1039003
- Version 0.9.2

* Fri Mar 11 2016 pterjan <pterjan> 0.9.1-4.mga6
+ Revision: 989352
- Remove old source
- Add Debian patch that may fix arm build

* Fri Mar 11 2016 akien <akien> 0.9.1-3.mga6
+ Revision: 989316
- Rebuild as -data package seems missing from repos

* Sat Feb 20 2016 umeabot <umeabot> 0.9.1-2.mga6
+ Revision: 971890
- Mageia 6 Mass Rebuild

* Wed Oct 21 2015 zezinho <zezinho> 0.9.1-1.mga6
+ Revision: 893615
- new version

* Wed Apr 22 2015 akien <akien> 0.9-1.mga5
+ Revision: 820535
- Version 0.9 final
- Version 0.9 RC1
- Unbundled libenet

* Sun Feb 01 2015 akien <akien> 0.8.2-0.beta2.1.mga5
+ Revision: 812992
- Link internal libs statically
- Improve description
- Add fixed CREDITS file to workaround https://github.com/supertuxkart/stk-code/issues/1804
- Version 0.8.2 beta2
- Upstream desktop and appdata files

* Wed Oct 15 2014 umeabot <umeabot> 0.8.1-5.mga5
+ Revision: 745814
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 0.8.1-4.mga5
+ Revision: 689620
- Mageia 5 Mass Rebuild
+ danf <danf>
- Added git-mesa-10.3.patch from upstream to fix building against Mesa 10.3

* Sun Feb 16 2014 doktor5000 <doktor5000> 0.8.1-3.mga5
+ Revision: 592871
- removed --log=file parameter from desktop file (mga#12794)

* Tue Dec 17 2013 zezinho <zezinho> 0.8.1-2.mga4
+ Revision: 558331
- patch to fix build against Mesa 10

* Thu Nov 28 2013 dams <dams> 0.8.1-1.mga4
+ Revision: 553956
- delete useless icon (32x32)
- enable back log file
+ zezinho <zezinho>
- fix desktopfile-without-binary rpmlint
- new icons
- add BR for wiimote support
- new version 0.8.1

* Fri Oct 18 2013 umeabot <umeabot> 0.8-3.mga4
+ Revision: 519299
- Mageia 4 Mass Rebuild

* Mon Jan 14 2013 umeabot <umeabot> 0.8-2.mga3
+ Revision: 383787
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Thu Dec 20 2012 dams <dams> 0.8-1.mga3
+ Revision: 332924
- add mesagl-devel as buildrequire
- new version 0.8
- remove useless patches
- remove irrlicht as buildrequire as it has been forked and provided in the tarball
- add cmake as buildrequire

* Thu Sep 13 2012 dams <dams> 0.7.3-3.mga3
+ Revision: 293625
- add a require on engine game on the data package

* Wed Mar 14 2012 dams <dams> 0.7.3-2.mga2
+ Revision: 223344
- fix missing icon

* Tue Mar 06 2012 dams <dams> 0.7.3-1.mga2
+ Revision: 219462
- Add a patch to fix build with pthread
- new version 0.7.3
+ obgr_seneca <obgr_seneca>
- fixed conflicting return value due to new libirrlicht
- fixed desktop file
- fix for a fixed typo in libirrlicht

* Sat Dec 10 2011 fwang <fwang> 0.7-3.mga2
+ Revision: 180234
- br fribidi
- split data package

* Fri Sep 23 2011 fwang <fwang> 0.7-2.mga2
+ Revision: 146955
- fix desktop file
- clean br

* Wed Apr 20 2011 dams <dams> 0.7-1.mga1
+ Revision: 89141
- revert to 0.7 as 0.7.1 needs irrlicht 1.8 now yet stable
- imported package supertuxkart


* Thu Aug 20 2009 Frederik Himpe <fhimpe@mandriva.org> 0.6.2-2mdv2010.0
+ Revision: 418742
- Update to new version 0.6.2

* Wed May 13 2009 Samuel Verschelde <stormi@mandriva.org> 0.6.1a-2mdv2010.0
+ Revision: 375342
- fix desktop file (fix #49327)
- fix some rpmlint warnings

* Thu Feb 19 2009 Frederik Himpe <fhimpe@mandriva.org> 0.6.1a-1mdv2009.1
+ Revision: 342966
- Update to new version 0.6.1a
- Remove string format patch: integrated upstream

* Wed Feb 18 2009 Frederik Himpe <fhimpe@mandriva.org> 0.6.1-1mdv2009.1
+ Revision: 342631
- Update to version 0.6.1
- Rediff -Werror=format-security patch

* Thu Jan 22 2009 Funda Wang <fundawang@mandriva.org> 0.6-1mdv2009.1
+ Revision: 332530
- fix str fmt
- New version 0.6

  + Oden Eriksson <oeriksson@mandriva.com>
    - lowercase ImageMagick

* Sat Aug 02 2008 Frederik Himpe <fhimpe@mandriva.org> 0.5-1mdv2009.0
+ Revision: 260783
- New upstream version 0.5
- BuildRequires: openal-devel
- Rediff desktop file patch
- Add upstream patch to fix wrong kart switching in multiplayer mode

* Wed Mar 26 2008 Adam Williamson <awilliamson@mandriva.org> 0.4-1mdv2009.0
+ Revision: 190453
- delete old source

* Tue Mar 18 2008 Adam Williamson <awilliamson@mandriva.org> 0.4-1mdv2008.1
+ Revision: 188663
- prettify pre-release conditionals
- 0.4 final

* Sun Mar 16 2008 Funda Wang <fundawang@mandriva.org> 0.4-0.rc1a.2mdv2008.1
+ Revision: 188117
- fix desktop file

* Thu Feb 28 2008 Adam Williamson <awilliamson@mandriva.org> 0.4-0.rc1a.1mdv2008.1
+ Revision: 175968
- buildrequires mesaglut-devel
- new license policy
- fd.o icons, correct .desktop file
- new release 0.4 rc1

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Fri Aug 10 2007 Funda Wang <fundawang@mandriva.org> 0.3-2mdv2008.0
+ Revision: 61563
- remove 3DGraphics category(bug#32469)

* Thu Aug 02 2007 Olivier Blin <oblin@mandriva.com> 0.3-1mdv2008.0
+ Revision: 58183
- buildrequire SDL/alut/mikmod/vorbis devel packages
- 0.3
- use upstream desktop file and icons


* Sat Dec 02 2006 Olivier Blin <oblin@mandriva.com> 0.2-2mdv2007.0
+ Revision: 89960
- add menu entry

* Wed Nov 08 2006 Olivier Blin <oblin@mandriva.com> 0.2-1mdv2007.1
+ Revision: 78321
- initial supertuxkart package
- rename as supertuxkart to match distname
- Create super-tuxkart