%define name i8kutils %define version 1.17 %define release 2mdk Version: %{version} Summary: Dell laptop SMM BIOS support Name: %{name} Release: %{release} License: GPL Group: Monitoring Source: %{name}-%{version}.tar.bz2 URL: http://people.debian.org/~dz//i8k/ BuildRequires: gtk+1.2-devel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description This package contains a user-space programs for accessing the SMM BIOS of Dell Inspiron and Latitude laptops. The SMM BIOS is used on many recent laptops to implement APM functionalities and to access custom hardware, for example cooling fans and volume buttons. Also provided is a cool and useful plugin for gkrellm. Note that you need the "Dell Laptop" option compiled into your kernel (included in the main kernel tree since 2.4.14-pre8) %prep %setup -q %build %make CFLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%_bindir make PREFIX=$RPM_BUILD_ROOT%_prefix install %clean rm -rf $RPM_BUILD_ROOT %files %defattr (-,root,root) %doc README.* COPYING %{_bindir}/* %changelog * Tue Oct 14 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.17-2mdk - buildrequires - rm -rf $RPM_BUILD_ROOT in %%install, not %%prep - quiet setup - compile with $RPM_OPT_FLAGS - updated description * Wed Dec 18 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.17-1mdk - new