[packages/ka6-kcron] - updated to 24.02.0
witekfl
witekfl at pld-linux.org
Mon Mar 4 18:27:55 CET 2024
commit c4b169801518ab572087e8833027df009bc5db79
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Mon Mar 4 18:27:46 2024 +0100
- updated to 24.02.0
ka6-kcron.spec | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 82 insertions(+)
---
diff --git a/ka6-kcron.spec b/ka6-kcron.spec
new file mode 100644
index 0000000..486f0f4
--- /dev/null
+++ b/ka6-kcron.spec
@@ -0,0 +1,82 @@
+#
+# Conditional build:
+%bcond_with tests # build with tests
+%define kdeappsver 24.02.0
+%define kframever 5.94.0
+%define qtver 5.15.2
+%define kaname kcron
+Summary: kcron
+Name: ka6-%{kaname}
+Version: 24.02.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: d07bc624ea87b1d15af5189b397e2097
+URL: http://www.kde.org/
+BuildRequires: Qt6Core-devel
+BuildRequires: Qt6Core-devel >= %{qtver}
+BuildRequires: Qt6Gui-devel >= 5.11.1
+BuildRequires: Qt6PrintSupport-devel
+BuildRequires: Qt6Widgets-devel
+BuildRequires: cmake >= 3.20
+BuildRequires: gettext-devel
+BuildRequires: kf6-extra-cmake-modules >= %{kframever}
+BuildRequires: kf6-kconfigwidgets-devel >= %{kframever}
+BuildRequires: kf6-kdoctools-devel >= %{kframever}
+BuildRequires: kf6-ki18n-devel >= %{kframever}
+BuildRequires: kf6-kiconthemes-devel >= %{kframever}
+BuildRequires: kf6-kio-devel >= %{kframever}
+BuildRequires: ninja
+BuildRequires: qt6-build >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: shared-mime-info
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+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.
+
+%prep
+%setup -q -n %{kaname}-%{version}
+
+%build
+%cmake \
+ -B build \
+ -G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
+ -DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir} \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+%ninja_build -C build
+
+%if %{with tests}
+ctest --test-dir build
+%endif
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/{ko,zh_CN}
+
+%find_lang %{kaname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{kaname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_prefix}/libexec/kf6/kauth/kcron_helper
+%{_datadir}/qlogging-categories6/kcron.categories
+%{_datadir}/metainfo/org.kde.kcron.metainfo.xml
+%{_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}/qt6/plugins/plasma/kcms/systemsettings_qwidgets/kcm_cron.so
+%{_desktopdir}/kcm_cron.desktop
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka6-kcron.git/commitdiff/c4b169801518ab572087e8833027df009bc5db79
More information about the pld-cvs-commit
mailing list