--- lm_sensors.spec.old 2005-09-11 21:34:27 +0400 +++ lm_sensors.spec 2006-06-10 17:30:20 +0400 @@ -1,8 +1,9 @@ # -*- rpm-spec -*- +%def_disable static Name: lm_sensors -Version: 2.9.2 -Release: alt1 +Version: 2.10.0 +Release: alt0.2 Summary: Hardware Health Monitoring Tools License: GPL @@ -21,7 +22,7 @@ Patch4: %name-2.9.1-alt-init.patch Requires: libsensors = %version-%release # Automatically added by buildreq on Thu Aug 18 2005 -BuildRequires: flex +BuildRequires: flex libsysfs-devel %package -n libsensors Summary: Shared library for hardware health monitoring tools @@ -102,6 +103,7 @@ echo 'KERNELCHIPSDIR = kernel/chips' >ke make user \ LINUX=/var/empty \ I2C_HEADERS=/var/empty \ + SYSFS_SUPPORT=1 \ CFLAGS="$RPM_OPT_FLAGS" \ EXLDFLAGS= \ LIBICONV= \ @@ -171,13 +173,20 @@ done %_includedir/sensors %_man3dir/* +%if_enabled static %files -n libsensors-devel-static %_libdir/*.a +%endif #static %files -n kernel-source-%name %_usrsrc/kernel/sources/kernel-source-%name-%version.tar.bz2 %changelog +* Sat Jun 10 2006 LAKostis 2.10.0-alt0.2 +- 2.10.0 release. +- build with sysfs support. +- disable -static package by default + * Sun Sep 11 2005 Sergey Vlasov 2.9.2-alt1 - 2.9.2 release. - Dropped alt-urlview patch (obsolete).