]> git.pld-linux.org Git - packages/ipmitool.git/blame - ipmitool.spec
- release 2 (by relup.sh)
[packages/ipmitool.git] / ipmitool.spec
CommitLineData
615429b4 1Summary: Simple command-line interface to systems that support the IPMI
fc5e2eeb 2Summary(pl.UTF-8): Prosty interfejs do systemów obsługujących IPMI działający z linii poleceń
615429b4 3Name: ipmitool
3e56e2f3 4Version: 1.8.15
522858f3 5Release: 2
2e0d7a99 6License: BSD
615429b4 7Group: Applications/System
38817b3b 8Source0: http://downloads.sourceforge.net/ipmitool/%{name}-%{version}.tar.gz
3e56e2f3 9# Source0-md5: 770797da74a72afa45dea2c6114880e6
de766762
AM
10Source1: %{name}-ipmievd.init
11Source2: %{name}-ipmievd.sysconfig
d9c94779 12URL: http://ipmitool.sourceforge.net/
cca27c94 13BuildRequires: autoconf >= 2.62
2e0d7a99
JB
14BuildRequires: automake
15BuildRequires: libltdl-devel
16BuildRequires: libtool
a8ec3f76 17BuildRequires: rpmbuild(macros) >= 1.268
30118865 18Suggests: ipmi-init
37e495c3 19Obsoletes: ipmitool-devel
615429b4
AM
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
8a738cd4 23IPMItool is a simple command-line interface to systems that support
c8d0ec2b 24the Intelligent Platform Management Interface (IPMI) v1.5 and v2.0
8a738cd4
JB
25specification. It provides the ability to read the SDR and print
26sensor values, display the contents of the SEL, print FRU information,
27read and set LAN configuration parameters, and perform chassis power
28control. Originally written to take advantage of IPMI-over-LAN
29interfaces, it is also capable of using a system interface as provided
30by a kernel device driver such as OpenIPMI.
31
b45a26d3
JR
32%description -l pl.UTF-8
33IPMItool to prosty, działający z linii poleceń interfejs do systemów
34obsługujących specyfikację Intelligent Platform Management Interface
35(IPMI) v1.5 i v2.0. Daje możliwość odczytu SDR i wypisania wartości
36czujników, wyświetlenia zawartości SEL, wypisania informacji FRU,
37odczytu i ustawiania parametrów konfiguracji LAN i sterowania
38zasilaniem. Narzędzie napisano pierwotnie w celu wykorzystania
39interfejsów IPMI-over-LAN, ale możliwe jest także używanie interfejsu
40systemowego dostarczonego przez sterownik urządzenia w jądrze, taki
8a738cd4 41jak OpenIPMI.
615429b4 42
de766762
AM
43%package ipmievd
44Summary: IPMI event daemon for sending events to syslog
2c10fe43 45Summary(pl.UTF-8): Demon IPMI przesyłający zdarzenia do sysloga
de766762
AM
46Group: Networking/Daemons
47Requires(post,preun): /sbin/chkconfig
48Requires: rc-scripts
49
50%description ipmievd
51ipmievd is a daemon which will listen for events from the BMC that are
52being sent to the SEL and also log those messages to syslog.
53
b45a26d3
JR
54%description ipmievd -l pl.UTF-8
55ipmievd to demon, który nasłuchuje na zdarzenia z BMC, które są
56wysyłane do SEL i loguje wiadomości do sysloga.
de766762 57
615429b4
AM
58%prep
59%setup -q
60
61%build
2e0d7a99
JB
62%{__libtoolize} --ltdl
63%{__aclocal}
64%{__autoconf}
65%{__autoheader}
66%{__automake}
615429b4 67%configure \
d9c94779 68 --enable-shared \
2e0d7a99 69 --disable-static \
56382b69 70 --enable-intf-bmc \
71 --enable-intf-free \
72 --enable-intf-imb \
615429b4 73 --enable-intf-lan \
d9c94779 74 --enable-intf-lanplus \
56382b69 75 --enable-intf-lipmi \
615429b4 76 --enable-intf-open \
688c3e3f 77 --enable-ipmishell
615429b4
AM
78%{__make}
79
80%install
81rm -rf $RPM_BUILD_ROOT
82
83%{__make} install \
84 DESTDIR=$RPM_BUILD_ROOT
85
38817b3b
ER
86install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
87install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ipmievd
88cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/ipmievd
89
90%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
de766762 91
615429b4
AM
92%clean
93rm -rf $RPM_BUILD_ROOT
94
de766762
AM
95%post ipmievd
96/sbin/chkconfig --add ipmievd
97%service ipmievd restart
98
99%preun ipmievd
100if [ "$1" = "0" ]; then
38817b3b
ER
101 %service ipmievd stop
102 /sbin/chkconfig --del ipmievd
de766762
AM
103fi
104
615429b4
AM
105%files
106%defattr(644,root,root,755)
7df3e56b 107%doc AUTHORS COPYING README ChangeLog
38817b3b 108%attr(755,root,root) %{_bindir}/ipmitool
688c3e3f 109%{_datadir}/ipmitool
38817b3b 110%{_mandir}/man1/ipmitool.1*
de766762
AM
111
112%files ipmievd
113%defattr(644,root,root,755)
38817b3b 114%attr(755,root,root) %{_sbindir}/ipmievd
de766762 115%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ipmievd
38817b3b
ER
116%attr(754,root,root) /etc/rc.d/init.d/ipmievd
117%{_mandir}/man8/ipmievd.8*
This page took 0.061235 seconds and 4 git commands to generate.