%define debug_package %{nil}

Summary: Disable/Enable BIOS fan control on  Dell laptops
Name: dell-bios-fan-control
Version: 0.02.git.11.7e2d9c14
Release: 1%{?dist}
License: GPLv2+
Source: dell-bios-fan-control-7e2d9c14.tar.gz
URL: https://github.com/TomFreudenberg/dell-bios-fan-control
BuildRequires: gcc
Provides: %{name}-%{version}-%{release}

%description
A tool that enables/disables the BIOS fan control on some Dell Laptops. This is required on some Notebooks to be able to control fanspeed with i8kmon, without the BIOS immediately overruling it again.

%prep
%setup -T -b 0 -q -n dell-bios-fan-control

%build
make

%install
mkdir -p %{buildroot}/%{_sbindir}
cp dell-bios-fan-control %{buildroot}/%{_sbindir}/

%clean
rm -rf %{buildroot}/%{_sbindir}
make clean

%files
%defattr(-, root, root)
%{_sbindir}/dell-bios-fan-control

%changelog
* Sun Jun 3 2018 uriesk <uriesk@posteo.de> 1.43
- created spec file