#
# Conditional build:
%bcond_with tests # build with tests
-%define kdeframever 5.103
+%define kdeframever 5.115
%define qtver 5.15.2
%define kfname kio
Summary: Network transparent access to files and data
Name: kf5-%{kfname}
-Version: 5.103.0
+Version: 5.115.0
Release: 1
License: LGPL v2.1+
Group: X11/Libraries
Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: 79dfc2d0657721dfb08991881dbde8a7
+# Source0-md5: 502f27350ad2538c843c6bdf4031ef8a
Patch0: kio_help-fallback-to-kde4-docs.patch
URL: http://www.kde.org/
BuildRequires: Qt5Concurrent-devel >= %{qtver}
%patch0 -p1
%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
+%ninja_build -C build test
%endif