#
# Conditional build:
%bcond_with tests # build with tests
-%define kdeappsver 23.04.3
+%define kdeappsver 23.08.0
%define kframever 5.94.0
%define qtver 5.15.2
%define kaname kcachegrind
Summary: KCachegrind - visualization of traces generated by profiling
Summary(pl.UTF-8): KCachegrind - wizualizacja ścieżek tworzonych przez profilowanie
Name: ka5-kcachegrind
-Version: 23.04.3
+Version: 23.08.0
Release: 1
License: GPL v2
Group: X11/Development/Tools
Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: ca8c64e13aa99e48cd6da173679c0719
+# Source0-md5: 3c2db4a39c783403edfd9eb5b2cd687b
URL: http://www.kde.org/
BuildRequires: Qt5Core-devel
BuildRequires: Qt5DBus-devel
%setup -q -n %{kaname}-%{version}
%build
-install -d build
-cd build
%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