%define debug_package %{nil} Name: powerstat Version: 0.02.17 Release: 2.ndias%{?dist} Summary: A tool to measure power consumption Group: Applications/System License: GPLv2 URL: https://github.com/ColinIanKing/powerstat Source0: https://github.com/ColinIanKing/powerstat/archive/V%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: gcc %description Powerstat measures the power consumption of a laptop using the ACPI battery information. The output is like vmstat but also shows power consumption statistics. At the end of a run, powerstat will calculate the average, standard deviation and min/max of the gathered data. %prep %setup -q %build make %{?_smp_mflags} %install %make_install chmod 0755 %{buildroot}%{_bindir}/%{name} %files %doc COPYING %{_bindir}/%{name} %{_mandir}/man8/%{name}.8.gz %changelog * Sat Jul 21 2018 Nuno Dias - 0.02.17-1.ndias - Version 0.02.17 * Sat Feb 18 2017 Nuno Dias - 0.02.11-1.ndias - Version 0.02.11