tlp-pd: add subpackage for Power Profiles Daemon (see https://linrunner.de/tlp/developers/packaging.html ) [release 1.9.0-2mamba;Mon Dec 08 2025]

This commit is contained in:
2025-12-08 19:10:37 +01:00
parent 6ebea6dc8f
commit 9662828bf0

View File

@@ -1,6 +1,6 @@
Name: tlp
Version: 1.9.0
Release: 1mamba
Release: 2mamba
Summary: Command line advanced power management
Group: System/Management
Vendor: openmamba
@@ -17,6 +17,15 @@ BuildRequires: perl-devel
%description
TLP brings you the benefits of advanced power management for Linux without the need to understand every technical detail. TLP comes with a default configuration already optimized for battery life, so you may just install and forget it. Nevertheless TLP is highly customizable to fulfil your specific requirements.
%package pd
Group: System/Management
Summary: Linux Advanced Power Management - Power Profiles Daemon
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description pd
TLP brings you the benefits of advanced power management for Linux without the need to understand every technical detail. TLP comes with a default configuration already optimized for battery life, so you may just install and forget it. Nevertheless TLP is highly customizable to fulfil your specific requirements.
This package contains the Power Profiles Daemon.
%prep
%setup -q -n TLP-%{version}
@@ -52,7 +61,19 @@ TLP brings you the benefits of advanced power management for Linux without the n
:
%postun
%systemd_postun tlp
%systemd_postun_with_restart tlp
:
%preun pd
%systemd_preun tlp-pd
:
%post pd
%systemd_post tlp-pd
:
%postun pd
%systemd_postun_with_restart tlp-pd
:
%files
@@ -66,22 +87,14 @@ TLP brings you the benefits of advanced power management for Linux without the n
%{_bindir}/run-on-ac
%{_bindir}/run-on-bat
%{_bindir}/tlp
%{_bindir}/tlp-pd
%{_bindir}/tlp-stat
%{_bindir}/tlp-rdw
%{_bindir}/tlpctl
%{_bindir}/wifi
%{_bindir}/wwan
%{_datadir}/metainfo/de.linrunner.tlp.metainfo.xml
%{_unitdir}/tlp.service
%{_unitdir}/tlp-pd.service
%{_systemd_util_dir}/system-sleep/tlp
%{_udevrulesdir}/*.rules
%{_datadir}/dbus-1/system-services/net.hadess.PowerProfiles.service
%{_datadir}/dbus-1/system-services/org.freedesktop.UPower.PowerProfiles.service
%{_datadir}/dbus-1/system.d/net.hadess.PowerProfiles.conf
%{_datadir}/dbus-1/system.d/org.freedesktop.UPower.PowerProfiles.conf
%{_datadir}/polkit-1/actions/tlp-pd.policy
%{_prefix}/lib/udev/tlp-*
%{_prefix}/lib/NetworkManager/dispatcher.d/99tlp-rdw-nm
%{_datadir}/bash-completion/completions/*
@@ -91,7 +104,21 @@ TLP brings you the benefits of advanced power management for Linux without the n
%{_datadir}/tlp/*
%doc AUTHORS COPYING LICENSE
%files pd
%defattr(-,root,root)
%{_bindir}/tlpctl
%{_bindir}/tlp-pd
%{_unitdir}/tlp-pd.service
%{_datadir}/polkit-1/actions/tlp-pd.policy
%{_datadir}/dbus-1/system-services/net.hadess.PowerProfiles.service
%{_datadir}/dbus-1/system-services/org.freedesktop.UPower.PowerProfiles.service
%{_datadir}/dbus-1/system.d/net.hadess.PowerProfiles.conf
%{_datadir}/dbus-1/system.d/org.freedesktop.UPower.PowerProfiles.conf
%changelog
* Mon Dec 08 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.0-2mamba
- tlp-pd: add subpackage for Power Profiles Daemon (see https://linrunner.de/tlp/developers/packaging.html )
* Wed Dec 03 2025 Automatic Build System <autodist@openmamba.org> 1.9.0-1mamba
- automatic version update by autodist