Name: dd2 Version: 0.2.2 Release: 30%{?dist} Summary: Dodgin' Diamond 2 - Shoot'em up arcade game License: GPLv2+ URL: http://www.usebox.net/jjm/dd2/ Source0: http://www.usebox.net/jjm/dd2/releases/dd2-%{version}.tar.gz Source1: %{name}.desktop Source2: %{name}.png Patch0: dd2-0.2.1-glob-highscore.patch Patch1: dd2-0.2.1-640x480-fullscreen.patch BuildRequires: gcc BuildRequires: SDL_mixer-devel desktop-file-utils BuildRequires: make Requires: hicolor-icon-theme %description This is a little shoot'em up arcade game for one or two players. It aims to be an 'old school' arcade game with low resolution graphics, top-down scroll action, energy based gameplay and different weapons with several levels of power. %prep %setup -q %patch0 -p1 -z .highscore %patch1 -p1 -z .fs #stop autoxxx from rerunning touch src/data/Makefile.in %build %configure %make_build %install %make_install rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name} mkdir -p $RPM_BUILD_ROOT%{_var}/games mv $RPM_BUILD_ROOT%{_datadir}/%{name}/%{name}-hiscore \ $RPM_BUILD_ROOT%{_var}/games # 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/24x24/apps install -p -m 644 %{SOURCE2} \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/24x24/apps/%{name}.png %files %doc AUTHORS ChangeLog COPYING NEWS README TODO %attr(2755,root,games) %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/24x24/apps/%{name}.png %config(noreplace) %attr (0664,root,games) %{_var}/games/%{name}-hiscore %changelog * Thu Jul 21 2022 Fedora Release Engineering - 0.2.2-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.2.2-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.2.2-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.2.2-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.2.2-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 0.2.2-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 0.2.2-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 0.2.2-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Jul 31 2018 Florian Weimer - 0.2.2-22 - Rebuild with fixed binutils * Thu Jul 12 2018 Fedora Release Engineering - 0.2.2-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.2.2-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 11 2018 Igor Gnatenko - 0.2.2-19 - Remove obsolete scriptlets * Wed Aug 02 2017 Fedora Release Engineering - 0.2.2-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.2.2-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.2.2-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 0.2.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.2.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Aug 16 2014 Fedora Release Engineering - 0.2.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.2.2-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.2.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Feb 18 2013 Toshio Kuratomi - 0.2.2-10 - Remove --vendor from desktop-file-install https://fedorahosted.org/fesco/ticket/1077 * Wed Feb 13 2013 Fedora Release Engineering - 0.2.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 0.2.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.2.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.2.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 24 2009 Fedora Release Engineering - 0.2.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Feb 24 2009 Fedora Release Engineering - 0.2.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Feb 19 2008 Fedora Release Engineering - 0.2.2-3 - Autorebuild for GCC 4.3 * Wed Aug 22 2007 Hans de Goede 0.2.2-2 - Upstream has respinned its tarbal, no significant changes * Tue Aug 14 2007 Hans de Goede 0.2.2-1 - New upstream version, no changes except that it is now licenses under GPLv2 or any later version (the or any later version is new), hurray! * Mon Aug 6 2007 Hans de Goede 0.2.1-2 - Update License tag for new Licensing Guidelines compliance - Make fullscreen mode 640x480 instead of 320x240, so that it will work better on LCD's * Sat Nov 18 2006 Hans de Goede 0.2.1-1 - Initial Fedora Extras package