[packages/tlp] up to 1.3.1
atler
atler at pld-linux.org
Sun Mar 15 20:16:27 CET 2020
commit bb6116ba85be0be5c9b4c66adbc7f315b3a15ccf
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Mar 15 20:16:03 2020 +0100
up to 1.3.1
tlp.spec | 24 ++++++++++++++----------
1 file changed, 14 insertions(+), 10 deletions(-)
---
diff --git a/tlp.spec b/tlp.spec
index 78cede1..e9a08fc 100644
--- a/tlp.spec
+++ b/tlp.spec
@@ -3,12 +3,12 @@
# /etc/init.d/tlp
Summary: Power management tool for Linux
Name: tlp
-Version: 1.2.2
+Version: 1.3.1
Release: 1
License: GPL v2
Group: Base
Source0: https://github.com/linrunner/TLP/archive/%{version}.tar.gz?/%{name}-%{version}.tar.gz
-# Source0-md5: 23dc1b2edcf4d01a37c67b12f023df22
+# Source0-md5: d8db9a621141d4d1096974e93a27d698
Source1: %{name}.tmpfiles
URL: http://linrunner.de/en/tlp/tlp.html
BuildRequires: rpmbuild(macros) >= 1.673
@@ -51,24 +51,23 @@ rm -rf $RPM_BUILD_ROOT
TLP_TLIB=%{_datadir}/tlp \
TLP_ULIB=/lib/udev \
TLP_NMDSP=/etc/NetworkManager/dispatcher.d \
- TLP_CONF=/etc/default/tlp \
TLP_SHCPL=%{bash_compdir}
install -d $RPM_BUILD_ROOT{%{_mandir}/{man1,man8},%{systemdtmpfilesdir},%{systemdunitdir},%{_varrun}/%{name}}
cp -p man/{bluetooth,run-on-ac,run-on-bat,wifi,wwan}.1 $RPM_BUILD_ROOT%{_mandir}/man1
cp -p man/{tlp,tlp-stat}.8 $RPM_BUILD_ROOT%{_mandir}/man8
-cp -p tlp.service tlp-sleep.service $RPM_BUILD_ROOT%{systemdunitdir}
+cp -p tlp.service $RPM_BUILD_ROOT%{systemdunitdir}
cp -p %{SOURCE1} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
%clean
rm -rf $RPM_BUILD_ROOT
%post
-%systemd_post tlp.service tlp-sleep.service
+%systemd_post tlp.service
%preun
-%systemd_preun tlp.service tlp-sleep.service
+%systemd_preun tlp.service
%postun
%systemd_reload
@@ -76,15 +75,16 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc AUTHORS changelog README.md
-%config(noreplace) %verify(not md5 mtime size) /etc/default/tlp
+%config(noreplace) %verify(not md5 mtime size) /etc/tlp.conf
+%dir /etc/tlp.d
+%config(noreplace) %verify(not md5 mtime size) /etc/tlp.d/00-template.conf
+/etc/tlp.d/README
/lib/udev/rules.d/85-tlp.rules
%attr(755,root,root) /lib/udev/tlp-usb-udev
%attr(755,root,root) %{_bindir}/bluetooth
%attr(755,root,root) %{_bindir}/run-on-ac
%attr(755,root,root) %{_bindir}/run-on-bat
-%attr(755,root,root) %{_bindir}/tlp-pcilist
%attr(755,root,root) %{_bindir}/tlp-stat
-%attr(755,root,root) %{_bindir}/tlp-usblist
%attr(755,root,root) %{_bindir}/wifi
%attr(755,root,root) %{_bindir}/wwan
%attr(755,root,root) %{_sbindir}/tlp
@@ -97,10 +97,14 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man8/tlp-stat.8*
%{systemdtmpfilesdir}/%{name}.conf
%{systemdunitdir}/tlp.service
-%{systemdunitdir}/tlp-sleep.service
+%attr(755,root,root) /lib/systemd/system-sleep/tlp
%dir %{_varrun}/%{name}
%dir %{_datadir}/tlp
+%{_datadir}/tlp/defaults.conf
%attr(755,root,root) %{_datadir}/tlp/tlp-func-base
+%attr(755,root,root) %{_datadir}/tlp/tlp-pcilist
+%attr(755,root,root) %{_datadir}/tlp/tlp-readconfs
+%attr(755,root,root) %{_datadir}/tlp/tlp-usblist
%attr(755,root,root) %{_datadir}/tlp/tpacpi-bat
%{_datadir}/tlp/func.d
%{_datadir}/metainfo/de.linrunner.tlp.metainfo.xml
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/tlp.git/commitdiff/bb6116ba85be0be5c9b4c66adbc7f315b3a15ccf
More information about the pld-cvs-commit
mailing list