#
# Conditional build:
%bcond_with tests # build with tests
-%define kdeframever 5.108
+%define kdeframever 5.109
%define qtver 5.15.2
%define kfname kdesignerplugin
Summary: Framework for managing menu and toolbar actions
Name: kf5-%{kfname}
-Version: 5.108.0
-Release: 2
+Version: 5.109.0
+Release: 1
License: LGPL v2.1+
Group: X11/Libraries
Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/portingAids/%{kfname}-%{version}.tar.xz
-# Source0-md5: 843152eef747f49ee657e8cc26cb3d53
+# Source0-md5: cd659fa310535c476d3dcb7cba5499f8
URL: http://www.kde.org/
BuildRequires: Qt5Core-devel >= 5.2.0
BuildRequires: Qt5DBus-devel >= 5.2.0
BuildRequires: kf5-sonnet-devel >= %{version}
BuildRequires: qt5-linguist
-BuildRequires: cmake >= 2.8.12
+BuildRequires: cmake >= 3.16
BuildRequires: ninja
BuildRequires: rpmbuild(macros) >= 1.164
BuildRequires: tar >= 1:1.22
%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
+
+%ninja_build -C build
%if %{with tests}
-ctest
+%ninja_build -C build test
%endif