Name: zasx Version: 1.30 Release: 39%{?dist} Summary: Asteroid like game with powerups License: GPLv2+ and Freely redistributable without restriction URL: https://www.allegro.cc/depot/Zasx/ # Original link (down): http://www.bob.allegronetwork.com/zasx/zasx130s.zip Source0: zasx130s.zip Source1: zasx.desktop Source2: zasx.appdata.xml Patch0: zasx-1.30-fixes.patch Patch1: zasx-1.30-datadir.patch Patch2: zasx-1.30-format-security.patch Patch3: zasx-1.30-locale-fix.patch BuildRequires: make BuildRequires: gcc BuildRequires: dumb-devel ImageMagick desktop-file-utils libappstream-glib Requires: hicolor-icon-theme %description Shoot the asteroids before they hit your ship and collect power ups to restore your shields and improve your weapons. The game features single and dualplayer mode, joystick, music and sound. %prep %autosetup -p1 -n Zasx sed -i 's/\r//' copying.txt readme.txt docs/index.html docs/%{name}.css mv docs html %build make %{?_smp_mflags} PREFIX=%{_prefix} \ CFLAGS="$RPM_OPT_FLAGS -fsigned-char -DALLEGRO_FIX_ALIASES -Wno-deprecated-declarations" convert -transparent black -resize 64x64 %{name}.ico %{name}.png %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 %{name}.png \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/appdata appstream-util validate-relax --nonet \ $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml %files %doc readme.txt html %license copying.txt %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/64x64/apps/%{name}.png %changelog * Sat Jul 20 2024 Fedora Release Engineering - 1.30-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jan 27 2024 Fedora Release Engineering - 1.30-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 22 2023 Fedora Release Engineering - 1.30-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 21 2023 Fedora Release Engineering - 1.30-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 1.30-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 1.30-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.30-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jan 28 2021 Fedora Release Engineering - 1.30-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.30-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jan 31 2020 Fedora Release Engineering - 1.30-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jul 27 2019 Fedora Release Engineering - 1.30-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Feb 03 2019 Fedora Release Engineering - 1.30-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Oct 15 2018 Hans de Goede - 1.30-27 - Fix FTBFS (rhbz#1606782) - Add appdata - Fix the spaceship being unable to shoot on locales which use a comma as decimal separator * Sat Jul 14 2018 Fedora Release Engineering - 1.30-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.30-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 18 2018 Igor Gnatenko - 1.30-24 - Remove obsolete scriptlets * Thu Aug 03 2017 Fedora Release Engineering - 1.30-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.30-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.30-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Feb 05 2016 Fedora Release Engineering - 1.30-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jun 19 2015 Fedora Release Engineering - 1.30-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Aug 18 2014 Fedora Release Engineering - 1.30-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Mon Jun 16 2014 Hans de Goede - 1.30-17 - Fix FTBFS (rhbz#1037410) * Sat Jun 07 2014 Fedora Release Engineering - 1.30-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.30-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sun Feb 10 2013 Parag Nemade - 1.30-14 - Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077 - Cleanup spec as per recently changed packaging guidelines * Sun Jul 22 2012 Fedora Release Engineering - 1.30-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 1.30-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Sat Jul 16 2011 Hans de Goede - 1.30-11 - Rebuild for new allegro-4.4 * Tue Feb 08 2011 Fedora Release Engineering - 1.30-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Feb 14 2010 Hans de Goede 1.30-9 - Fix FTBFS (#565175) * Mon Jul 27 2009 Fedora Release Engineering - 1.30-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 1.30-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Feb 19 2008 Fedora Release Engineering - 1.30-6 - Autorebuild for GCC 4.3 * Wed Aug 22 2007 Hans de Goede 1.30-5 - Rebuild for buildId * Sun Aug 12 2007 Hans de Goede 1.30-4 - Update License tag for new Licensing Guidelines compliance - Fix invalid desktop file (fix building with latest desktop-file-utils) * Tue Aug 29 2006 Hans de Goede 1.30-3 - FE6 Rebuild * Thu Jul 6 2006 Hans de Goede 1.30-2 - Rebuild against new allegro to remove executable stack requirement caused by previous versions of allegro. * Sun Apr 2 2006 Hans de Goede 1.30-1 - initial Fedora Extras package