Name: sumwars Version: 0.5.8 Release: %mkrel 21 Summary: Summoning Wars Role-Playing Game Group: Games/Adventure License: GPLv3+ URL: http://www.sumwars.org/ Source0: https://sourceforge.net/projects/sumwars/files/%{version}/%{name}-%{version}.tar.bz2 Patch0: sumwars-0.5.8-mga-install-paths.patch Patch1: sumwars-0.5.8-missing-include.patch BuildRequires: boost-devel BuildRequires: cmake BuildRequires: pkgconfig(physfs) BuildRequires: pkgconfig(CEGUI-0) BuildRequires: pkgconfig(freealut) BuildRequires: pkgconfig(libenet) BuildRequires: pkgconfig(lua-5.1) BuildRequires: pkgconfig(OGRE) BuildRequires: pkgconfig(OIS) BuildRequires: pkgconfig(openal) BuildRequires: pkgconfig(vorbisfile) BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(tinyxml) %description Summoning Wars is an open source role-playing game, featuring both a single-player and a multiplayer mode for about 2 to 8 players. %prep %autosetup -p1 %build %cmake -DSUMWARS_NO_TINYXML=ON \ -DSUMWARS_NO_ENET=ON \ -DSUMWARS_BUILD_TOOLS=OFF \ -DSUMWARS_UPDATE_HG_REVISION=OFF %cmake_build %install %cmake_install for size in 16 24 32 48 64 128; do install -D -m644 share/icon/SumWarsIcon_${size}x${size}.png %{buildroot}%{_iconsdir}/hicolor/${size}x${size}/apps/%{name}.png done install -d %{buildroot}%{_datadir}/applications/ cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF [Desktop Entry] Name=Summoning Wars Comment=A multi-player, 3D action role-playing game Exec=%{name} Icon=%{name} Type=Application StartupNotify=false Terminal=false Categories=Game;RolePlaying; EOF %files %doc README COPYING AUTHORS %{_datadir}/applications/%{name}.desktop %{_gamesbindir}/%{name} %{_gamesdatadir}/%{name}/ %{_iconsdir}/hicolor/*/apps/%{name}.png %changelog * Tue Apr 05 2022 umeabot <umeabot> 0.5.8-21.mga9 + Revision: 1844407 - Mageia 9 Mass Rebuild * Wed Mar 31 2021 wally <wally> 0.5.8-20.mga9 + Revision: 1712210 - rebuild with updated lua 5.1 + danf <danf> - Switch URLs from http: to https: * Wed Feb 19 2020 umeabot <umeabot> 0.5.8-19.mga8 + Revision: 1544930 - Mageia 8 Mass Rebuild * Sun Jan 26 2020 wally <wally> 0.5.8-18.mga8 + Revision: 1483439 - rebuild for boost 1.72.0 - build with new cmake macros * Sat Nov 17 2018 akien <akien> 0.5.8-17.mga7 + Revision: 1330443 - Rebuild against downgraded ogre 1.9.1, too many compat issues with 1.11+ for now - Rebuild for ogre 1.11.0 + wally <wally> - rebuild for new boost 1.68.0 - rebuild for ois 1.4 + umeabot <umeabot> - Mageia 7 Mass Rebuild * Sat Jan 13 2018 wally <wally> 0.5.8-13.mga7 + Revision: 1192915 - add patch to fix missing include - rebuild for new ogre * Mon Dec 25 2017 wally <wally> 0.5.8-12.mga7 + Revision: 1184711 - rebuild for new boost * Tue Nov 21 2017 tv <tv> 0.5.8-11.mga7 + Revision: 1178353 - rebuild for boost 1.65 * Sun Sep 17 2017 tv <tv> 0.5.8-10.mga7 + Revision: 1154965 - rebuild with latest boost * Tue Mar 08 2016 blino <blino> 0.5.8-9.mga6 + Revision: 987261 - Mageia 6 mass rebuild * Fri Jan 01 2016 tv <tv> 0.5.8-8.mga6 + Revision: 917681 + rebuild (emptylog) * Sun Sep 27 2015 daviddavid <daviddavid> 0.5.8-7.mga6 + Revision: 884288 - rebuild for new boost 1.59.0 * Tue Aug 25 2015 cjw <cjw> 0.5.8-6.mga6 + Revision: 869397 - rebuild with gcc 5 * Wed Oct 15 2014 umeabot <umeabot> 0.5.8-5.mga6 + Revision: 741735 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.5.8-4.mga5 + Revision: 689607 - Mageia 5 Mass Rebuild * Sat May 24 2014 wally <wally> 0.5.8-3.mga5 + Revision: 625356 - rebuild for new enet * Sat May 10 2014 akien <akien> 0.5.8-2.mga5 + Revision: 621761 - Adding desktop entry and icon * Sun May 04 2014 akien <akien> 0.5.8-1.mga5 + Revision: 620093 - imported package sumwars