Name: lm_sensors2 Version: 2.10.8 Release: 3mamba Summary: Tools for monitoring the hardware health of Linux systems Group: System/Kernel and Hardware Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.lm-sensors.org/ Source: http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-%{version}.tar.gz Patch: lm_sensors-2.9.1-pwmconfig_tempfile.patch License: GPL BuildRequires: libsysfs-devel >= 2.0.0 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot %description lm_sensors provides tools for monitoring the hardware health of Linux systems containing hardware health monitoring hardware such as the LM78 and LM75. %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{version} Conflicts: lm_sensors-devel %description devel lm_sensors provides tools for monitoring the hardware health of Linux systems containing hardware health monitoring hardware such as the LM78 and LM75. This package contains static libraries and header files need for development. %prep %setup -q -n lm_sensors-%{version} %build %make user PREFIX=%{_prefix} MANDIR=%{_mandir} %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} make user_install MANDIR=%{_mandir} PREFIX=%{_prefix} DESTDIR=%{buildroot} install -D -m 0755 prog/init/fancontrol.init %{buildroot}%{_initrddir}/fancontrol install -D -m 0755 prog/init/lm_sensors.init %{buildroot}%{_initrddir}/lm_sensors #install -D -m 0755 prog/init/sensord.init %{buildroot}%{_initrddir}/sensord install -d %{buildroot}%{_sysconfdir}/sysconfig > %{buildroot}%{_sysconfdir}/sysconfig/lm_sensors sed -i "s|/usr/local|/usr|" \ %{buildroot}%{_initrddir}/fancontrol \ %{buildroot}%{_initrddir}/lm_sensors # remove installed kernel headers that will cause a conflict rm -f %{buildroot}%{_includedir}/linux/*.h rm -f %{buildroot}%{_bindir}/* rm -f %{buildroot}%{_sbindir}/* rm -f %{buildroot}%{_sysconfdir}/sysconfig/lm_sensors rm -f %{buildroot}%{_initrddir}/* rm -rf %{buildroot}%{_mandir} %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/sensors.conf %{_libdir}/*.so.* %files devel %defattr(-,root,root) %{_libdir}/*.so %{_libdir}/*.a %dir %{_includedir}/sensors %{_includedir}/sensors/*.h %changelog * Sat Aug 03 2013 Automatic Build System 2.10.8-3mamba - automatic rebuild by autodist * Mon Jun 29 2009 Silvan Calarco 2.10.8-2mamba - add conflicts with lm_sensors-devel in devel package * Wed Apr 01 2009 Silvan Calarco 2.10.8-1mamba - automatic update by autodist * Sat Feb 07 2009 Silvan Calarco 2.10.3-2mamba - built as compatibility package * Tue May 29 2007 Silvan Calarco 2.10.3-1mamba - update to 2.10.3 * Wed Jun 28 2006 Silvan Calarco 2.10.0-1qilnx - update to version 2.10.0 by autospec * Tue Dec 20 2005 Davide Madrisan 2.9.2-2qilnx - sensors-detect requires /proc/mounts - added %%ghost file %{_sysconfdir}/sysconfig/lm_sensors * Tue Sep 27 2005 Silvan Calarco 2.9.2-1qilnx - update to version 2.9.2 by autospec - CAN-2005-2672 vulnerability fixed upstream, patch removed * Tue Aug 30 2005 Davide Madrisan 2.9.1-1qilnx - update to version 2.9.1 by autospec * Fri Aug 26 2005 Davide Madrisan 2.9.0-3qilnx - pwmconfig: do not create temporary files in an insecure manner (QSA-2005-094: CAN-2005-2672) * Thu Feb 17 2005 Silvan Calarco 2.9.0-2qilnx - removed conflict headers in devel package - run sensors-detect on install/upgrade * Thu Feb 17 2005 Silvan Calarco 2.9.0-1qilnx - package created by autospec