From: kloczek Date: Wed, 28 Apr 1999 03:50:43 +0000 (+0000) Subject: - initial version (from RH contrib). X-Git-Tag: lm_sensors-2_6_2-6~49 X-Git-Url: http://git.pld-linux.org/?p=packages%2Flm_sensors.git;a=commitdiff_plain;h=bdcd6c234533eabf2107642c69be0a91230c40e0 - initial version (from RH contrib). Changed files: lm_sensors.spec -> 1.1 --- bdcd6c234533eabf2107642c69be0a91230c40e0 diff --git a/lm_sensors.spec b/lm_sensors.spec new file mode 100644 index 0000000..db3c106 --- /dev/null +++ b/lm_sensors.spec @@ -0,0 +1,87 @@ +Summary: Hardware health monitoring +Name: lm_sensors +Version: 2.2.2 +%define kernel 2.2.6 +%define modversion %{kernel}kernel_%{version} +Release: 5 +Source0: http://www.netroedge.com/~lm78/archive/%{name}-%{version}.tar.gz +Copyright: GPL +Group: Utilities/System +Packager: cyclic@cyclicsyn.dimensional.com +BuildRoot: /tmp/lm_sensors-root + +%changelog +* Sun Apr 25 1999 Ian Macdonald + +- compiled for kernel 2.2.6 +- hyphen changed to underscore in version number to satisfy RPM 3.0 + +* Mon Apr 5 1999 Ian Macdonald + +- compiled for kernel 2.2.5 + +* Wed Mar 24 1999 Ian Macdonald + +- compiled for kernel 2.2.4 + +* Tue Mar 8 1999 Ian Macdonald + +- compiled for kernel 2.2.3 + +* Fri Feb 26 1999 Ian Macdonald + +- updated to lm_sensors 2.2.2 and compiled for kernel 2.2.2 +- added /etc/sensors.conf +- added %post and %postun scripts + +%package modules +Summary: Kernel modules for various buses and monitor chips. +Version: %{modversion} +Group: Utilities/System + +%description +Tools for monitoring the hardware health of +Linux systems containing hardware health monitoring +hardware such as the LM78 and LM75. + +%description modules +Kernel modules for various busses and monitor chips. + +%prep +%setup + +%build +make + +%install +rm -fr $RPM_BUILD_ROOT +make PREFIX=$RPM_BUILD_ROOT/usr ETCDIR=$RPM_BUILD_ROOT/etc MODDIR=$RPM_BUILD_ROOT/lib/modules/%{kernel}/misc install + +%post +ldconfig + +%postun +ldconfig + +%post modules +depmod -a + +%postun modules +depmod -a + +%clean +rm -fr $RPM_BUILD_ROOT + +%files +%config /etc/sensors.conf +%doc CHANGES INSTALL README README.directories doc +%attr(644, root, root) /usr/lib/libsensors.a +%attr(755, root, root) /usr/lib/libsensors.so +%attr(755, root, root) /usr/lib/libsensors.so.0 +%attr(755, root, root) /usr/lib/libsensors.so.0.0.2 +%attr(755, root, root) /usr/bin/sensors +/usr/include/sensors +/usr/include/linux/* + +%files modules +/lib/modules/%{kernel}/misc/*