]> git.pld-linux.org Git - packages/lm_sensors.git/blame - lm_sensors.spec
- initial version (from RH contrib).
[packages/lm_sensors.git] / lm_sensors.spec
CommitLineData
bdcd6c23 1Summary: Hardware health monitoring
2Name: lm_sensors
3Version: 2.2.2
4%define kernel 2.2.6
5%define modversion %{kernel}kernel_%{version}
6Release: 5
7Source0: http://www.netroedge.com/~lm78/archive/%{name}-%{version}.tar.gz
8Copyright: GPL
9Group: Utilities/System
10Packager: cyclic@cyclicsyn.dimensional.com
11BuildRoot: /tmp/lm_sensors-root
12
13%changelog
14* Sun Apr 25 1999 Ian Macdonald <ianmacd@xs4all.nl>
15
16- compiled for kernel 2.2.6
17- hyphen changed to underscore in version number to satisfy RPM 3.0
18
19* Mon Apr 5 1999 Ian Macdonald <ianmacd@xs4all.nl>
20
21- compiled for kernel 2.2.5
22
23* Wed Mar 24 1999 Ian Macdonald <ianmacd@xs4all.nl>
24
25- compiled for kernel 2.2.4
26
27* Tue Mar 8 1999 Ian Macdonald <ianmacd@xs4all.nl>
28
29- compiled for kernel 2.2.3
30
31* Fri Feb 26 1999 Ian Macdonald <ianmacd@xs4all.nl>
32
33- updated to lm_sensors 2.2.2 and compiled for kernel 2.2.2
34- added /etc/sensors.conf
35- added %post and %postun scripts
36
37%package modules
38Summary: Kernel modules for various buses and monitor chips.
39Version: %{modversion}
40Group: Utilities/System
41
42%description
43Tools for monitoring the hardware health of
44Linux systems containing hardware health monitoring
45hardware such as the LM78 and LM75.
46
47%description modules
48Kernel modules for various busses and monitor chips.
49
50%prep
51%setup
52
53%build
54make
55
56%install
57rm -fr $RPM_BUILD_ROOT
58make PREFIX=$RPM_BUILD_ROOT/usr ETCDIR=$RPM_BUILD_ROOT/etc MODDIR=$RPM_BUILD_ROOT/lib/modules/%{kernel}/misc install
59
60%post
61ldconfig
62
63%postun
64ldconfig
65
66%post modules
67depmod -a
68
69%postun modules
70depmod -a
71
72%clean
73rm -fr $RPM_BUILD_ROOT
74
75%files
76%config /etc/sensors.conf
77%doc CHANGES INSTALL README README.directories doc
78%attr(644, root, root) /usr/lib/libsensors.a
79%attr(755, root, root) /usr/lib/libsensors.so
80%attr(755, root, root) /usr/lib/libsensors.so.0
81%attr(755, root, root) /usr/lib/libsensors.so.0.0.2
82%attr(755, root, root) /usr/bin/sensors
83/usr/include/sensors
84/usr/include/linux/*
85
86%files modules
87/lib/modules/%{kernel}/misc/*
This page took 0.032933 seconds and 4 git commands to generate.