From b790f95963eeea99ef8e735a8e209add0f5d75f5 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Fri, 18 Aug 2023 11:10:47 +0200 Subject: [PATCH] - updated to 5.109.0; cmake -B build --- kf5-kpeople.spec | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/kf5-kpeople.spec b/kf5-kpeople.spec index 8dda00d..ee82585 100644 --- a/kf5-kpeople.spec +++ b/kf5-kpeople.spec @@ -1,17 +1,17 @@ # Conditional build: %bcond_with tests # build without tests # -%define kdeframever 5.108 +%define kdeframever 5.109 %define qtver 5.15.2 %define kfname kpeople Summary: Provides access to all contacts and the people who hold them Name: kf5-%{kfname} -Version: 5.108.0 +Version: 5.109.0 Release: 1 License: GPL v2+/LGPL v2.1+ Group: X11/Libraries Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz -# Source0-md5: 94d97cc2e978ec6c7874d9907ab82c05 +# Source0-md5: e66ebdbc5547881e8562bab6a02ce8bb URL: http://www.kde.org/ BuildRequires: Qt5Core-devel >= %{qtver} BuildRequires: Qt5Gui-devel >= %{qtver} @@ -21,7 +21,7 @@ BuildRequires: Qt5Test-devel >= %{qtver} BuildRequires: Qt5Gui-devel >= %{qtver} BuildRequires: Qt5Widgets-devel >= %{qtver} %endif -BuildRequires: cmake >= 2.8.12 +BuildRequires: cmake >= 3.16 BuildRequires: kf5-extra-cmake-modules >= %{version} BuildRequires: kf5-kcoreaddons-devel >= %{version} BuildRequires: ninja @@ -51,15 +51,14 @@ Pliki nagłówkowe dla programistów używających %{kfname}. %setup -q -n %{kfname}-%{version} %build -install -d build -cd build -%cmake -G Ninja \ +%cmake -B build \ + -G Ninja \ %{!?with_tests:-DBUILD_TESTING=OFF} \ - -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ - .. -%ninja_build + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -%{?with_tests:%ninja_build test} +%ninja_build -C build + +%{?with_tests:%ninja_build -C build test} %install -- 2.44.0