update to 1.5.0 [release 1.5.0-1mamba;Sun Jan 29 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 18:34:16 +01:00
parent 786a9432f5
commit 649e85270a

View File

@ -1,19 +1,17 @@
Name: tlp Name: tlp
Version: 1.3.1 Version: 1.5.0
Release: 1mamba Release: 1mamba
Summary: Command line advanced power management Summary: Command line advanced power management
Group: System/Management Group: System/Management
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html URL: https://linrunner.de/tlp/
## GITSOURCE https://github.com/linrunner/TLP.git master Source: https://github.com/linrunner/TLP.git/%{version}/TLP-%{version}.tar.bz2
Source: https://github.com/linrunner/TLP.git/master/TLP-%{version}.tar.bz2
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 tlp' to get the list of build requirements. BuildRequires: perl-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %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. 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.
@ -24,14 +22,22 @@ TLP brings you the benefits of advanced power management for Linux without the n
%setup -q -n TLP-%{version} %setup -q -n TLP-%{version}
%build %build
%make %make \
TLP_NO_INIT=1 \
TLP_WITH_ELOGIND=0 \
TLP_ULIB=%{_prefix}/lib/udev \
TLP_SYSD=%{_unitdir} \
TLP_SDSL=%{_systemd_util_dir}/system-sleep
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall \
mkdir -p %{buildroot}/%{_libdir}/udev/rules.d/ TLP_NO_INIT=1 \
mv %{buildroot}/lib/udev/rules.d/*.rules %{buildroot}/%{_libdir}/udev/rules.d/ TLP_WITH_ELOGIND=0 \
mv %{buildroot}/lib/udev/tlp-* %{buildroot}/%{_libdir}/udev/ TLP_ULIB=%{_prefix}/lib/udev \
TLP_SYSD=%{_unitdir} \
TLP_SDSL=%{_systemd_util_dir}/system-sleep
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -50,25 +56,24 @@ mv %{buildroot}/lib/udev/tlp-* %{buildroot}/%{_libdir}/udev/
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%config %{_sysconfdir}/tlp.conf %config(noreplace) %{_sysconfdir}/tlp.conf
%dir %{_sysconfdir}/tlp.d %dir %{_sysconfdir}/tlp.d
%config %{_sysconfdir}/tlp.d/00-template.conf %config %{_sysconfdir}/tlp.d/00-template.conf
%{_sysconfdir}/tlp.d/README %{_sysconfdir}/tlp.d/README
%{_sysconfdir}/NetworkManager/dispatcher.d/99tlp-rdw-nm %{_sysconfdir}/NetworkManager/dispatcher.d/99tlp-rdw-nm
%{_sysconfdir}/init.d/tlp %{_bindir}/nfc
%{_libdir}/udev/rules.d/*.rules
%{_libdir}/udev/tlp-*
/lib/elogind/system-sleep/49-tlp-sleep
%{_bindir}/bluetooth %{_bindir}/bluetooth
%{_bindir}/run-on-ac %{_bindir}/run-on-ac
%{_bindir}/run-on-bat %{_bindir}/run-on-bat
%{_bindir}/tlp-stat %{_bindir}/tlp-stat
%{_bindir}/tlp-rdw
%{_bindir}/wifi %{_bindir}/wifi
%{_bindir}/wwan %{_bindir}/wwan
%{_sbindir}/tlp %{_sbindir}/tlp
/lib/systemd/system-sleep/tlp
%{_unitdir}/tlp.service %{_unitdir}/tlp.service
%{_bindir}/tlp-rdw %{_systemd_util_dir}/system-sleep/tlp
%{_udevrulesdir}/*.rules
%{_prefix}/lib/udev/tlp-*
%{_datadir}/bash-completion/completions/* %{_datadir}/bash-completion/completions/*
%{_datadir}/metainfo/de.linrunner.tlp.metainfo.xml %{_datadir}/metainfo/de.linrunner.tlp.metainfo.xml
%dir %{_datadir}/tlp %dir %{_datadir}/tlp
@ -76,6 +81,9 @@ mv %{buildroot}/lib/udev/tlp-* %{buildroot}/%{_libdir}/udev/
%doc AUTHORS COPYING LICENSE %doc AUTHORS COPYING LICENSE
%changelog %changelog
* Sun Jan 29 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-1mamba
- update to 1.5.0
* Sat Feb 08 2020 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba * Sat Feb 08 2020 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
- automatic version update by autodist - automatic version update by autodist