#
# 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-pa
Summary: KDE Plasma Pulse Audio
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: 5550dcf12520f4bfd48d8cc19959b2e5
+# Source0-md5: 24cdd5610e2b02c774486cdeaf0074f5
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} \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
- -DHTML_INSTALL_DIR=%{_kdedocdir} \
- ../
-%ninja_build
+ -DHTML_INSTALL_DIR=%{_kdedocdir}
+%ninja_build -C build
%if %{with tests}
ctest