]> git.pld-linux.org Git - packages/OpenIPMI.git/blobdiff - OpenIPMI.spec
- x32 rebuild
[packages/OpenIPMI.git] / OpenIPMI.spec
index 01d090997bb4bb946cb306e1fac5067ced719675..5b87fa8d3cb3bea0fd97fd4cc921eb811cb11560 100644 (file)
@@ -5,16 +5,16 @@
 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
@@ -24,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
@@ -35,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
@@ -92,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
@@ -125,7 +129,7 @@ CPPFLAGS="-I/usr/include/ncurses"
        --with-pythoninstalllib=%{py_sitedir} \
        --without-glib12 \
        %{!?with_gui:--without-tkinter}
-%{__make}
+%{__make} %{?with_gui:-j1}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -133,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
@@ -145,7 +149,7 @@ 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
This page took 0.033408 seconds and 4 git commands to generate.