]> git.pld-linux.org Git - packages/ka5-kmplot.git/blobdiff - ka5-kmplot.spec
- updated to 23.08.0; cmake -B build
[packages/ka5-kmplot.git] / ka5-kmplot.spec
index 490cdba9ff8657bfec9fd0529db954917a77c793..42dfea003fd457d4111ed0ee9473a14f44caa3db 100644 (file)
@@ -1,18 +1,18 @@
 #
 # 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          kmplot
 Summary:       kmplot
 Name:          ka5-%{kaname}
-Version:       23.04.3
+Version:       23.08.0
 Release:       1
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Applications
 Source0:       https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: a77c4a08a5440bca7ebe3ba00391f515
+# Source0-md5: 7087adb26ee1a8f16889fe616502594b
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5Gui-devel
@@ -52,18 +52,16 @@ je do poziomu, którego potrzebujesz.
 %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
 
 
This page took 0.087446 seconds and 4 git commands to generate.