122 lines
3.9 KiB
RPMSpec
122 lines
3.9 KiB
RPMSpec
Name: supertuxkart
|
|
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: 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: libSDL2-devel
|
|
BuildRequires: libbluetooth-devel
|
|
BuildRequires: libcurl-devel
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libharfbuzz-devel
|
|
BuildRequires: libjpeg-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
|
|
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.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n SuperTuxKart-%{version}-src
|
|
#%patch0 -p2
|
|
#%patch1 -p1
|
|
|
|
%build
|
|
%cmake -d build \
|
|
-DBUILD_RECORDER=0
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
|
|
# 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
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/supertuxkart
|
|
%dir %{_datadir}/supertuxkart
|
|
%dir %{_datadir}/supertuxkart/data
|
|
%{_datadir}/supertuxkart/data/*
|
|
%{_datadir}/applications/supertuxkart.desktop
|
|
%{_datadir}/metainfo/supertuxkart.appdata.xml
|
|
%{_datadir}/icons/hicolor/*/apps/supertuxkart.png
|
|
%{_libdir}/libangelscript.so*
|
|
%{_libdir}/libtinygettext.so*
|
|
%{_includedir}/wiiuse.h
|
|
%{_libdir}/libwiiuse.a
|
|
%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
|
|
|
|
* Tue Mar 31 2020 Automatic Build System <autodist@mambasoft.it> 1.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Jul 09 2016 Automatic Build System <autodist@mambasoft.it> 0.9.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Oct 21 2015 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Apr 30 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9-1mamba
|
|
- update to 0.9
|
|
|
|
* Wed Nov 27 2013 Automatic Build System <autodist@mambasoft.it> 0.8.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jun 05 2013 Automatic Build System <autodist@mambasoft.it> 0.8-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Dec 04 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.3-1mamba
|
|
- update to 0.7.3
|
|
|
|
* Sun Jul 24 2011 Automatic Build System <autodist@mambasoft.it> 0.7.2-1mamba
|
|
- update to 0.7.2
|
|
|
|
* Fri Apr 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.1a-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Tue Mar 03 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.1a-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri Aug 08 2008 Marco Bellezza <superbel@hotmail.it> 0.5-1mamba
|
|
- package created by autospec
|