]> git.pld-linux.org Git - SPECS.git/blob - hpiutil.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / hpiutil.spec
1 Summary:        sys utils that conform to the SA Forum's Hardware Platform Interface specification
2 Summary(pl.UTF-8):      Narzędzia systemowe zgodne ze specyfikacją Hardware Platform Interface SA Forum
3 Name:           hpiutil
4 Version:        1.1.3
5 Release:        1
6 License:        BSD
7 Group:          Applications/System
8 Source0:        http://dl.sourceforge.net/panicsel/%{name}-%{version}.tar.gz
9 # Source0-md5:  bd20ec134d1251c47ffce9ffa6b6e2c1
10 URL:            http://panicsel.sourceforge.net/
11 BuildRequires:  openhpi-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 The HPI utilities package provides system management utilities that
16 conform to the SA Forum's Hardware Platform Interface specification,
17 and as such are hardware-independent across platforms that have an HPI
18 library implementation.  The HPI library on Intel platforms requires
19 an IPMI driver.  An IPMI driver can be provided by either the Intel
20 IPMI driver (/dev/imb) or the OpenIPMI driver (/dev/ipmi0) in Linux
21 kernel versions 2.4.20 and greater.
22
23 %description -l pl.UTF-8
24 Pakiet narzędzi HPI dostarcza narzędzia do zarządzania systemem zgodne
25 ze specyfikacją Hardware Platform Interface (interfejsu platformy
26 sprzętowej) SA Forum i jako takie są niezależne od sprzętu dla
27 platform z implementacją biblioteki HPI. Biblioteka HPI na platformach
28 intelowskich wymaga sterownika IPMI. Sterownik IPMI może być
29 dostarczony przez sterownik Intel IPMI (/dev/imb) lub OpenIPMI
30 (/dev/ipmi0) w jądrach Linuksa w wersji 2.4.20 lub wyższej.
31
32 %prep
33 %setup -q -c
34
35 %build
36 %{__make} \
37         CC="%{__cc}" \
38         DEBFLAGS="%{rpmcflags}" \
39         LIBDIR=/usr/%{_lib} \
40         LIBHPI=openhpi
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{_sbindir}
45
46 install hpialarmpanel hpisel hpifru hpisensor hpireset hpiwdt \
47         $RPM_BUILD_ROOT%{_sbindir}
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc COPYING ChangeLog README TODO
55 %attr(755,root,root) %{_sbindir}/*
This page took 0.658288 seconds and 3 git commands to generate.