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

witekfl witekfl at pld-linux.org
Thu Aug 24 18:21:51 CEST 2023


commit 311977124b2ae65c6712af577c9bc300e175e741
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Thu Aug 24 17:52:24 2023 +0200

    - updated to 23.08.0; cmake -B build

 ka5-kcron.spec | 26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)
---
diff --git a/ka5-kcron.spec b/ka5-kcron.spec
index 180b44a..2f7b185 100644
--- a/ka5-kcron.spec
+++ b/ka5-kcron.spec
@@ -1,25 +1,25 @@
 #
 # 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		kcron
 Summary:	kcron
 Name:		ka5-%{kaname}
-Version:	23.04.3
+Version:	23.08.0
 Release:	1
 License:	GPL v2+/LGPL v2.1+
 Group:		X11/Applications
 Source0:	https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5:	d805c87a44c970413cea8fd769bfb20c
+# Source0-md5:	b99db7714724bb971059dd68d6d5624e
 URL:		http://www.kde.org/
 BuildRequires:	Qt5Core-devel
 BuildRequires:	Qt5Core-devel >= %{qtver}
 BuildRequires:	Qt5Gui-devel >= 5.11.1
 BuildRequires:	Qt5PrintSupport-devel
 BuildRequires:	Qt5Widgets-devel
-BuildRequires:	cmake >= 2.8.12
+BuildRequires:	cmake >= 3.20
 BuildRequires:	gettext-devel
 BuildRequires:	kf5-extra-cmake-modules >= %{kframever}
 BuildRequires:	kf5-kconfigwidgets-devel >= %{kframever}
@@ -40,25 +40,23 @@ KCron - an application for scheduling programs to run in the
 background using cron.
 
 %description -l pl.UTF-8
-KCron - aplikacja do planowania uruchamiania programów w tle używając
-crona.
+KCron - aplikacja do planowania uruchamiania programów w tle
+używając crona.
 
 %prep
 %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
 
 
@@ -74,11 +72,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{kaname}.lang
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/qt5/plugins/kcm_cron.so
-%{_datadir}/kservices5/kcm_cron.desktop
 %{_datadir}/qlogging-categories5/kcron.categories
 %{_datadir}/metainfo/org.kde.kcron.metainfo.xml
 %attr(755,root,root) %{_prefix}/libexec/kauth/kcron_helper
 %{_datadir}/dbus-1/system-services/local.kcron.crontab.service
 %{_datadir}/dbus-1/system.d/local.kcron.crontab.conf
 %{_datadir}/polkit-1/actions/local.kcron.crontab.policy
+%attr(755,root,root) %{_libdir}/qt5/plugins/plasma/kcms/systemsettings_qwidgets/kcm_cron.so
+%{_desktopdir}/kcm_cron.desktop
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka5-kcron.git/commitdiff/311977124b2ae65c6712af577c9bc300e175e741



More information about the pld-cvs-commit mailing list