2007-04-24 14:43:23 +00:00
|
|
|
%define ipmitoolver 1.8.9
|
2006-12-07 18:25:07 +00:00
|
|
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
2004-10-29 15:18:45 +00:00
|
|
|
Summary: OpenIPMI (Intelligent Platform Management Interface) library and tools
|
|
|
|
Name: OpenIPMI
|
2007-04-24 14:43:23 +00:00
|
|
|
Version: 2.0.11
|
2007-09-24 15:07:09 +00:00
|
|
|
Release: 3%{?dist}
|
2007-08-17 15:42:26 +00:00
|
|
|
License: BSD and BSD with advertising and LGPLv2+ and GPLv2+
|
2004-10-29 15:18:45 +00:00
|
|
|
Group: System Environment/Base
|
2005-06-27 14:57:04 +00:00
|
|
|
URL: http://sourceforge.net/projects/openipmi/
|
2004-10-29 15:18:45 +00:00
|
|
|
Source: http://prdownloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
|
2005-06-27 14:57:04 +00:00
|
|
|
Source2: http://prdownloads.sourceforge.net/ipmitool/ipmitool-%{ipmitoolver}.tar.gz
|
|
|
|
Source3: openipmi.sysconf
|
|
|
|
Source4: openipmi.initscript
|
2007-08-17 15:42:26 +00:00
|
|
|
Patch100: ipmitool-1.8.9-open.patch
|
2006-11-28 13:46:29 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2006-02-17 14:57:21 +00:00
|
|
|
PreReq: chkconfig
|
2006-05-16 09:50:56 +00:00
|
|
|
BuildPrereq: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel
|
2007-09-24 15:07:09 +00:00
|
|
|
BuildPrereq: openssl-devel python-devel readline-devel popt-devel
|
2007-10-10 14:09:57 +00:00
|
|
|
BuildPrereq: perl-devel
|
2004-10-29 15:18:45 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Open IPMI project aims to develop an open code base to allow access to
|
|
|
|
platform information using Intelligent Platform Management Interface (IPMI).
|
2005-06-27 14:57:04 +00:00
|
|
|
This package contains the tools of the OpenIPMI project.
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: The OpenIPMI runtime libraries
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
The OpenIPMI-libs package contains the runtime libraries for shared binaries
|
|
|
|
and applications.
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Group: Applications/System
|
|
|
|
Summary: OpenIPMI utilities and scripts from ipmitool
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
The OpenIPMI-tools package contains the addon utilities and script from the
|
|
|
|
ipmitool project.
|
2004-10-29 15:18:45 +00:00
|
|
|
|
2006-05-16 09:50:56 +00:00
|
|
|
%package perl
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: OpenIPMI Perl language bindings
|
|
|
|
|
|
|
|
%description perl
|
|
|
|
The OpenIPMI-perl package contains the Perl language bindings for OpenIPMI.
|
|
|
|
|
|
|
|
%package python
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: OpenIPMI Python language bindings
|
|
|
|
|
|
|
|
%description python
|
|
|
|
The OpenIPMI-perl package contains the Python language bindings for OpenIPMI.
|
|
|
|
|
2004-10-29 15:18:45 +00:00
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: The development environment for the OpenIPMI project.
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The OpenIPMI-devel package contains the development libraries and header files
|
|
|
|
of the OpenIPMI project.
|
|
|
|
|
|
|
|
%prep
|
2005-06-27 14:57:04 +00:00
|
|
|
%setup -q -a 2
|
2007-08-17 15:42:26 +00:00
|
|
|
pushd ipmitool-%{ipmitoolver}
|
|
|
|
%patch100 -p1 -b .open
|
2004-10-29 15:18:45 +00:00
|
|
|
|
|
|
|
%build
|
2006-12-07 18:25:07 +00:00
|
|
|
%configure --with-pythoninstall=%{python_sitearch}
|
2005-08-12 15:54:50 +00:00
|
|
|
make
|
2005-06-27 14:57:04 +00:00
|
|
|
pushd ipmitool-%{ipmitoolver}
|
|
|
|
%configure
|
2005-08-12 15:54:50 +00:00
|
|
|
make
|
2005-06-27 14:57:04 +00:00
|
|
|
popd
|
2004-10-29 15:18:45 +00:00
|
|
|
|
|
|
|
%install
|
2006-05-16 09:50:56 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2004-10-29 15:18:45 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
|
2006-05-16 13:35:15 +00:00
|
|
|
# Remove python cruft in 32bit libdir on 64bit archs...
|
|
|
|
%ifarch ppc64 s390x x86_64
|
|
|
|
rm -rf $RPM_BUILD_ROOT/usr/lib
|
|
|
|
%endif
|
2005-06-27 14:57:04 +00:00
|
|
|
pushd ipmitool-%{ipmitoolver}
|
2007-04-24 14:43:23 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
#rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/
|
2005-06-27 14:57:04 +00:00
|
|
|
popd
|
|
|
|
|
|
|
|
install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig
|
|
|
|
install -m 644 %SOURCE3 ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/ipmi
|
|
|
|
install -d ${RPM_BUILD_ROOT}%{_initrddir}
|
|
|
|
install -m 755 %SOURCE4 ${RPM_BUILD_ROOT}%{_initrddir}/ipmi
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/chkconfig --add ipmi
|
|
|
|
|
|
|
|
%preun
|
|
|
|
if [ $1 = 0 ]; then
|
2005-07-04 12:50:39 +00:00
|
|
|
service ipmi stop >/dev/null 2>&1
|
2005-06-27 14:57:04 +00:00
|
|
|
/sbin/chkconfig --del ipmi
|
|
|
|
fi
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ "$1" -ge "1" ]; then
|
|
|
|
service ipmi condrestart >/dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun libs -p /sbin/ldconfig
|
2004-10-29 15:18:45 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2005-06-27 14:57:04 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/ipmi
|
2005-07-15 12:50:46 +00:00
|
|
|
%config %{_initrddir}/ipmi
|
2005-06-27 14:57:04 +00:00
|
|
|
%{_bindir}/ipmicmd
|
|
|
|
%{_bindir}/ipmilan
|
|
|
|
%{_bindir}/ipmish
|
2006-05-16 09:50:56 +00:00
|
|
|
%{_bindir}/ipmi_ui
|
|
|
|
%{_bindir}/openipmicmd
|
|
|
|
%{_bindir}/openipmish
|
|
|
|
%{_bindir}/rmcp_ping
|
|
|
|
%{_bindir}/solterm
|
2006-01-09 15:46:28 +00:00
|
|
|
%{_mandir}/man1/ipmi_ui*
|
2006-05-16 09:50:56 +00:00
|
|
|
%{_mandir}/man1/openipmicmd*
|
|
|
|
%{_mandir}/man1/openipmigui*
|
|
|
|
%{_mandir}/man1/openipmish*
|
|
|
|
%{_mandir}/man1/rmcp_ping*
|
|
|
|
%{_mandir}/man1/solterm*
|
|
|
|
%{_mandir}/man7/ipmi_cmdlang*
|
|
|
|
%{_mandir}/man7/openipmi_conparms*
|
2006-01-09 15:46:28 +00:00
|
|
|
%{_mandir}/man8/ipmilan*
|
2006-05-16 09:50:56 +00:00
|
|
|
|
|
|
|
%files perl
|
2007-04-24 14:43:23 +00:00
|
|
|
%{_libdir}/perl5/vendor_perl/*/*-linux-thread-multi/OpenIPMI.pm
|
|
|
|
%dir %{_libdir}/perl5/vendor_perl/*/*-linux-thread-multi/auto/OpenIPMI
|
|
|
|
%{_libdir}/perl5/vendor_perl/*/*-linux-thread-multi/auto/OpenIPMI/*
|
2004-10-29 15:18:45 +00:00
|
|
|
|
2006-05-16 09:50:56 +00:00
|
|
|
%files python
|
|
|
|
%{_libdir}/python*/site-packages/*
|
|
|
|
|
2005-06-27 14:57:04 +00:00
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/ipmitool
|
2006-01-09 15:46:28 +00:00
|
|
|
%{_mandir}/man1/ipmitool*
|
|
|
|
%{_mandir}/man8/ipmievd*
|
2007-04-24 14:43:23 +00:00
|
|
|
%{_datadir}/doc/ipmitool
|
2005-06-27 14:57:04 +00:00
|
|
|
/usr/sbin/ipmievd
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
|
2004-10-29 15:18:45 +00:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2005-06-27 14:57:04 +00:00
|
|
|
%{_mandir}/man7/*
|
2004-10-29 15:18:45 +00:00
|
|
|
%{_includedir}/OpenIPMI
|
2005-03-30 16:05:00 +00:00
|
|
|
%{_libdir}/*.so
|
2004-10-29 15:18:45 +00:00
|
|
|
%{_libdir}/*.a
|
|
|
|
|
|
|
|
%changelog
|
2007-10-10 14:09:57 +00:00
|
|
|
* Wed Oct 10 2007 Phil Knirsch <pknirsch@redhat.com> - 2.0.11-3
|
|
|
|
- Added missing perl-devel buildrequires
|
|
|
|
|
2007-09-24 15:07:09 +00:00
|
|
|
* Mon Sep 24 2007 Phil Knirsch <pknirsch@redhat.com> - 2.0.11-2
|
|
|
|
- Added missing popt-devel buildrequires
|
|
|
|
|
2007-08-17 15:42:26 +00:00
|
|
|
* Fri Aug 17 2007 Phil Knirsch <pknirsch@redhat.com> - 2.0.11-2
|
|
|
|
- Fix rebuild problems due to glibc change
|
|
|
|
- License review and fixes
|
|
|
|
|
2007-04-24 14:43:23 +00:00
|
|
|
* Tue Apr 24 2007 Phil Knirsch <pknirsch@redhat.com> - 2.0.11-1
|
|
|
|
- Update to OpenIPMI-2.0.11
|
|
|
|
|
|
|
|
* Tue Feb 27 2007 Phil Knirsch <pknirsch@redhat.com> - 2.0.6-8
|
|
|
|
- Update for ipmitool-1.8.9
|
|
|
|
|
2006-12-07 18:25:07 +00:00
|
|
|
* Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 2.0.6-7
|
|
|
|
- rebuild for python 2.5
|
|
|
|
|
2006-11-28 13:46:29 +00:00
|
|
|
* Tue Nov 28 2006 Phil Knirsch <pknirsch@redhat.com> - 2.0.6-6.fc7
|
|
|
|
- Update due to new net-snmp-5.4
|
|
|
|
- Some specfile updates
|
|
|
|
|
2006-08-01 11:34:45 +00:00
|
|
|
* Tue Jul 18 2006 Phil Knirsch <pknirsch@redhat.com> - 2.0.6-5
|
|
|
|
- Fixed check for udev in initscript (#197956)
|
|
|
|
|
2006-07-12 07:33:49 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.0.6-4.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-06-16 16:22:54 +00:00
|
|
|
* Fri Jun 16 2006 Bill Nottingham <notting@redhat.com> 2.0.6-4
|
|
|
|
- don't include <linux/compiler.h>
|
|
|
|
|
|
|
|
* Fri Jun 16 2006 Jon Masters <jcm@redhat.com> 2.0.6-3
|
|
|
|
- Fix a build requires (needs glibc-kernheaders)
|
|
|
|
|
2006-06-15 14:48:02 +00:00
|
|
|
* Thu Jun 15 2006 Jesse Keating <jkeating@redhat.com> 2.0.6-2
|
|
|
|
- Bump for new glib2
|
|
|
|
|
2006-05-16 09:50:56 +00:00
|
|
|
* Tue May 16 2006 Phil Knirsch <pknirsch@redhat.com> 2.0.6-1
|
|
|
|
- Fixed bug with type conversion in ipmitool (#191091)
|
|
|
|
- Added python bindings
|
|
|
|
- Split off perl and python bindings in separate subpackages
|
|
|
|
- Dropped obsolete patches
|
2006-05-16 10:13:52 +00:00
|
|
|
- Added missing buildprereq on readline-devel
|
2006-05-16 13:35:15 +00:00
|
|
|
- Made it install the python bindings properly on 64bit archs
|
2006-05-16 09:50:56 +00:00
|
|
|
|
|
|
|
* Mon May 15 2006 Phil Knirsch <pknirsch@redhat.com>
|
2006-05-16 10:13:11 +00:00
|
|
|
- Updated ipmitool to 1.8.8
|
2006-05-16 09:50:56 +00:00
|
|
|
- Updated OpenIPMI to 2.0.6
|
|
|
|
|
2006-02-17 14:57:21 +00:00
|
|
|
* Fri Feb 17 2006 Phil Knirsch <pknirsch@redhat.com> 1.4.14-19
|
|
|
|
- Added missing PreReq for chkconfig
|
|
|
|
|
2006-02-13 18:42:58 +00:00
|
|
|
* Mon Feb 13 2006 Jesse Keating <jkeating@redhat.com> - 1.4.14-18.2.1
|
|
|
|
- rebump for build order issues during double-long bump
|
|
|
|
|
2006-02-11 04:49:37 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.4.14-18.2
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 13:18:35 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.4.14-18.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2006-02-06 13:47:24 +00:00
|
|
|
* Mon Feb 06 2006 Phil Knirsch <pknirsch@redhat.com> 1.4.14-18
|
|
|
|
- Updated ipmitool to latest upstream version.
|
|
|
|
- Removed 3 patches for already fixed bugs in latest ipmitool.
|
|
|
|
- Adapted warning message fix for ipmitool for latest version.
|
|
|
|
|
2006-01-24 13:56:18 +00:00
|
|
|
* Tue Jan 24 2006 Phil Knirsch <pknirsch@redhat.com> 1.4.14-17
|
|
|
|
- Fixed some minor things in initscripts.
|
|
|
|
|
2006-01-09 15:47:04 +00:00
|
|
|
* Mon Jan 09 2006 Phil Knirsch <pknirsch@redhat.com> 1.4.14-16
|
2006-01-09 15:46:28 +00:00
|
|
|
- Included FRU fix for displaying FRUs with ipmitool
|
|
|
|
- Included patch for new option to specify a BMC password for IPMI 2.0 sessions
|
|
|
|
|
2006-01-03 08:58:00 +00:00
|
|
|
* Tue Jan 03 2006 Radek Vokal <rvokal@redhat.com> 1.4.14-15
|
|
|
|
- Rebuilt against new libnetsnmp
|
|
|
|
|
2005-12-09 22:39:30 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-11-23 11:21:46 +00:00
|
|
|
* Wed Nov 23 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-14
|
|
|
|
- Some more initscript and sysconfig updates from Dell.
|
|
|
|
|
2005-11-09 15:47:45 +00:00
|
|
|
* Wed Nov 09 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-13
|
2005-11-09 13:45:56 +00:00
|
|
|
- Rebuilt to link against latest openssl libs.
|
2005-11-09 15:47:45 +00:00
|
|
|
- Fixed ipmitool not setting session privilege level (#172312)
|
2005-11-09 13:45:56 +00:00
|
|
|
|
2005-11-02 13:59:18 +00:00
|
|
|
* Wed Nov 02 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-11
|
|
|
|
- Rebuild to link against new net-snmp libs.
|
|
|
|
|
2005-10-11 12:43:00 +00:00
|
|
|
* Tue Oct 11 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-10
|
|
|
|
- Updated initscript to fix missing redhat-lsb bug (#169901)
|
|
|
|
|
2005-09-08 11:25:11 +00:00
|
|
|
* Thu Sep 08 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-9
|
|
|
|
- Another update to latest initscripts from Dell
|
|
|
|
- Fixed some missing return statements for non-void functions (#164138)
|
|
|
|
|
2005-09-01 17:04:50 +00:00
|
|
|
* Thu Sep 01 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-8
|
|
|
|
- Updated initscript to latest version from Dell
|
|
|
|
|
2005-08-12 15:54:50 +00:00
|
|
|
* Fri Aug 12 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-7
|
|
|
|
- Fixed the unwanted output of failed module loading of the initscript. Behaves
|
|
|
|
now like all our other initscripts (#165476)
|
|
|
|
|
2005-08-05 12:36:12 +00:00
|
|
|
* Fri Aug 05 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-6
|
|
|
|
- Fixed build problem on 64bit machines
|
|
|
|
|
2005-07-15 12:50:46 +00:00
|
|
|
* Fri Jul 15 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-5
|
|
|
|
- Fixed missing change to not autostart in the initscript
|
|
|
|
|
|
|
|
* Wed Jul 06 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-4
|
|
|
|
- Made the initscript a replacing configfile
|
|
|
|
|
|
|
|
* Mon Jul 04 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-3
|
2005-07-04 12:50:39 +00:00
|
|
|
- Updated versions of the initscripts and sysconf files
|
|
|
|
- Fixed typo in preun script and changelog
|
|
|
|
|
2005-06-27 14:57:04 +00:00
|
|
|
* Mon Jun 27 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-2
|
|
|
|
- Updated to OpenIPMI-1.4.14
|
|
|
|
- Split the main package into normal and libs package for multilib support
|
2005-07-04 12:50:39 +00:00
|
|
|
- Added ipmitool-1.8.2 to OpenIPMI and put it in tools package
|
2005-06-27 14:57:04 +00:00
|
|
|
- Added sysconf and initscript (#158270)
|
|
|
|
- Fixed oob subscripts (#149142)
|
|
|
|
|
2005-03-30 16:05:00 +00:00
|
|
|
* Wed Mar 30 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.11-5
|
|
|
|
- Correctly put libs in the proper packages
|
|
|
|
|
2005-03-17 17:17:01 +00:00
|
|
|
* Thu Mar 17 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.11-4
|
|
|
|
- gcc4 rebuild fixes
|
|
|
|
- Added missing gdbm-devel buildprereq
|
|
|
|
|
2005-03-02 16:37:21 +00:00
|
|
|
* Wed Mar 02 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.11-3
|
|
|
|
- bump release and rebuild with gcc 4
|
|
|
|
|
2005-02-08 12:46:28 +00:00
|
|
|
* Tue Feb 08 2005 Karsten Hopp <karsten@redhat.de> 1.4.11-2
|
|
|
|
- update
|
|
|
|
|
2004-10-29 15:18:45 +00:00
|
|
|
* Tue Oct 26 2004 Phil Knirsch <pknirsch@redhat.com>
|
|
|
|
- Initial version
|