clean-local:
rm -f *~ core core.*
+--- openhpi-3.6.1/ssl/Makefile.am.orig 2015-09-15 00:48:33.000000000 +0200
++++ openhpi-3.6.1/ssl/Makefile.am 2015-12-15 21:26:02.249408789 +0100
+@@ -19,5 +19,5 @@
+ libopenhpi_ssl_la_SOURCES = oh_ssl.c oh_ssl.h
+
+ libopenhpi_ssl_la_LDFLAGS = -version-info @HPI_LIB_VERSION@
+-libopenhpi_ssl_la_LIBADD = @CRYPTO_LIB@
++libopenhpi_ssl_la_LIBADD = $(top_builddir)/utils/libopenhpiutils.la @CRYPTO_LIB@
+
Summary: Service Availability Forum's Hardware Platform Interface (HPI) implementation
Summary(pl.UTF-8): Implementacja HPI (Hardware Platform Interface) Service Availability Forum
Name: openhpi
-Version: 3.2.1
-Release: 2
+Version: 3.6.1
+Release: 1
License: BSD
Group: Applications/System
Source0: http://downloads.sourceforge.net/openhpi/%{name}-%{version}.tar.gz
-# Source0-md5: 115bd1c8f3443c6fa3bf893d73f37dca
+# Source0-md5: 4718b16e0f749b5ad214a9b04f45dd23
Patch0: %{name}-types.patch
Patch1: %{name}-sh.patch
Patch2: %{name}-proto.patch
BuildRequires: docbook-utils
BuildRequires: gcc >= 5:3.2.0
BuildRequires: glib2-devel >= 1:2.12
+BuildRequires: libgcrypt-devel
BuildRequires: libltdl-devel
%ifarch ppc ppc64
BuildRequires: librtas-devel
# remove useless static plugins (but *.la are used by lt_dlopen)
%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/*.a
-# prepare for %doc
-%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+# packaged as %doc
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT