%define name i8kutils %define version 1.27 %define release %mkrel 3 Version: %{version} Summary: Dell laptop SMM BIOS support Name: %{name} Release: %{release} License: GPLv2+ Group: Monitoring Source: http://ftp.debian.org/debian/pool/main/i/i8kutils/%{name}_%{version}.tar.gz URL: http://people.debian.org/~dz/i8k/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Requires: tcl Requires: tk %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 %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr (-,root,root) %doc README.* %{_bindir}/* %changelog * Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.27-3mdv2009.0 + Revision: 247134 - rebuild * Wed Jan 02 2008 Olivier Blin <oblin@mandriva.com> 1.27-1mdv2008.1 + Revision: 140755 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Wed Aug 15 2007 Adam Williamson <awilliamson@mandriva.com> 1.27-1mdv2008.0 + Revision: 63867 - rebuild for 2008 - don't package license (not required) - use makeinstall_std macro - correct URLs - use Fedora license policy (GPLv2+) - requires tcl and tk (fix #31132) - new release 1.27 - Import i8kutils * Thu Jan 05 2005 Lenny Cartier <lenny@mandriva.com> 1.25-2mdk - rebuild * Tue Aug 24 2004 Erwan Velu <erwan@mandrakesoft.com> 1.25-1mdk - 1.25 * 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