[packages/ka5-knavalbattle] - updated to 23.08.0; cmake -B build

witekfl witekfl at pld-linux.org
Thu Aug 24 18:25:16 CEST 2023


commit 6da9316d6858de9f11218eba82acb4b1a7b4cbd0
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Thu Aug 24 17:56:09 2023 +0200

    - updated to 23.08.0; cmake -B build

 ka5-knavalbattle.spec | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/ka5-knavalbattle.spec b/ka5-knavalbattle.spec
index 9d1ae74..91cdb77 100644
--- a/ka5-knavalbattle.spec
+++ b/ka5-knavalbattle.spec
@@ -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		knavalbattle
 Summary:	knavalbattle
 Name:		ka5-%{kaname}
-Version:	23.04.3
+Version:	23.08.0
 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:	f442c98f1ba81a6b5d48ab75e8780f48
+# Source0-md5:	ea7b6de464fe21a0de4b997874d57ddd
 URL:		http://www.kde.org/
 BuildRequires:	Qt5Core-devel >= %{qtver}
 BuildRequires:	Qt5Gui-devel >= 5.11.1
@@ -55,18 +55,16 @@ przeciwnika wygrywa.
 %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
 
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka5-knavalbattle.git/commitdiff/6da9316d6858de9f11218eba82acb4b1a7b4cbd0



More information about the pld-cvs-commit mailing list