Name: scorchwentbonkers Version: 1.3 Release: 19%{?dist} Summary: Realtime remake of Scorched Earth License: zlib URL: http://wasyl.eu/games/scorch-went-bonkers.html Source0: http://wasyl.eu/assets/dls/scorch-went-bonkers-src.zip Source1: %{name}.desktop Source2: %{name}.png Source3: %{name}.appdata.xml Patch0: %{name}-no-fmod.patch Patch1: %{name}-support-16bpp.patch Patch2: %{name}-unixify.patch Patch3: %{name}-gcc6.patch Patch4: %{name}-gcc11.patch BuildRequires: make BuildRequires: gcc-c++ BuildRequires: alleggl-devel jpgalleg-devel dumb-devel AllegroOGG-devel BuildRequires: libGLU-devel desktop-file-utils libappstream-glib Requires: hicolor-icon-theme %description As the name suggests, Scorch Went Bonkers is a remake of the old PC classic. However, many things were changed and the type of fun delivered by the game is different. Where Scorched Earth puts emphasis on tactics and careful calculations, SWB requires quick thinking, perfect timing and only one finger for controlling your tank. The game is real-time instead of turn based. %prep %setup -q -c %patch0 -p1 -z .no-fmod %patch1 -p1 -z .16bpp %patch2 -p1 -z .unix %patch3 -p1 %patch4 -p1 mv src/menu/Splashscreen.h src/menu/SplashScreen.h %build make %{?_smp_mflags} PREFIX=%{_prefix} OPTFLAGS="$RPM_OPT_FLAGS -fsigned-char" %install make install PREFIX=$RPM_BUILD_ROOT%{_prefix} # below is the desktop file and icon stuff. mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1} mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps install -p -m 644 %{SOURCE2} \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/appdata appstream-util validate-relax --nonet \ $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml %files %license LICENSE %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/64x64/apps/%{name}.png %changelog * Sat Jul 23 2022 Fedora Release Engineering - 1.3-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 1.3-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.3-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.3-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Jeff Law - 1.3-15 - Make comparison object invocable as const * Wed Jul 29 2020 Fedora Release Engineering - 1.3-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 18 2018 Igor Gnatenko - 1.3-8 - Remove obsolete scriptlets * Thu Aug 03 2017 Fedora Release Engineering - 1.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon May 15 2017 Fedora Release Engineering - 1.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun Feb 21 2016 Hans de Goede - 1.3-3 - Fix FTBFS (rhbz#1308121) * Thu Feb 04 2016 Fedora Release Engineering - 1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jan 6 2016 Hans de Goede - 1.3-1 - Upstream has moved to: http://wasyl.eu/games/scorch-went-bonkers.html - Update to new 1.3 version (rhbz#1295119) - Add appdata * Fri Jun 19 2015 Fedora Release Engineering - 1.1-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 1.1-18 - Rebuilt for GCC 5 C++11 ABI change * Mon Aug 18 2014 Fedora Release Engineering - 1.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 1.1-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Feb 25 2013 Toshio Kuratomi - 1.1-14 - Remove --vendor from desktop-file-install for F19+ https://fedorahosted.org/fesco/ticket/1077 * Thu Feb 14 2013 Fedora Release Engineering - 1.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 1.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 1.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Jul 13 2011 Hans de Goede - 1.1-10 - Rebuilt for new allegro-4.4 * Wed Feb 09 2011 Fedora Release Engineering - 1.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Feb 22 2010 Hans de Goede 1.1-8 - Fix FTBFS (#564908) * Sun Jul 26 2009 Fedora Release Engineering - 1.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Feb 19 2008 Fedora Release Engineering - 1.1-5 - Autorebuild for GCC 4.3 * Fri Aug 31 2007 Hans de Goede 1.1-4 - Fix Source0 URL * Wed Aug 15 2007 Hans de Goede 1.1-3 - Update License tag for new Licensing Guidelines compliance * Tue Mar 13 2007 Hans de Goede 1.1-2 - Fix a divide by zero crash when playing against the computer - Add missing BuildRequires: jpgalleg-devel, libGLU-devel * Sun Feb 4 2007 Hans de Goede 1.1-1 - Initial Fedora Extras package