Name: easyrpg-player Summary: Game interpreter for RPG Maker 2000/2003 and EasyRPG games License: GPLv3+ URL: https://easyrpg.org Version: 0.6.2.1 Release: 1%{?dist} %global repo_owner EasyRPG %global repo_name Player Source0: https://github.com/%{repo_owner}/%{repo_name}/archive/%{version}/%{repo_name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: make BuildRequires: fmt-devel BuildRequires: freetype-devel BuildRequires: liblcf-devel BuildRequires: libpng-devel BuildRequires: libsndfile-devel BuildRequires: libvorbis-devel BuildRequires: libxmp-devel BuildRequires: mpg123-devel BuildRequires: opusfile-devel BuildRequires: pixman-devel BuildRequires: SDL2-devel BuildRequires: SDL2_mixer-devel BuildRequires: speexdsp-devel BuildRequires: wildmidi-devel BuildRequires: zlib-devel %description EasyRPG Player is a game interpreter for RPG Maker 2000/2003 and EasyRPG games. To play a game, run the "easyrpg-player" executable inside a RPG Maker 2000/2003 game project folder (same place as RPG_RT.exe). %prep %setup -q -n %{repo_name}-%{version} %build %cmake \ -DCMAKE_BUILD_TYPE=Release \ -DPLAYER_TARGET_PLATFORM=SDL2 \ ./ %cmake_build %install %cmake_install # The upstream CMakeLists.txt forgets to install this file. %global libname libEasyRPG_Player.so install -m 755 -d %{buildroot}%{_libdir}/ install -m 755 -p "%{__cmake_builddir}/libEasyRPG_Player.so" %{buildroot}%{_libdir}/ %check %ctest %files %license COPYING %{_bindir}/easyrpg-player %{_libdir}/libEasyRPG_Player.so %changelog * Fri Jul 31 2020 Artur Iwicki - 0.6.2.1-1 - Initial packaging