]> git.pld-linux.org Git - packages/OpenIPMI.git/blobdiff - OpenIPMI.spec
- release 10
[packages/OpenIPMI.git] / OpenIPMI.spec
index a214308e32d1753a31ec799e5a0720e09c3257bb..522fa16ad02ec002b6b53e618310a489e575adc3 100644 (file)
@@ -5,17 +5,16 @@
 Summary:       IPMI abstraction layer
 Summary(pl.UTF-8):     Warstwa abstrakcji IPMI
 Name:          OpenIPMI
-Version:       2.0.16
-Release:       4
+Version:       2.0.18
+Release:       10
 License:       LGPL v2+ (library), GPL v2+ (ipmicmd)
 Group:         Libraries
-Source0:       http://dl.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
-# Source0-md5: 0ab2b336b169ff41c258383b032c5681
+Source0:       http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
+# Source0-md5: 8392539200fbda670503770292dfbb8f
 Patch0:                %{name}-link.patch
-Patch1:                %{name}-python.patch
-Patch2:                %{name}-lt.patch
-Patch3:                %{name}-popt.patch
-Patch4:                %{name}-pthread.patch
+Patch1:                %{name}-popt.patch
+Patch2:                %{name}-pthread.patch
+Patch3:                avoid-echo-e.patch
 URL:           http://openipmi.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -25,6 +24,7 @@ BuildRequires:        glib2-devel >= 2.0
 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
@@ -36,6 +36,9 @@ BuildRequires:        swig-perl >= 1.3.25
 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
@@ -93,7 +96,7 @@ Requires:     %{name} = %{version}-%{release}
 %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
@@ -115,7 +118,6 @@ Graficzny interfejs użytkownika do OpenIPMI.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
 
 %build
 %{__libtoolize}
@@ -135,9 +137,9 @@ 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
This page took 0.102124 seconds and 4 git commands to generate.