Summary: IPMI abstraction layer
Summary(pl.UTF-8): Warstwa abstrakcji IPMI
Name: OpenIPMI
-Version: 2.0.18
-Release: 3
+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: 8392539200fbda670503770292dfbb8f
+Source0: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
+# Source0-md5: e96e68b972d4b376f239d32cd3629328
Patch0: %{name}-link.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
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
%{__libtoolize}
%{__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