Summary: Fan control for Dell laptops Name: i8kutils Version: 1.43.01.git.82.447a4ec Release: 1%{?dist} License: GPLv2+ Group: Applications/System/Configuration/Hardware Source: i8kutils-1.43.01.git.82.447a4ec.tar.gz URL: https://launchpad.net/i8kutils BuildRequires: gcc systemd Requires: ld-linux.so.2 libc.so.6 systemd Provides: %{name}-%{version}-%{release} %description This is a collection of utilities to control Dell laptops fans. It includes programs to turn the fans on and off, to read fans status, CPU temperature, BIOS version. %prep rm -rf %buildroot %setup -q -n i8kutils-1.43.01.git.82.447a4ec %build make %install mkdir -p $RPM_BUILD_ROOT/%{_bindir} mkdir -p $RPM_BUILD_ROOT/%{_unitdir} mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1 mkdir -p $RPM_BUILD_ROOT/etc/modprobe.d cp i8kmon i8kfan i8kctl $RPM_BUILD_ROOT/%{_bindir}/ cp i8kmon.conf $RPM_BUILD_ROOT/etc/ cp dell-smm-hwmon.conf $RPM_BUILD_ROOT/etc/modprobe.d/ cp redhat/i8kmon.service $RPM_BUILD_ROOT/%{_unitdir}/ cp i8kctl.1 i8kmon.1 $RPM_BUILD_ROOT/usr/share/man/man1/ %clean make clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc COPYING README.i8kutils %config(noreplace) /etc/modprobe.d/dell-smm-hwmon.conf %config(noreplace) /etc/i8kmon.conf %{_bindir}/* %{_mandir}/man1/* %{_unitdir}/i8kmon.service %changelog * Sun Jun 3 2018 uriesk 1.43 - spec file rewritten to build against current version * Sun Nov 17 2002 Roger 1.17-1mdk - Packaged