[packages/kf5-kidletime] - updated to 5.109.0; cmake -B build
witekfl
witekfl at pld-linux.org
Fri Aug 18 12:10:06 CEST 2023
commit e397666f5cb0b7025c336f6ece8d1acbc7922120
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Fri Aug 18 11:06:49 2023 +0200
- updated to 5.109.0; cmake -B build
kf5-kidletime.spec | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
---
diff --git a/kf5-kidletime.spec b/kf5-kidletime.spec
index 678b489..690590b 100644
--- a/kf5-kidletime.spec
+++ b/kf5-kidletime.spec
@@ -1,18 +1,18 @@
#
# Conditional build:
%bcond_with tests # build with tests
-%define kdeframever 5.108
+%define kdeframever 5.109
%define qtver 5.15.2
%define kfname kidletime
Summary: Reporting of idle time of user and system
Name: kf5-%{kfname}
-Version: 5.108.0
-Release: 2
+Version: 5.109.0
+Release: 1
License: LGPL v2.1+
Group: X11/Libraries
Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: 0296a64d23268f745c3217bf3f23cf08
+# Source0-md5: d8f87c99c0b798f04ac328d7050d2d97
URL: http://www.kde.org/
BuildRequires: Qt5Core-devel >= %{qtver}
BuildRequires: Qt5DBus-devel >= %{qtver}
@@ -20,7 +20,7 @@ BuildRequires: Qt5Gui-devel >= %{qtver}
BuildRequires: Qt5Test-devel >= %{qtver}
BuildRequires: Qt5Widgets-devel >= %{qtver}
BuildRequires: Qt5X11Extras-devel >= %{qtver}
-BuildRequires: cmake >= 2.8.12
+BuildRequires: cmake >= 3.16
BuildRequires: kf5-extra-cmake-modules >= %{version}
BuildRequires: kf5-kwayland-devel >= %{version}
BuildRequires: ninja
@@ -56,16 +56,15 @@ Pliki nagłówkowe dla programistów używających %{kfname}.
%setup -q -n %{kfname}-%{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 \
- ../
-%ninja_build
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+
+%ninja_build -C build
%if %{with tests}
-ctest
+%ninja_build -C build test
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kf5-kidletime.git/commitdiff/e397666f5cb0b7025c336f6ece8d1acbc7922120
More information about the pld-cvs-commit
mailing list