Name: systemdgenie %global app_id org.kde.%{name} %global service_id org.kde.kcontrol.%{name} %global gitdate 20250301 %global gitcommit_full dd4f2b87e35a84a974c48b0877d30343d2875638 %global gitcommit %%(c=%%{gitcommit_full}; echo ${c:0:7}) # # # https://github.com/systemd/systemd-ui # https://github.com/plrigaux/sysd-manager # https://github.com/mfat/systemd-pilot # https://github.com/SidharthArya/svcm # https://github.com/TiagoRibeiro25/systemd-services-manager Summary: Systemd managment utility Version: 0.100.0^%{gitdate}.%{gitcommit} Release: 1%{?dist} License: GPLv2+ URL: https://invent.kde.org/system/%{name} Source: %{url}/-/archive/%{gitcommit_full}/%{name}-%{gitcommit_full}.tar.bz2 BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: extra-cmake-modules BuildRequires: gcc-c++ BuildRequires: kf6-rpm-macros BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(systemd) BuildRequires: cmake(Qt6DBus) BuildRequires: cmake(Qt6Gui) # BuildRequires: cmake(Qt6Quick) BuildRequires: cmake(Qt6Widgets) BuildRequires: cmake(KF6Auth) BuildRequires: cmake(KF6CoreAddons) BuildRequires: cmake(KF6Crash) BuildRequires: cmake(KF6I18n) BuildRequires: cmake(KF6KIO) BuildRequires: cmake(KF6TextEditor) BuildRequires: cmake(KF6XmlGui) %description SystemdGenie is a systemd management utility based on KDE technologies. It provides a graphical frontend for the systemd daemon, which allows for viewing and controlling systemd units, logind sessions as well as easy modification of configuration and unit files. %prep %autosetup -p1 -n %{name}-%{gitcommit_full} sed -i 's|^Categories=.*|Categories=Qt;KDE;System;Monitor;Security;|' src/org.kde.systemdgenie.desktop %build %cmake_kf6 %cmake_build %install %cmake_install %find_lang %{name} --all-name --with-html %check desktop-file-validate %{buildroot}%{_kf6_datadir}/applications/%{app_id}.desktop %files -f %{name}.lang %license LICENSES/* %{_kf6_bindir}/%{name} %{_kf6_libexecdir}/kauth/%{name}helper %{_kf6_datadir}/applications/%{app_id}.desktop %{_kf6_datadir}/dbus-1/system-services/%{service_id}.service %{_kf6_datadir}/dbus-1/system.d/%{service_id}.conf %{_kf6_datadir}/kxmlgui5/%{name}/ %{_kf6_datadir}/polkit-1/actions/%{service_id}.policy %changelog * Sun May 24 2026 Hazel Bunny - 0.100.0^20250301.dd4f2b87-1 - Update to 0.100.0 * Fri Nov 1 2024 Hazel Bunny - 0.99.0-4.git - Rebuild for Qt 6.9 * Thu Oct 17 2024 Hazel Bunny 0.99.0-3.git - Fedora 41 Mass Rebuild * Thu Apr 25 2024 Hazel Bunny 0.99.0-2.git - Rebuild for Qt 6.8 * Wed Mar 6 2024 Hazel Bunny 0.99.0-1.git - Initial packaging