Name: lm_sensors Version: 2.6.1 Release: 1 URL: http://www.netroedge.com/~lm78/ Source: http://www.netroedge.com/~lm78/archive/lm_sensors-%{version}.tar.gz Patch1: lm_sensors-2.5.2-redhat.patch Patch3: lm_sensors-2.5.5-glibc22.patch Patch4: lm_sensors-2.5.5-csb5.patch Summary: Hardware monitoring tools. Group: Applications/System Copyright: GPL Buildroot: %{_tmppath}/%{name}-root BuildPrereq: glibc-kernheaders >= 2.4 ExclusiveArch: alpha %{ix86} %description The lm_sensors package includes a collection of modules for general SMBus access and hardware monitoring. NOTE: this requires special support which is not in standard 2.2-vintage kernels. %package devel Summary: Development files for programs which will use lm_sensors. Group: Development/System Requires: lm_sensors = %{version} %description devel The lm_sensors-devel package includes a header files and libraries for use when building applications that make use of sensor data. %prep %setup -q %patch1 -p1 -b .redhat %patch3 -p1 -b .glibc22 %patch4 -p1 -b .csb5 %build mkdir -p kernel/include/linux/ ln -s /usr/src/linux-2.4/include/linux/i2c* kernel/include/linux/ #make LINUX_HEADERS=/usr/include LINUX=/usr/src/linux-2.4 make %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT %{makeinstall} chmod 755 $RPM_BUILD_ROOT%{_libdir}/*.so* %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc BACKGROUND BUGS CHANGES CONTRIBUTORS COPYING doc/* README %config %{_sysconfdir}/sensors.conf %{_bindir}/sensors %{_libdir}/*.so.* %{_mandir}/man*/* %{_sbindir}/sensors-detect %files devel %defattr(-,root,root) %{_includedir}/sensors %{_libdir}/lib*.a %{_libdir}/lib*.so %changelog * Mon Mar 25 2002 Phil Knirsch 2.6.1-1 - Update to version 2.6.1 to be in line with kernel update. * Wed Aug 22 2001 Philipp Knirsch 2.5.5-6 - Added the SMBus CSB5 detection (#50468) * Mon Jul 9 2001 Philipp Knirsch - Fixed duplicate Summary: entry for devel package (#47714) * Sun Jun 24 2001 Elliot Lee - Bump release + rebuild. * Thu Feb 15 2001 Philipp Knirsch - Removed the i2c block patch as our newest kernel doesn't need it anymore. * Mon Feb 5 2001 Matt Wilson - added patch to not include sys/perm.h, as it's gone now. - added alpha to ExclusiveArch - use make "LINUX_HEADERS=/usr/include" to get kernel headers * Tue Jan 16 2001 Philipp Knirsch - Updated to 2.5.5 which includes the Serverworks drivers. Kernel modules are not included though es they have to go into the kernel package - Had to remove all references to I2C_SMBUS_I2C_BLOCK_DATA from kernel/busses/i2c-i801.c and prog/dump/i2cdump.c as this is not defined in our current kernel package * Tue Dec 19 2000 Philipp Knirsch - update to 2.5.4 - updated URL and Source entries to point to new home of lm-sensors - rebuild * Wed Aug 16 2000 Nalin Dahyabhai - fix summary * Fri Jul 28 2000 Harald Hoyer - added static library to devel package * Thu Jul 20 2000 Nalin Dahyabhai - update to 2.5.2 - build against a kernel that actually has new i2c code in it * Wed Jul 12 2000 Prospector - automatic rebuild * Mon Jun 12 2000 Nalin Dahyabhai - initial package without kernel support