]>
Commit | Line | Data |
---|---|---|
bdcd6c23 | 1 | Summary: Hardware health monitoring |
2 | Name: lm_sensors | |
3 | Version: 2.2.2 | |
4 | %define kernel 2.2.6 | |
5 | %define modversion %{kernel}kernel_%{version} | |
6 | Release: 5 | |
7 | Source0: http://www.netroedge.com/~lm78/archive/%{name}-%{version}.tar.gz | |
8 | Copyright: GPL | |
9 | Group: Utilities/System | |
10 | Packager: cyclic@cyclicsyn.dimensional.com | |
11 | BuildRoot: /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 | |
38 | Summary: Kernel modules for various buses and monitor chips. | |
39 | Version: %{modversion} | |
40 | Group: Utilities/System | |
41 | ||
42 | %description | |
43 | Tools for monitoring the hardware health of | |
44 | Linux systems containing hardware health monitoring | |
45 | hardware such as the LM78 and LM75. | |
46 | ||
47 | %description modules | |
48 | Kernel modules for various busses and monitor chips. | |
49 | ||
50 | %prep | |
51 | %setup | |
52 | ||
53 | %build | |
54 | make | |
55 | ||
56 | %install | |
57 | rm -fr $RPM_BUILD_ROOT | |
58 | make PREFIX=$RPM_BUILD_ROOT/usr ETCDIR=$RPM_BUILD_ROOT/etc MODDIR=$RPM_BUILD_ROOT/lib/modules/%{kernel}/misc install | |
59 | ||
60 | %post | |
61 | ldconfig | |
62 | ||
63 | %postun | |
64 | ldconfig | |
65 | ||
66 | %post modules | |
67 | depmod -a | |
68 | ||
69 | %postun modules | |
70 | depmod -a | |
71 | ||
72 | %clean | |
73 | rm -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/* |