2024-01-05 18:34:15 +01:00
|
|
|
Name: tlp
|
2024-01-05 18:34:15 +01:00
|
|
|
Version: 1.2.2
|
2024-01-05 18:34:15 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Command line advanced power management
|
|
|
|
Group: System/Management
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
|
|
|
URL: http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html
|
|
|
|
## GITSOURCE https://github.com/linrunner/TLP.git master
|
|
|
|
Source: https://github.com/linrunner/TLP.git/master/TLP-%{version}.tar.bz2
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## note: run 'autospec -u -a6 tlp' to get the list of build requirements.
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n TLP-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
mkdir -p %{buildroot}/%{_libdir}/udev/rules.d/
|
|
|
|
mv %{buildroot}/lib/udev/rules.d/*.rules %{buildroot}/%{_libdir}/udev/rules.d/
|
|
|
|
mv %{buildroot}/lib/udev/tlp-* %{buildroot}/%{_libdir}/udev/
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 18:34:15 +01:00
|
|
|
%preun
|
|
|
|
%systemd_preun tlp
|
|
|
|
%systemd_preun tlp-sleep
|
|
|
|
:
|
|
|
|
|
|
|
|
%post
|
|
|
|
%systemd_post tlp
|
|
|
|
%systemd_post tlp-sleep
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun tlp
|
|
|
|
%systemd_postun tlp-sleep
|
|
|
|
:
|
|
|
|
|
2024-01-05 18:34:15 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sysconfdir}/NetworkManager/dispatcher.d/99tlp-rdw-nm
|
|
|
|
%{_sysconfdir}/default/tlp
|
|
|
|
%{_sysconfdir}/init.d/tlp
|
|
|
|
%{_libdir}/udev/rules.d/*.rules
|
|
|
|
%{_libdir}/udev/tlp-*
|
2024-01-05 18:34:15 +01:00
|
|
|
/lib/elogind/system-sleep/49-tlp-sleep
|
2024-01-05 18:34:15 +01:00
|
|
|
%{_bindir}/bluetooth
|
|
|
|
%{_bindir}/run-on-ac
|
|
|
|
%{_bindir}/run-on-bat
|
|
|
|
%{_bindir}/tlp-pcilist
|
|
|
|
%{_bindir}/tlp-stat
|
|
|
|
%{_bindir}/tlp-usblist
|
|
|
|
%{_bindir}/wifi
|
|
|
|
%{_bindir}/wwan
|
|
|
|
%{_sbindir}/tlp
|
2024-01-05 18:34:15 +01:00
|
|
|
%{_unitdir}/tlp-sleep.service
|
|
|
|
%{_unitdir}/tlp.service
|
|
|
|
%{_bindir}/tlp-rdw
|
|
|
|
%{_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: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
|