diff --git a/sources b/sources index 9f1d49f..666b0f8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tlp-1.2.2.tar.gz) = b01fc2063bf8a87f2b93749c08a5cab53a0a4030b74c7fe62964009fb9d54ca5dc10800971f27cfe6dcdf024ba6d3e21a06caed07e8dc12b09d9d359585a480e +SHA512 (1.1.tar.gz) = 3400f2b6c249fd2e1bbbc61f23e3450ff90fabb8dd74f2903ce1f0d07e7ce3d1e61b07295736138d4697235dbee9157d3f32a8d296a649c93f73e03e3555af1e diff --git a/tlp.spec b/tlp.spec index 19154a1..6736af9 100644 --- a/tlp.spec +++ b/tlp.spec @@ -1,10 +1,10 @@ Name: tlp -Version: 1.2.2 -Release: 4%{?dist} +Version: 1.1 +Release: 1%{?dist} Summary: Advanced power management tool for Linux License: GPLv2+ URL: http://linrunner.de/en/tlp/tlp.html -Source0: https://github.com/linrunner/TLP/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source0: https://github.com/linrunner/TLP/archive/%{version}.tar.gz #Provided by Andreas Roederer : Source1: 50-tlp.preset @@ -33,19 +33,11 @@ Conflicts: %{_sbindir}/laptop_mode BuildArch: noarch %description -TLP is an advanced power management tool for Linux. It comes with a -default configuration already optimized for battery life. At the same -time it is highly customizable to fulfill specific user requirements. - -TLP supplies separate settings profiles for AC and battery power and can -enable or disable Bluetooth, WiFi and WWAN radio devices upon system start-up. - -For ThinkPads it provides a unified way to configure charging thresholds and -re-calibrate the battery for all models which support it (via tp-smapi or -acpi-call). - -TLP is a pure command line tool with automated background tasks, it -does not contain a GUI. +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. +Also an optional install of the smartmontools package enables hard +disk SMART data in tlp-stat (smartctl). %package rdw Summary: Radio Device Wizard for TLP @@ -54,11 +46,8 @@ Requires: %{name} = %{version}-%{release} BuildArch: noarch %description rdw -Radio device wizard is an add-on to TLP. It provides event based -switching of: - - Bluetooth, WiFi, WWAN radio devices - - upon network connect/disconnect - - and dock/undock +Radio Device Wizard for TLP automatically toggles wireless networking +based on dock events and the Network Manager connection status. %prep %autosetup -n TLP-%{version} @@ -67,14 +56,11 @@ switching of: %make_build %install -%make_install \ - TLP_NO_INIT=1 \ - TLP_WITH_ELOGIND=0 \ - TLP_SYSD=%{_unitdir} \ - TLP_ULIB=%{_udevrulesdir}/.. +%make_install TLP_NO_INIT=1 \ + TLP_NO_PMUTILS=1 TLP_WITH_SYSTEMD=1 \ + TLP_SYSD=%{_unitdir} TLP_ULIB=%{_udevrulesdir}/.. #Install manpages: make install-man DESTDIR=%{buildroot} -make install-man-rdw DESTDIR=%{buildroot} #Install preset (source 1): install -Dpm 0644 %{SOURCE1} %{buildroot}/%{_presetdir}/50-tlp.preset @@ -84,31 +70,23 @@ appstream-util validate-relax --nonet \ %files %config(noreplace) %{_sysconfdir}/default/tlp -%license LICENSE -%doc COPYING README.md changelog +%doc COPYING LICENSE README %{_bindir}/* -%exclude %{_bindir}/tlp-rdw %{_sbindir}/* %{_mandir}/man*/* -%exclude %{_mandir}/man*/tlp-rdw* %{_datadir}/tlp %{_udevrulesdir}/85-tlp.rules %{_udevrulesdir}/../tlp-usb-udev %{_datadir}/bash-completion/completions/* -%exclude %{_datadir}/bash-completion/completions/tlp-rdw %{_presetdir}/50-tlp.preset %{_unitdir}/*.service %{_datadir}/metainfo/*.metainfo.xml -%{_sharedstatedir}/tlp %files rdw -%doc COPYING README.md changelog -%{_bindir}/tlp-rdw -%{_mandir}/man*/tlp-rdw* +%doc COPYING LICENSE README %{_sysconfdir}/NetworkManager/dispatcher.d/99tlp-rdw-nm %{_udevrulesdir}/85-tlp-rdw.rules %{_udevrulesdir}/../tlp-rdw-udev -%{_datadir}/bash-completion/completions/tlp-rdw %post %systemd_post tlp.service @@ -130,25 +108,6 @@ fi /bin/systemctl enable NetworkManager-dispatcher.service >/dev/null 2>&1 || : %changelog -* Fri Jan 3 2020 Jeremy Newton - 1.2.2-4 -- Fix suspend issue, missing var directory creation - -* Sat Jul 27 2019 Fedora Release Engineering - 1.2.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Mon Jun 10 2019 Jeremy Newton - 1.2.2-1 -- Update to 1.2.2 - -* Mon Mar 18 2019 Jeremy Newton - 1.2.1-1 -- Update to 1.2.1 -- Modernize SPEC file - -* Sun Feb 03 2019 Fedora Release Engineering - 1.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jul 14 2018 Fedora Release Engineering - 1.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - * Fri Feb 23 2018 Jeremy Newton - 1.1-1 - Update to 1.1 - Add weak require for kernel-tools