]>
Commit | Line | Data |
---|---|---|
615429b4 | 1 | Summary: Simple command-line interface to systems that support the IPMI |
fc5e2eeb | 2 | Summary(pl.UTF-8): Prosty interfejs do systemów obsługujących IPMI działający z linii poleceń |
615429b4 | 3 | Name: ipmitool |
3e56e2f3 | 4 | Version: 1.8.15 |
522858f3 | 5 | Release: 2 |
2e0d7a99 | 6 | License: BSD |
615429b4 | 7 | Group: Applications/System |
38817b3b | 8 | Source0: http://downloads.sourceforge.net/ipmitool/%{name}-%{version}.tar.gz |
3e56e2f3 | 9 | # Source0-md5: 770797da74a72afa45dea2c6114880e6 |
de766762 AM |
10 | Source1: %{name}-ipmievd.init |
11 | Source2: %{name}-ipmievd.sysconfig | |
d9c94779 | 12 | URL: http://ipmitool.sourceforge.net/ |
cca27c94 | 13 | BuildRequires: autoconf >= 2.62 |
2e0d7a99 JB |
14 | BuildRequires: automake |
15 | BuildRequires: libltdl-devel | |
16 | BuildRequires: libtool | |
a8ec3f76 | 17 | BuildRequires: rpmbuild(macros) >= 1.268 |
30118865 | 18 | Suggests: ipmi-init |
37e495c3 | 19 | Obsoletes: ipmitool-devel |
615429b4 AM |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
8a738cd4 | 23 | IPMItool is a simple command-line interface to systems that support |
c8d0ec2b | 24 | the Intelligent Platform Management Interface (IPMI) v1.5 and v2.0 |
8a738cd4 JB |
25 | specification. It provides the ability to read the SDR and print |
26 | sensor values, display the contents of the SEL, print FRU information, | |
27 | read and set LAN configuration parameters, and perform chassis power | |
28 | control. Originally written to take advantage of IPMI-over-LAN | |
29 | interfaces, it is also capable of using a system interface as provided | |
30 | by a kernel device driver such as OpenIPMI. | |
31 | ||
b45a26d3 JR |
32 | %description -l pl.UTF-8 |
33 | IPMItool to prosty, działający z linii poleceń interfejs do systemów | |
34 | obsługujących specyfikację Intelligent Platform Management Interface | |
35 | (IPMI) v1.5 i v2.0. Daje możliwość odczytu SDR i wypisania wartości | |
36 | czujników, wyświetlenia zawartości SEL, wypisania informacji FRU, | |
37 | odczytu i ustawiania parametrów konfiguracji LAN i sterowania | |
38 | zasilaniem. Narzędzie napisano pierwotnie w celu wykorzystania | |
39 | interfejsów IPMI-over-LAN, ale możliwe jest także używanie interfejsu | |
40 | systemowego dostarczonego przez sterownik urządzenia w jądrze, taki | |
8a738cd4 | 41 | jak OpenIPMI. |
615429b4 | 42 | |
de766762 AM |
43 | %package ipmievd |
44 | Summary: IPMI event daemon for sending events to syslog | |
2c10fe43 | 45 | Summary(pl.UTF-8): Demon IPMI przesyłający zdarzenia do sysloga |
de766762 AM |
46 | Group: Networking/Daemons |
47 | Requires(post,preun): /sbin/chkconfig | |
48 | Requires: rc-scripts | |
49 | ||
50 | %description ipmievd | |
51 | ipmievd is a daemon which will listen for events from the BMC that are | |
52 | being sent to the SEL and also log those messages to syslog. | |
53 | ||
b45a26d3 JR |
54 | %description ipmievd -l pl.UTF-8 |
55 | ipmievd to demon, który nasłuchuje na zdarzenia z BMC, które są | |
56 | wysył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 | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %{__make} install \ | |
84 | DESTDIR=$RPM_BUILD_ROOT | |
85 | ||
38817b3b ER |
86 | install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig} |
87 | install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ipmievd | |
88 | cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/ipmievd | |
89 | ||
90 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} | |
de766762 | 91 | |
615429b4 AM |
92 | %clean |
93 | rm -rf $RPM_BUILD_ROOT | |
94 | ||
de766762 AM |
95 | %post ipmievd |
96 | /sbin/chkconfig --add ipmievd | |
97 | %service ipmievd restart | |
98 | ||
99 | %preun ipmievd | |
100 | if [ "$1" = "0" ]; then | |
38817b3b ER |
101 | %service ipmievd stop |
102 | /sbin/chkconfig --del ipmievd | |
de766762 AM |
103 | fi |
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* |