Name: ipmitool Summary: Utility for IPMI control Version: 1.8.18 Release: 2 License: BSD Group: System Environment/Base URL: http://ipmitool.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-aix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: AIX-rpm >= 5.3.0.0 BuildRequires: patch BuildRequires: gcc >= 4.8.4-1 BuildRequires: openssl-devel >= 1.0.2j-2 Requires: AIX-rpm >= 5.3.0.0 Requires: openssl >= 1.0.2j-2 %description This package contains a utility for interfacing with devices that support the Intelligent Platform Management Interface specification. IPMI is an open standard for machine health, inventory, and remote power control. This utility can communicate with IPMI-enabled devices over the RMCP LAN protocol defined in the IPMI specification. IPMIv2 adds support for encrypted LAN communications and remote Serial-over-LAN functionality. It provides commands for reading the Sensor Data Repository (SDR) and displaying sensor values, displaying the contents of the System Event Log (SEL), printing Field Replaceable Unit (FRU) information, reading and setting LAN configuration, and chassis power control. %prep export PATH=/opt/freeware/bin:$PATH %setup -q %patch0 %build export CONFIG_SHELL=/usr/bin/ksh export CONFIG_ENV_ARGS=/usr/bin/ksh export CC="gcc" export CFLAGS="-DSYSV -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51 -D_ALL_SOURCE -DFUNCPROTO=15 -O -I/opt/freeware/include" export LDFLAGS="-L/opt/freeware/lib -Wl,-blibpath:/opt/freeware/lib:/usr/lib:/lib -Wl,-bmaxdata:0x80000000" ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} \ --enable-shared --disable-static \ --disable-solaris-opt \ --disable-internal-md5 \ --enable-intf-lan \ --disable-intf-usb \ --enable-intf-lanplus \ --disable-intf-serial \ --disable-intf-free \ --disable-intf-open \ --disable-intf-imb \ --disable-intf-lipmi \ --disable-ipmishell \ --enable-file-security make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make DESTDIR=${RPM_BUILD_ROOT} install /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : /usr/bin/strip ${RPM_BUILD_ROOT}%{_sbindir}/* || : ( cd ${RPM_BUILD_ROOT} for dir in bin sbin do mkdir -p usr/${dir} cd usr/${dir} ln -sf ../..%{_prefix}/${dir}/* . cd - done ) %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc %{_datadir}/doc/%{name} #%config(noreplace) /etc/sysconfig/ipmievd %{_bindir}/* #%{_sbindir}/* %{_mandir}/man1/* #%{_mandir}/man8/* %{_datadir}/%{name} /usr/bin/* #/usr/sbin/* %changelog * Mon Nov 21 2016 Michael Perzl - 1.8.18-2 - recompiled against latest versions * Mon Oct 10 2016 Michael Perzl - 1.8.18-1 - updated to version 1.8.18 * Tue Sep 20 2016 Michael Perzl - 1.8.17-1 - updated to version 1.8.17 * Mon May 02 2016 Michael Perzl - 1.8.16-1 - updated to version 1.8.16 * Fri Mar 04 2016 Michael Perzl - 1.8.15-2 - compiled against latest version of openssl * Thu Dec 11 2014 Michael Perzl - 1.8.15-1 - updated to version 1.8.15 * Thu Dec 11 2014 Michael Perzl - 1.8.14-1 - updated to version 1.8.14 * Sat Apr 05 2014 Michael Perzl - 1.8.13-1 - first version for AIX V5.1 and higher