# TODO:
# - qpidd user/group
# - qpidd init script
+# - look at Fedora spec at: http://rrakus.fedorapeople.org/qpid-cpp.spec
#
# Conditional build:
%bcond_without cman # cman quorum service
Patch0: %{name}-boost.patch
Patch1: %{name}-link.patch
Patch2: %{name}-perl.patch
+# https://reviews.apache.org/r/5593/
+Patch3: %{name}-qmf-broker.patch
URL: http://qpid.apache.org/
BuildRequires: acl-devel
BuildRequires: autoconf >= 2.59
BuildRequires: swig-python >= 1.3.26
BuildRequires: swig-ruby >= 1.3.26
BuildRequires: xerces-c-devel
-#BuildRequires: libxqilla-devel ???
+BuildRequires: xqilla-devel
%if %{with rdma}
BuildRequires: libibverbs-devel
BuildRequires: librdmacm-devel
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p2
%build
%{__libtoolize}
%attr(755,root,root) %{_libdir}/qpid/daemon/replication_exchange.so
%attr(755,root,root) %{_libdir}/qpid/daemon/ssl.so
%attr(755,root,root) %{_libdir}/qpid/daemon/watchdog.so
+%attr(755,root,root) %{_libdir}/qpid/daemon/xml.so
%{_mandir}/man1/qpidd.1*
%attr(755,qpidd,qpidd) %dir /var/lib/qpidd