Summary(uk): õÔÉ̦ÔÉ ÄÌÑ ÍÏΦÔÏÒÉÎÇÕ ÁÐÁÒÁÔÕÒÉ
Name: lm_sensors
Version: 2.9.1
-%define _rel 1
+%define _rel 2
Release: %{_rel}
License: GPL
Group: Applications/System
Patch1: %{name}-ppc.patch
Patch2: %{name}-iconv-in-libc.patch
Patch3: %{name}-sensors-detect-PATH.patch
+Patch4: %{name}-ipmi.patch
URL: http://www.lm-sensors.nu/
BuildRequires: rpmbuild(macros) >= 1.118
%if %{with userspace}
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%build
%if %{with kernel} && %{with smp}
%ifarch %{ix86}
echo 'CONFIG_X86=y' >> fakelinux/.config
%endif
+%ifarch %{ix86} amd64 alpha ppc
+echo 'CONFIG_IPMI_HANDLER=m' >> fakelinux/.config
+%endif
# SMP
%{__make} all-kernel-busses all-kernel-chips \