8b2fb313e8
Wed Aug 16 2000 Nalin Dahyabhai <nalin@redhat.com> - fix summary Fri Jul 28 2000 Harald Hoyer <harald@redhat.de> - added static library to devel package Thu Jul 20 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 2.5.2 - build against a kernel that actually has new i2c code in it Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Mon Jun 12 2000 Nalin Dahyabhai <nalin@redhat.com> - initial package without kernel support
79 lines
1.9 KiB
RPMSpec
79 lines
1.9 KiB
RPMSpec
Name: lm_sensors
|
|
Version: 2.5.2
|
|
Release: 3
|
|
URL: http://www.lm-sensors.nu/
|
|
Source: http://www.lm-sensors.nu/lm-sensors/archive/lm_sensors-%{version}.tar.gz
|
|
Patch: lm_sensors-2.5.2-redhat.patch
|
|
Summary: Hardware monitoring tools.
|
|
Group: Applications/System
|
|
Copyright: GPL
|
|
Buildroot: %{_tmppath}/%{name}-root
|
|
ExclusiveArch: i386
|
|
BuildPrereq: kernel-headers >= 2.2.16
|
|
|
|
%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: Hardware monitoring tools.
|
|
Group: Development/System
|
|
Summary: Development files for programs which will use lm_sensors.
|
|
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
|
|
%patch0 -p1 -b .redhat
|
|
|
|
%build
|
|
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
|
|
* Wed Aug 16 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
- fix summary
|
|
|
|
* Fri Jul 28 2000 Harald Hoyer <harald@redhat.de>
|
|
- added static library to devel package
|
|
|
|
* Thu Jul 20 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
- update to 2.5.2
|
|
- build against a kernel that actually has new i2c code in it
|
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
- automatic rebuild
|
|
|
|
* Mon Jun 12 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
- initial package without kernel support
|