fix requirement by install missing internally build library; obsolete tuxkart [release 1.3-2mamba;Sat Nov 06 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 18:12:35 +01:00
parent fbe29a01f0
commit 67f4aa387b

View File

@ -1,41 +1,37 @@
Name: supertuxkart
Version: 1.2
Release: 1mamba
Version: 1.3
Release: 2mamba
Summary: A Free 3D kart racing game
Group: Graphical Desktop/Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://supertuxkart.sourceforge.net/Main_Page
URL: https://supertuxkart.net/Main_Page
Source: https://sourceforge.net/projects/supertuxkart/files/SuperTuxKart/%{version}/SuperTuxKart-%{version}-src.tar.xz
Patch0: supertuxkart-0.7.3-irrlicht-1.8.patch
Patch1: supertuxkart-0.7.3-irrlicht-1.8-2.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libGL-devel
BuildRequires: libGLU-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXrandr-devel
BuildRequires: libSDL2-devel
BuildRequires: libbluetooth-devel
BuildRequires: libcurl-devel
BuildRequires: libfreetype-devel
BuildRequires: libfribidi-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libgomp-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libjpeg-devel
BuildRequires: libogg-devel
BuildRequires: libmcpp-devel
BuildRequires: libopenal-devel
BuildRequires: libopenssl-devel
BuildRequires: libpng-devel
BuildRequires: libsqlite-devel
BuildRequires: libsquish-devel
BuildRequires: libstdc++6-devel
BuildRequires: libvorbis-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Provides: tuxkart
Obsoletes: tuxkart <= 0.4.0
%description
SuperTuxKart is a Free 3D kart racing game, with many tracks, characters and items for you to try.
@ -48,11 +44,6 @@ SuperTuxKart is a Free 3D kart racing game, with many tracks, characters and ite
#%patch1 -p1
%build
## http://forum.freegamedev.net/viewtopic.php?f=17&t=3731
#cd lib/irrlicht/source/Irrlicht/
#NDEBUG=1 % make
#cd ../../../..
%cmake -d build \
-DBUILD_RECORDER=0
@ -65,6 +56,7 @@ SuperTuxKart is a Free 3D kart racing game, with many tracks, characters and ite
# FIXME: /usr/lib not a good place for internal .so plugin library
#install -D -m0755 build/lib/wiiuse/libwiiuse.so %{buildroot}%{_libdir}/libwiiuse.so
cp -a build/lib/angelscript/projects/cmake/libangelscript.so* %{buildroot}%{_libdir}/
cp -a build/lib/tinygettext/libtinygettext.so %{buildroot}%{_libdir}/
#install -D -m0755 build/lib/irrlicht/libstkirrlicht.so %{buildroot}%{_libdir}/libstkirrlicht.so
%clean
@ -78,19 +70,20 @@ cp -a build/lib/angelscript/projects/cmake/libangelscript.so* %{buildroot}%{_lib
%{_datadir}/supertuxkart/data/*
%{_datadir}/applications/supertuxkart.desktop
%{_datadir}/metainfo/supertuxkart.appdata.xml
%{_datadir}/pixmaps/supertuxkart.png
#%{_datadir}/appdata/supertuxkart.appdata.xml
%{_datadir}/icons/hicolor/*/apps/supertuxkart.png
#%{_datadir}/pixmaps/supertuxkart_128.png
#%{_datadir}/pixmaps/supertuxkart_32.png
%{_libdir}/libangelscript.so*
%{_libdir}/libtinygettext.so*
%{_includedir}/wiiuse.h
%{_libdir}/libwiiuse.a
#%{_libdir}/libwiiuse.so
#%{_libdir}/libstkirrlicht.so
%doc COPYING
%changelog
* Sat Nov 06 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-2mamba
- fix requirement by install missing internally build library; obsolete tuxkart
* Mon Oct 04 2021 Automatic Build System <autodist@mambasoft.it> 1.3-1mamba
- automatic version update by autodist
* Wed Sep 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-1mamba
- update to 1.2