diff --git a/corsix-th.spec b/corsix-th.spec index 2f3afef..6844451 100644 --- a/corsix-th.spec +++ b/corsix-th.spec @@ -3,7 +3,7 @@ Name: corsix-th Version: 0.64 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Open source clone of Theme Hospital # For a breakdown of the licensing, see LICENSE.txt @@ -19,6 +19,7 @@ BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: gcc-c++ BuildRequires: libappstream-glib +BuildRequires: ninja-build BuildRequires: pkgconfig(SDL2_mixer) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(lua) @@ -52,32 +53,31 @@ original game can be made.\ %description %{_description} + %package data +Summary: Data files for %{name} BuildArch: noarch Requires: %{name} = %{version}-%{release} -Summary: Data files for %{name} %description data %{_description} Package contains data files for %{name}. + %prep %autosetup -n %{appname}-%{version} -p1 -mkdir -p %{_target_platform} %build -pushd %{_target_platform} %cmake \ - -DWITH_MOVIES=0 \ - .. -popd -%make_build -C %{_target_platform} + -G Ninja \ + -DWITH_MOVIES=0 +%ninja_build -C %{_vpath_builddir} %install -%make_install -C %{_target_platform} +%ninja_install -C %{_vpath_builddir} rm %{buildroot}%{_datadir}/corsix-th/LICENSE.txt @@ -101,6 +101,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %changelog +* Tue Jul 28 2020 Artem Polishchuk - 0.64-3 +- Rebuild with out-of-source builds new CMake macros + * Mon Jul 27 2020 Fedora Release Engineering - 0.64-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild