Name: machineball Version: 1.0 Release: 41%{?dist} Summary: A futuristic ball game with simple rules License: GPL+ URL: http://benny.kramekweb.com/machineball/ Source0: http://benny.kramekweb.com/%{name}/%{name}-src-%{version}-1.tar.gz Source1: machineball.desktop Patch0: machineball-fixes.patch Patch1: machineball-config-only-once.patch Patch2: machineball-1.0-ode.patch Patch3: machineball-1.0-timer-fix.patch BuildRequires: make BuildRequires: gcc-c++ BuildRequires: alleggl-devel libGLU-devel ode-devel dumb-devel allegro-tools BuildRequires: desktop-file-utils Requires: hicolor-icon-theme opengl-games-utils %description Machine Ball is a futuristic sport with amazing 3D graphics and realistic physics with very simple rules: Get the ball into your opponents goal. You can use your machine to push the ball in, or you can collect powerups such as missiles and blast the ball into the goal. Be creative. %prep %autosetup -n %{name}-src -p1 %build # The deps in the Makefile are incomplete force mbdata.c / .h generation first make mbdata.c %make_build CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" %install mkdir -p $RPM_BUILD_ROOT/usr/bin install -m 755 %{name} $RPM_BUILD_ROOT/usr/bin ln -s opengl-game-wrapper.sh $RPM_BUILD_ROOT%{_bindir}/%{name}-wrapper # 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} for i in "16x16" "24x24" "32x32" "48x48" "64x64"; do mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/$i/apps install -p -m 644 %{name}-icon-$i.xpm \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/$i/apps/%{name}.xpm done %files %doc README %license COPYING %{_bindir}/%{name}* %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.xpm %changelog * Sun Jul 24 2022 Robert-André Mauchin - 1.0-41 - Rebuilt for Ode soname bump * Thu Jul 21 2022 Fedora Release Engineering - 1.0-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 29 2022 Hedayat Vatankhah - 1.0-39 - Rebuild for new ode-0.16 * 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 * Tue Jul 28 2020 Fedora Release Engineering - 1.0-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.0-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.0-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.0-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.0-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.0-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 18 2018 Igor Gnatenko - 1.0-29 - Remove obsolete scriptlets * Thu Aug 03 2017 Fedora Release Engineering - 1.0-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.0-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Feb 16 2017 Hans de Goede - 1.0-26 - Fix FTBFS * Fri Feb 10 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 * Wed Jun 17 2015 Fedora Release Engineering - 1.0-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 1.0-22 - Rebuilt for GCC 5 C++11 ABI change * Wed Oct 29 2014 Hans de Goede - 1.0-21 - Really rebuild against ode-0.13.1 * Wed Oct 29 2014 Hans de Goede - 1.0-20 - Rebuild for ode-0.13.1 - Fix the game running at the wrong speed * Sun Aug 17 2014 Fedora Release Engineering - 1.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Feb 15 2013 Toshio Kuratomi - 1.0-16 - Remove --vendor from desktop-file-install on F19+ https://fedorahosted.org/fesco/ticket/1077 * Thu Feb 14 2013 Fedora Release Engineering - 1.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Aug 20 2012 Jon Ciesla - 1.0-14 - Patched and rebuilt for new ode. * Thu Jul 19 2012 Fedora Release Engineering - 1.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Jul 13 2011 Hans de Goede - 1.0-11 - Rebuilt for new allegro-4.4 * Tue Feb 08 2011 Fedora Release Engineering - 1.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Feb 14 2010 Hans de Goede 1.0-9 - Fix FTBFS (#565118)