]> git.pld-linux.org Git - packages/lm_sensors.git/blob - lm_sensors.spec
- added using CVS keywords in %changelog (for automating them).
[packages/lm_sensors.git] / lm_sensors.spec
1 Summary:        Hardware health monitoring
2 Name:           lm_sensors
3 Version:        2.3.3
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):      Podstawowe/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) %{_bindir}/sensors
57 %{_includedir}/sensors
58 %{_includedir}/linux/*
59
60 %files modules
61 /lib/modules/%{kernel}/misc/*
This page took 0.051236 seconds and 4 git commands to generate.