Name: powerdevil Version: 6.7.4 Release: 1%{?dist} Summary: Manages the power consumption settings of a Plasma Shell License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only) URL: https://invent.kde.org/plasma/%{name} Source0: https://download.kde.org/stable/plasma/%{version}/%{name}-%{version}.tar.xz BuildRequires: plasma-workspace-devel BuildRequires: kf6-rpm-macros BuildRequires: extra-cmake-modules BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: cmake(KF6Auth) BuildRequires: cmake(KF6Config) BuildRequires: cmake(KF6Crash) BuildRequires: cmake(KF6DBusAddons) BuildRequires: cmake(KF6DocTools) BuildRequires: cmake(KF6GlobalAccel) BuildRequires: cmake(KF6I18n) BuildRequires: cmake(KF6IdleTime) BuildRequires: cmake(KF6ItemModels) BuildRequires: cmake(KF6KCMUtils) BuildRequires: cmake(KF6KIO) BuildRequires: cmake(KF6Kirigami) BuildRequires: cmake(KF6Notifications) BuildRequires: cmake(KF6NotifyConfig) BuildRequires: cmake(KF6Runner) BuildRequires: cmake(KF6Solid) BuildRequires: cmake(KF6WindowSystem) BuildRequires: cmake(KF6GuiAddons) BuildRequires: cmake(KF6XmlGui) BuildRequires: cmake(LayerShellQt) BuildRequires: cmake(Plasma) BuildRequires: cmake(PlasmaWaylandProtocols) BuildRequires: cmake(PlasmaActivities) BuildRequires: cmake(KF6Screen) BuildRequires: qt6-qtbase-devel BuildRequires: qt6-qtbase-private-devel BuildRequires: cmake(QCoro6) BuildRequires: cmake(Qt6Qml) BuildRequires: cmake(Qt6WaylandClient) BuildRequires: wayland-devel BuildRequires: libXrandr-devel BuildRequires: libcap-devel BuildRequires: libkscreen-devel BuildRequires: libxcb-devel BuildRequires: systemd-devel BuildRequires: systemd-rpm-macros BuildRequires: xcb-util-image-devel BuildRequires: xcb-util-keysyms-devel BuildRequires: xcb-util-wm-devel Suggests: tuned-ppd %description Powerdevil is an utility for powermanagement. It consists of a daemon (a KDED module) and a KCModule for its configuration. Built without DDCUtil support (external monitor DDC/CI brightness control): libddcutil-devel is genuinely absent on this distro, and find_package(DDCUtil) in real upstream CMakeLists.txt is a plain non-REQUIRED soft find (no HAVE_DDCUTIL override option exists in this version of the real source -- that flag some reference specs pass is vestigial/no-op here). Internal display brightness, suspend, and power profiles are unaffected. %prep %autosetup -p1 %build %cmake_kf6 %cmake_build_kf6 %install %cmake_install_kf6 %find_lang powerdevil6 --with-html --all-name # Internal-linkage-only libs, no -devel subpackage rm -fv %{buildroot}%{_libdir}/libpowerdevil{configcommonprivate,core,ui}.so %files -f powerdevil6.lang %license LICENSES/* %{_datadir}/dbus-1/system.d/org.kde.powerdevil.backlighthelper.conf %{_datadir}/dbus-1/system.d/org.kde.powerdevil.discretegpuhelper.conf %{_datadir}/dbus-1/system-services/org.kde.powerdevil.backlighthelper.service %{_datadir}/dbus-1/system-services/org.kde.powerdevil.discretegpuhelper.service %{_datadir}/dbus-1/system-services/org.kde.powerdevil.chargethresholdhelper.service %{_datadir}/dbus-1/system.d/org.kde.powerdevil.chargethresholdhelper.conf %{_datadir}/polkit-1/actions/org.kde.powerdevil.backlighthelper.policy %{_datadir}/polkit-1/actions/org.kde.powerdevil.discretegpuhelper.policy %{_datadir}/polkit-1/actions/org.kde.powerdevil.chargethresholdhelper.policy %{_datadir}/qlogging-categories6/powerdevil.categories %{_kf6_libexecdir}/kauth/backlighthelper %{_kf6_libexecdir}/kauth/discretegpuhelper %{_kf6_libexecdir}/kauth/chargethresholdhelper %{_sysconfdir}/xdg/autostart/powerdevil.desktop %caps(cap_wake_alarm=ep) %{_libexecdir}/org_kde_powerdevil %{_kf6_libdir}/libpowerdevilcore.so.* %{_kf6_qtplugindir}/powerdevil/ %{_kf6_qtplugindir}/plasma/kcms/systemsettings/kcm_powerdevilprofilesconfig.so %{_kf6_datadir}/knotifications6/powerdevil.notifyrc %{_kf6_datadir}/applications/kcm_powerdevilprofilesconfig.desktop %{_kf6_datadir}/applications/kcm_mobile_power.desktop %{_userunitdir}/plasma-powerdevil.service %{_qt6_plugindir}/kf6/krunner/krunner_powerdevil.so %{_qt6_plugindir}/plasma/kcms/systemsettings/kcm_mobile_power.so %{_kf6_qmldir}/org/kde/plasma/private/batterymonitor/batterymonitorplugin.qmltypes %{_kf6_qmldir}/org/kde/plasma/private/batterymonitor/kde-qmlmodule.version %{_kf6_qmldir}/org/kde/plasma/private/batterymonitor/libbatterymonitorplugin.so %{_kf6_qmldir}/org/kde/plasma/private/batterymonitor/qmldir %{_kf6_qmldir}/org/kde/plasma/private/brightnesscontrolplugin/brightnesscontrolplugin.qmltypes %{_kf6_qmldir}/org/kde/plasma/private/brightnesscontrolplugin/kde-qmlmodule.version %{_kf6_qmldir}/org/kde/plasma/private/brightnesscontrolplugin/libbrightnesscontrolplugin.so %{_kf6_qmldir}/org/kde/plasma/private/brightnesscontrolplugin/qmldir %{_kf6_datadir}/qlogging-categories6/batterymonitor.categories %{_kf6_datadir}/qlogging-categories6/brightness.categories %{_kf6_qtplugindir}/plasma/applets/org.kde.plasma*.so %{_kf6_libexecdir}/kauth/wakeupsourcehelper %{_datadir}/dbus-1/system-services/org.kde.powerdevil.wakeupsourcehelper.service %{_datadir}/dbus-1/system.d/org.kde.powerdevil.wakeupsourcehelper.conf %{_datadir}/polkit-1/actions/org.kde.powerdevil.wakeupsourcehelper.policy %changelog * Sat Aug 29 2026 Smech - 6.7.4-1 - Real upstream source. Full dependency chain verified against real upstream CMakeLists.txt before drafting -- everything it needs (plasma-workspace-devel, KF6 Auth/Config/Crash/DBusAddons/GlobalAccel/ I18n/IdleTime/ItemModels/KCMUtils/KIO/Kirigami/Notifications/Runner/ Solid/WindowSystem/GuiAddons/XmlGui, LayerShellQt, Plasma, PlasmaWaylandProtocols, PlasmaActivities, KF6Screen, QCoro6) was already built earlier in this repo. Dropped libddcutil-devel/DDCUtil (confirmed genuinely optional, absent on this distro, no real HAVE_DDCUTIL cmake option exists to even gate). Suggests: tuned-ppd instead of power-profiles-daemon (confirmed real package on this distro providing the same D-Bus interface; ppd-service itself is absent). %%files list transcribed from Fedora's reference spec then cross-checked against real CMakeLists.txt install() calls.