Name: overgod Version: 1.0 Release: 39%{?dist} Summary: Another arcade-style shoot-em-up License: GPLv2+ URL: http://www.allegro.cc/depot/Overgod Source0: http://downloads.sourceforge.net/overgod/overgod.tar.gz Source1: overgod.desktop Source2: overgod.png Source3: overgod.appdata.xml Patch0: overgod-1.0.patch Patch1: overgod-1.0-format-string.patch Patch2: overgod-1.0-shield_bmp_array_overrun.patch Patch3: overgod-1.0-inline-use-fix.patch BuildRequires: make BuildRequires: gcc BuildRequires: allegro-devel desktop-file-utils libappstream-glib Requires: hicolor-icon-theme %description For too long has humanity been ruled by cruel and disputatious gods! Fly through the various layers of the Celestial Oversphere to unseat those who control the universe. In Overgod you control a little vehicle in the middle of the screen and fly around and shoot things - a bit like asteroids, but the asteroids move independently and shoot back. You can also upgrade your vehicle in various ways. %prep %setup -q %patch0 -p1 -z .unix %patch1 -p1 %patch2 -p1 %patch3 -p1 sed -i 's/\r//' readme.txt licence.txt %build make %{?_smp_mflags} \ CFLAGS="$RPM_OPT_FLAGS -Wno-unused-but-set-variable" PREFIX=%{_prefix} %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/48x48/apps install -p -m 644 %{SOURCE2} \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/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 %doc readme.txt licence.txt %{_bindir}/overgod %{_datadir}/overgod %{_datadir}/appdata/overgod.appdata.xml %{_datadir}/applications/overgod.desktop %{_datadir}/icons/hicolor/48x48/apps/overgod.png %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.0-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.0-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.0-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.0-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 1.0-35 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.0-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.0-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.0-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.0-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.0-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.0-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 18 2018 Igor Gnatenko - 1.0-28 - Remove obsolete scriptlets * Thu Aug 03 2017 Fedora Release Engineering - 1.0-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.0-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.0-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.0-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jun 23 2015 Hans de Goede - 1.0-23 - Fix FTBFS - Add an appdata file * Thu Jun 18 2015 Fedora Release Engineering - 1.0-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 1.0-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 15 2014 Hans de Goede - 1.0-20 - Fix FTBFS (rhbz#1037236) * Sat Jun 07 2014 Fedora Release Engineering - 1.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Apr 30 2013 Jon Ciesla - 1.0-17 - Drop desktop vendor tag. * Thu Feb 14 2013 Fedora Release Engineering - 1.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Sat Jul 16 2011 Hans de Goede - 1.0-13 - Rebuild for new allegro-4.4 * Tue Feb 08 2011 Fedora Release Engineering - 1.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Feb 22 2010 Hans de Goede 1.0-11 - Fix FTBFS (#564895) * Sat Jul 25 2009 Fedora Release Engineering - 1.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Jan 30 2009 Hans de Goede 1.0-8 - Update description for new trademark guidelines * Tue Feb 19 2008 Fedora Release Engineering - 1.0-7 - Autorebuild for GCC 4.3 * Wed Aug 15 2007 Hans de Goede 1.0-6 - Update License tag for new Licensing Guidelines compliance * Mon Aug 28 2006 Hans de Goede 1.0-5 - FE6 Rebuild * Thu Jul 6 2006 Hans de Goede 1.0-4 - Rebuild against new allegro to remove executable stack requirement caused by previous versions of allegro. * Mon Feb 13 2006 Hans de Goede 1.0-3 - Bump release and rebuild for new gcc4.1 and glibc. * Tue Jan 31 2006 Hans de Goede 1.0-2 - Fixup description (bz 178625) * Sun Jan 22 2006 Hans de Goede 1.0-1 - Initial Fedora Extras package