]> git.pld-linux.org Git - packages/ka5-bovo.git/blobdiff - ka5-bovo.spec
- updated to 22.12.3
[packages/ka5-bovo.git] / ka5-bovo.spec
index aec68d3452abf65fb71899f5609277a82fa929e1..522ad035468f9c4e93203d41a6a403c0520a67ec 100644 (file)
@@ -1,15 +1,18 @@
-%define                kdeappsver      21.04.1
-%define                kframever       5.56.0
-%define                qtver           5.9.0
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeappsver      22.12.3
+%define                kframever       5.94.0
+%define                qtver           5.15.2
 %define                kaname          bovo
 Summary:       A Gomoku like game
 Name:          ka5-%{kaname}
-Version:       21.04.1
+Version:       22.12.3
 Release:       1
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Applications/Games
-Source0:       http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: ebdc8b1d8a8a0126a306ef2721281b4b
+Source0:       https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: 7b0e6e0ec7c3bc70928f8d732bb31351
 URL:           http://www.kde.org/
 BuildRequires: Qt5Concurrent-devel
 BuildRequires: Qt5Core-devel >= %{qtver}
@@ -41,6 +44,9 @@ alternate in placing their respective pictogram on the game board.
 (Also known as: Connect Five, Five in a row, X and O, Naughts and
 Crosses)
 
+%description -l pl.UTF-8
+Bovo to gra w kółko i krzyżyk (do pięciu w rzędzie).
+
 %prep
 %setup -q -n %{kaname}-%{version}
 
@@ -49,11 +55,17 @@ install -d build
 cd build
 %cmake \
        -G Ninja \
+       %{!?with_tests:-DBUILD_TESTING=OFF} \
        -DHTML_INSTALL_DIR=%{_kdedocdir} \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
        ..
 %ninja_build
 
+%if %{with tests}
+ctest
+%endif
+
+
 %install
 rm -rf $RPM_BUILD_ROOT
 %ninja_install -C build
This page took 0.117321 seconds and 4 git commands to generate.