]> git.pld-linux.org Git - packages/ka5-kblocks.git/blobdiff - ka5-kblocks.spec
- updated to 23.08.1
[packages/ka5-kblocks.git] / ka5-kblocks.spec
index 27dc21ec5fb07d7743a5b783d28de69bd9b88245..efb4cd3df57e37f109122e4abf0e5e06c03e59fd 100644 (file)
@@ -1,18 +1,18 @@
 #
 # Conditional build:
 %bcond_with    tests           # build with tests
-%define                kdeappsver      23.04.1
+%define                kdeappsver      23.08.1
 %define                kframever       5.94.0
 %define                qtver           5.15.2
 %define                kaname          kblocks
 Summary:       Kblocks
 Name:          ka5-%{kaname}
-Version:       23.04.1
+Version:       23.08.1
 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: b7eaf93315e0390fca30e38a41e4af9a
+# Source0-md5: 1d6a2b8fc5856bbe939bd7100e2e1225
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5Gui-devel >= 5.11.1
@@ -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}
@@ -59,18 +59,16 @@ Gdy nie ma już miejsca na spadające bloki, gra się kończy.
 %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.083868 seconds and 4 git commands to generate.