From 35a5fdf8e192f3de7124c1b4c6b5fc9d2604bec1 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Wed, 29 Jul 2020 07:47:15 +0200 Subject: [PATCH] Build using cmake macros --- libksysguard.spec | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/libksysguard.spec b/libksysguard.spec index d41c857..b8d0d7f 100644 --- a/libksysguard.spec +++ b/libksysguard.spec @@ -80,17 +80,14 @@ developing applications that use %{name}. %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. \ +%{cmake_kf5} \ -DKDE_INSTALL_INCLUDEDIR:PATH=%{_kf5_includedir} -popd - -make %{?_smp_mflags} -C %{_target_platform} +%cmake_build %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%cmake_install + %find_lang ksysguard_qt5 --with-qt --with-kde --all-name