]> git.pld-linux.org Git - packages/lm_sensors.git/blobdiff - lm_sensors.spec
- updated for 2.8.3 (much shorter now)
[packages/lm_sensors.git] / lm_sensors.spec
index 553c2b78fdbdd463accee010b44a7d3a8814b2dd..68aafe2e4262304206e9e78b70b4d272cc29b1a2 100644 (file)
@@ -13,12 +13,12 @@ Summary(ru):        
 Summary(uk):   õÔÉ̦ÔÉ ÄÌÑ ÍÏΦÔÏÒÉÎÇÕ ÁÐÁÒÁÔÕÒÉ
 Name:          lm_sensors
 Version:       2.8.2
-%define _rel   1
+%define _rel   2
 Release:       %{_rel}
 License:       GPL
 Group:         Applications/System
 Source0:       http://secure.netroedge.com/~lm78/archive/%{name}-%{version}.tar.gz
-# Source0-md5: 2ea0d608404aced13211174e03b1268a
+# Source0-md5: e38406adca7db7e1e761269e4de8b248
 Source1:       sensors.init
 Source2:       sensors.sysconfig
 Patch0:                %{name}-make.patch
@@ -245,11 +245,12 @@ install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8} \
        I2C_HEADERS=/usr/include
 
 install prog/eepromer/{eeprom,eepromer}        $RPM_BUILD_ROOT%{_sbindir}
-#install prog/dump/{i2c{dump,set},isadump} $RPM_BUILD_ROOT%{_sbindir}
-#install prog/detect/i2cdetect $RPM_BUILD_ROOT%{_sbindir}
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/sensors
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/sensors
+
+# i2c API for userspace - included in glibc-kernel-headers
+rm -f $RPM_BUILD_ROOT%{_includedir}/linux/i2c-dev.h
 %endif
 
 %if %{with kernel} && %{with smp}
@@ -328,8 +329,6 @@ fi
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_includedir}/sensors
 %{_includedir}/linux/sensors.h
-# i2c userspace header - should be in glibc-kernel-headers
-%{_includedir}/linux/i2c-dev.h
 %{_mandir}/man3/*
 
 %files static
This page took 0.023953 seconds and 4 git commands to generate.