#
# Conditional build:
%bcond_with tests # build with tests
-%define kdeplasmaver 5.27.6
+%define kdeplasmaver 5.27.7
%define qtver 5.15.2
%define kpname plasma-vault
Summary: KDE Plasma Vault
Name: kp5-%{kpname}
-Version: 5.27.6
+Version: 5.27.7
Release: 1
License: LGPL v2.1+
Group: X11/Libraries
Source0: https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
-# Source0-md5: 691c482776250f6ea4de3ce69f9ba9ae
+# Source0-md5: 410818deea59fc12aa3ed155e350e931
URL: http://www.kde.org/
BuildRequires: Qt5Core-devel >= %{qtver}
-BuildRequires: cmake >= 2.8.12
+BuildRequires: cmake >= 3.16.0
BuildRequires: fontconfig-devel
BuildRequires: kf5-attica-devel
BuildRequires: kf5-kactivities-stats-devel
%setup -q -n %{kpname}-%{version}
%build
-install -d build
-cd build
-%cmake -G Ninja \
+%cmake -B build \
+ -G Ninja \
%{!?with_tests:-DBUILD_TESTING=OFF} \
-DHTML_INSTALL_DIR=%{_kdedocdir} \
- -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
- ../
-%ninja_build
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+%ninja_build -C build
%if %{with tests}
ctest