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