]> git.pld-linux.org Git - packages/ka5-bovo.git/blobdiff - ka5-bovo.spec
- updated to 23.08.5
[packages/ka5-bovo.git] / ka5-bovo.spec
index 9d1c83fe6a3f7d84e90d0376ee020f37d8dfa56b..ff082695a414e3bd42a2f94d8a476d04e00ef802 100644 (file)
@@ -1,18 +1,18 @@
 #
 # Conditional build:
 %bcond_with    tests           # build with tests
-%define                kdeappsver      22.04.2
-%define                kframever       5.56.0
-%define                qtver           5.9.0
+%define                kdeappsver      23.08.5
+%define                kframever       5.94.0
+%define                qtver           5.15.2
 %define                kaname          bovo
 Summary:       A Gomoku like game
 Name:          ka5-%{kaname}
-Version:       22.04.2
+Version:       23.08.5
 Release:       1
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Applications/Games
 Source0:       https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: a446f771588c14c0499d863ecb6bf253
+# Source0-md5: 78b0dbacecbb1ed959f41c90c073742b
 URL:           http://www.kde.org/
 BuildRequires: Qt5Concurrent-devel
 BuildRequires: Qt5Core-devel >= %{qtver}
@@ -21,7 +21,7 @@ BuildRequires:        Qt5Qml-devel >= 5.11.1
 BuildRequires: Qt5Quick-devel >= 5.11.1
 BuildRequires: Qt5Svg-devel
 BuildRequires: Qt5Widgets-devel
-BuildRequires: cmake >= 2.8.12
+BuildRequires: cmake >= 3.20
 BuildRequires: gettext-devel
 BuildRequires: ka5-libkdegames-devel >= %{kdeappsver}
 BuildRequires: kf5-extra-cmake-modules >= %{kframever}
@@ -51,18 +51,16 @@ Bovo to gra w kółko i krzyżyk (do pięciu w rzędzie).
 %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.090068 seconds and 4 git commands to generate.