Name: clanbomber Version: 1.05 Release: 44%{?dist} Summary: Lay bombs and Blast the other players of the field game using ClanLib License: GPLv2+ URL: http://clanbomber.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source1: clanbomber.desktop Source2: clanbomber.png Source3: clanbomber.appdata.xml Patch0: clanbomber-1.05-debian.patch Patch1: clanbomber-1.05-namespace.patch Patch2: clanbomber-1.05-make.patch Patch3: clanbomber-1.05-gcc6.patch Patch4: %{name}-gcc11.patch BuildRequires: gcc-c++ BuildRequires: ClanLib06-devel zlib-devel desktop-file-utils libappstream-glib BuildRequires: make Requires: hicolor-icon-theme %description ClanBomber is a free multiplayer game, using ClanLib, where the "purpose" is to Blast the other players of the gamefield by laying bombs close to them. While at the same time you must avoid being blown up yourself. It is fully playable and features Computer controlled bombers, however, it is recommended to play ClanBomber with friends (3-8 players are really fun). %prep %setup -q %patch0 -p1 -z .deb %patch1 -p1 -z .namespace %patch2 -p1 %patch3 -p1 %patch4 -p1 %build %configure --disable-dependency-tracking make %install %make_install 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 AUTHORS ChangeLog IDEAS QUOTES README %license COPYING %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/48x48/apps/%{name}.png %changelog * Wed Jul 19 2023 Fedora Release Engineering - 1.05-44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jan 18 2023 Fedora Release Engineering - 1.05-43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Jul 20 2022 Fedora Release Engineering - 1.05-42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 1.05-41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 1.05-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.05-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Nov 04 2020 Jeff Law - 1.05-38 - Fix missing #include for gcc-11 * Mon Jul 27 2020 Fedora Release Engineering - 1.05-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 1.05-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 1.05-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.05-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 1.05-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.05-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sun Jan 07 2018 Igor Gnatenko - 1.05-31 - Remove obsolete scriptlets * Wed Aug 02 2017 Fedora Release Engineering - 1.05-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.05-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.05-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat Feb 20 2016 Hans de Goede - 1.05-27 - Fix FTBFS (rhbz#1307379) - Add appdata * Wed Feb 03 2016 Fedora Release Engineering - 1.05-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.05-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 1.05-24 - Rebuilt for GCC 5 C++11 ABI change * Sat Aug 16 2014 Fedora Release Engineering - 1.05-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.05-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.05-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Rahul Sundaram - 1.05-20 - remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247 - clean up spec to follow current guidelines - fix desktop file to follow specification * Wed Feb 13 2013 Fedora Release Engineering - 1.05-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 1.05-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Feb 28 2012 Fedora Release Engineering - 1.05-17 - Rebuilt for c++ ABI breakage * Thu Jan 12 2012 Fedora Release Engineering - 1.05-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Sun Apr 03 2011 Hans de Goede - 1.05-15 - Rebuild with fixed ClanLib06 to fix corrupt clanbomber.dat file (rhbz#688309) * Tue Feb 08 2011 Fedora Release Engineering - 1.05-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Sep 10 2010 Hans de Goede 1.05-13 - Fix FTBFS (#631342) * Fri Jul 24 2009 Fedora Release Engineering - 1.05-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Feb 23 2009 Fedora Release Engineering - 1.05-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Jan 30 2009 Hans de Goede 1.05-10 - Improve description * Fri Jan 30 2009 Hans de Goede 1.05-9 - Update description for new trademark guidelines * Tue Feb 19 2008 Fedora Release Engineering - 1.05-8 - Autorebuild for GCC 4.3 * Mon Sep 24 2007 Hans de Goede 1.05-7 - Revert last change, clanbomber does not use OpenGL (oops) * Mon Sep 24 2007 Hans de Goede 1.05-6 - Use opengl-games-utils wrapper to show error dialog when DRI is missing * Mon Aug 6 2007 Hans de Goede 1.05-5 - Update License tag for new Licensing Guidelines compliance * Sat Mar 10 2007 Hans de Goede 1.05-4 - Fixup .desktop file categories for games-menus usage * Mon Aug 28 2006 Hans de Goede 1.05-3 - FE6 Rebuild * Tue Jul 25 2006 Hans de Goede 1.05-2 - remove %%{?_smp_mflags} from the make command as this breaks the build sometimes (race condition). * Fri Jul 21 2006 Hans de Goede 1.05-1 - initial Fedora Extras package