#
# Conditional build:
%bcond_with tests # build with tests
-%define kdeappsver 23.04.3
+%define kdeappsver 23.08.0
%define qtver 5.15.2
%define kaname spectacle
Summary: Spectacle
Summary(pl.UTF-8): Spectacle
Name: ka5-%{kaname}
-Version: 23.04.3
+Version: 23.08.0
Release: 1
License: GPL
Group: X11/Applications/Editors
Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: 939faa8b4ada48fa41b6aebba61c2148
+# Source0-md5: 1e83bcf1622e3f864ed49217ee57c3b7
URL: http://www.kde.org/
BuildRequires: Qt5Concurrent-devel
BuildRequires: Qt5Core-devel
%setup -q -n %{kaname}-%{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
+ctest --test-dir build
%endif