[packages/kp5-kinfocenter] - updated to 5.27.7; cmake -B build

witekfl witekfl at pld-linux.org
Wed Aug 2 12:26:59 CEST 2023


commit 4b44f80424513951ea278cb7a0a3ac94e12fabb4
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Wed Aug 2 11:21:14 2023 +0200

    - updated to 5.27.7; cmake -B build

 kp5-kinfocenter.spec | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/kp5-kinfocenter.spec b/kp5-kinfocenter.spec
index 20f1168..a2b4b0e 100644
--- a/kp5-kinfocenter.spec
+++ b/kp5-kinfocenter.spec
@@ -1,17 +1,17 @@
 #
 # Conditional build:
 %bcond_with	tests		# build with tests
-%define		kdeplasmaver	5.27.6
+%define		kdeplasmaver	5.27.7
 %define		qtver		5.15.2
 %define		kpname		kinfocenter
 Summary:	kinfocenter
 Name:		kp5-%{kpname}
-Version:	5.27.6
+Version:	5.27.7
 Release:	1
 License:	GPL v2+/LGPL v2.1+
 Group:		X11/Libraries
 Source0:	https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
-# Source0-md5:	b75eccbfa9087ca1f626e13b5af53c51
+# Source0-md5:	b3b25a757de32befe4c282ebc9b928c3
 URL:		http://www.kde.org/
 BuildRequires:	OpenGL-GLU-devel
 BuildRequires:	OpenGL-devel
@@ -19,7 +19,7 @@ BuildRequires:	Qt5Core-devel >= %{qtver}
 BuildRequires:	Qt5Gui-devel >= %{qtver}
 BuildRequires:	Qt5Widgets-devel >= %{qtver}
 BuildRequires:	Qt5X11Extras-devel >= %{qtver}
-BuildRequires:	cmake >= 2.8.12
+BuildRequires:	cmake >= 3.16.0
 BuildRequires:	gettext-devel
 BuildRequires:	kf5-extra-cmake-modules >= 1.4.0
 BuildRequires:	kf5-kcmutils-devel
@@ -44,14 +44,12 @@ A utility that provides information about a computer system.
 %setup -q -n %{kpname}-%{version}
 
 %build
-install -d build
-cd build
-%cmake -G Ninja \
+%cmake -B build \
+	-G Ninja \
 	%{!?with_tests:-DBUILD_TESTING=OFF} \
 	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-	-DHTML_INSTALL_DIR=%{_kdedocdir} \
-	..
-%ninja_build
+	-DHTML_INSTALL_DIR=%{_kdedocdir}
+%ninja_build -C build
 
 %if %{with tests}
 ctest
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kp5-kinfocenter.git/commitdiff/4b44f80424513951ea278cb7a0a3ac94e12fabb4



More information about the pld-cvs-commit mailing list