2024-01-05 18:34:15 +01:00
|
|
|
Name: tlp
|
2024-01-05 18:34:16 +01:00
|
|
|
Version: 1.5.0
|
2024-01-05 18:34:15 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Command line advanced power management
|
|
|
|
Group: System/Management
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 18:34:16 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://linrunner.de/tlp/
|
|
|
|
Source: https://github.com/linrunner/TLP.git/%{version}/TLP-%{version}.tar.bz2
|
2024-01-05 18:34:15 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 18:34:16 +01:00
|
|
|
BuildRequires: perl-devel
|
2024-01-05 18:34:15 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2024-01-05 18:34:15 +01:00
|
|
|
#% debug_package
|
2024-01-05 18:34:15 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n TLP-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-05 18:34:16 +01:00
|
|
|
%make \
|
|
|
|
TLP_NO_INIT=1 \
|
|
|
|
TLP_WITH_ELOGIND=0 \
|
|
|
|
TLP_ULIB=%{_prefix}/lib/udev \
|
|
|
|
TLP_SYSD=%{_unitdir} \
|
|
|
|
TLP_SDSL=%{_systemd_util_dir}/system-sleep
|
|
|
|
|
2024-01-05 18:34:15 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 18:34:16 +01:00
|
|
|
%makeinstall \
|
|
|
|
TLP_NO_INIT=1 \
|
|
|
|
TLP_WITH_ELOGIND=0 \
|
|
|
|
TLP_ULIB=%{_prefix}/lib/udev \
|
|
|
|
TLP_SYSD=%{_unitdir} \
|
|
|
|
TLP_SDSL=%{_systemd_util_dir}/system-sleep
|
2024-01-05 18:34:15 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 18:34:15 +01:00
|
|
|
%preun
|
|
|
|
%systemd_preun tlp
|
|
|
|
:
|
|
|
|
|
|
|
|
%post
|
|
|
|
%systemd_post tlp
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun tlp
|
|
|
|
:
|
|
|
|
|
2024-01-05 18:34:15 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 18:34:16 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/tlp.conf
|
2024-01-05 18:34:15 +01:00
|
|
|
%dir %{_sysconfdir}/tlp.d
|
|
|
|
%config %{_sysconfdir}/tlp.d/00-template.conf
|
|
|
|
%{_sysconfdir}/tlp.d/README
|
2024-01-05 18:34:15 +01:00
|
|
|
%{_sysconfdir}/NetworkManager/dispatcher.d/99tlp-rdw-nm
|
2024-01-05 18:34:16 +01:00
|
|
|
%{_bindir}/nfc
|
2024-01-05 18:34:15 +01:00
|
|
|
%{_bindir}/bluetooth
|
|
|
|
%{_bindir}/run-on-ac
|
|
|
|
%{_bindir}/run-on-bat
|
|
|
|
%{_bindir}/tlp-stat
|
2024-01-05 18:34:16 +01:00
|
|
|
%{_bindir}/tlp-rdw
|
2024-01-05 18:34:15 +01:00
|
|
|
%{_bindir}/wifi
|
|
|
|
%{_bindir}/wwan
|
|
|
|
%{_sbindir}/tlp
|
2024-01-05 18:34:15 +01:00
|
|
|
%{_unitdir}/tlp.service
|
2024-01-05 18:34:16 +01:00
|
|
|
%{_systemd_util_dir}/system-sleep/tlp
|
|
|
|
%{_udevrulesdir}/*.rules
|
|
|
|
%{_prefix}/lib/udev/tlp-*
|
2024-01-05 18:34:15 +01:00
|
|
|
%{_datadir}/bash-completion/completions/*
|
2024-01-05 18:34:15 +01:00
|
|
|
%{_datadir}/metainfo/de.linrunner.tlp.metainfo.xml
|
2024-01-05 18:34:15 +01:00
|
|
|
%dir %{_datadir}/tlp
|
|
|
|
%{_datadir}/tlp/*
|
2024-01-05 18:34:15 +01:00
|
|
|
%doc AUTHORS COPYING LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 18:34:16 +01:00
|
|
|
* Sun Jan 29 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-1mamba
|
|
|
|
- update to 1.5.0
|
|
|
|
|
2024-01-05 18:34:15 +01:00
|
|
|
* Sat Feb 08 2020 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Feb 07 2020 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:34:15 +01:00
|
|
|
* Mon May 27 2019 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:34:15 +01:00
|
|
|
* Mon Mar 25 2019 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:34:15 +01:00
|
|
|
* Mon Feb 12 2018 Automatic Build System <autodist@mambasoft.it> 1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:34:15 +01:00
|
|
|
* Mon Aug 14 2017 Automatic Build System <autodist@mambasoft.it> 1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:34:15 +01:00
|
|
|
* Sun Nov 27 2016 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.9-1mamba
|
|
|
|
- package created using the webbuild interface
|