Summary: IPMI abstraction layer
Summary(pl.UTF-8): Warstwa abstrakcji IPMI
Name: OpenIPMI
-Version: 2.0.14
-Release: 2
+Version: 2.0.19
+Release: 9
License: LGPL v2+ (library), GPL v2+ (ipmicmd)
Group: Libraries
-Source0: http://dl.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
-# Source0-md5: f766680bb237ca2f837c005efba54efa
+Source0: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
+# Source0-md5: e96e68b972d4b376f239d32cd3629328
Patch0: %{name}-link.patch
-Patch1: %{name}-python.patch
-Patch2: %{name}-lt.patch
-Patch3: %{name}-popt.patch
+Patch1: %{name}-popt.patch
+Patch2: %{name}-pthread.patch
+Patch3: avoid-echo-e.patch
URL: http://openipmi.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool >= 1:1.4.2-9
BuildRequires: ncurses-devel
BuildRequires: net-snmp-devel
+BuildRequires: openssl-devel
BuildRequires: perl-devel
BuildRequires: pkgconfig
BuildRequires: popt-devel
BuildRequires: swig-python >= 1.3.25
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+# refers to global ipmi_cmdlang_{global_err,report_event} symbols
+%define skip_post_check_so libOpenIPMIcmdlang\.so\..*
+
%description
OpenIPMI project aims to develop an open code base to allow access to
platform information using Intelligent Platform Management Interface
%description -n python-%{name}
Python interface to OpenIPMI.
-%description -n perl-%{name} -l pl.UTF-8
+%description -n python-%{name} -l pl.UTF-8
Pythonowy interfejs do OpenIPMI.
%package gui
--with-pythoninstalllib=%{py_sitedir} \
--without-glib12 \
%{!?with_gui:--without-tkinter}
-%{__make}
+%{__make} %{?with_gui:-j1}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install -j1 \
DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a} \
+%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a} \
$RPM_BUILD_ROOT%{py_sitescriptdir}/*.py \
- $RPM_BUILD_ROOT%{py_sitescriptdir}/openipmigui/*.py
+ %{?with_gui:$RPM_BUILD_ROOT%{py_sitescriptdir}/openipmigui/*.py}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc ChangeLog FAQ README* TODO
+%doc CONFIGURING_FOR_LAN ChangeLog FAQ README* TODO
%attr(755,root,root) %{_bindir}/ipmi_ui
%attr(755,root,root) %{_bindir}/ipmicmd
%attr(755,root,root) %{_bindir}/ipmilan