# TODO:
-# - accelio libxio (BR: accelio libibverbs-devel librdmacm-devel
# - proper init scripts if non-systemd boot is too be supported
# (upstream scripts seem overcomplicated and hardly useful)
# - run as non-root user
#
# Conditional build:
%bcond_without java # Java binding
+%bcond_with accelio # Accelio transport support
%bcond_with kinetic # Kinetic storage support [needs update for internal API changes]
%bcond_with rocksdb # RocksDB storage support [needs update for internal API changes]
%bcond_with zfs # ZFS support
Patch3: %{name}-ac.patch
Patch4: %{name}-boost.patch
URL: http://ceph.com/
+%{?with_accelio:BuildRequires: accelio-devel}
BuildRequires: autoconf >= 2.59
BuildRequires: automake
%{?with_babeltrace:BuildRequires: babeltrace-devel}
BuildRequires: libblkid-devel >= 2.17
BuildRequires: libedit-devel >= 2.11
BuildRequires: libfuse-devel
+%{?with_accelio:BuildRequires: libibverbs-devel}
BuildRequires: libltdl-devel
+%{?with_accelio:BuildRequires: librdmacm-devel}
BuildRequires: libs3-devel
BuildRequires: libstdc++-devel
%{?with_tcmalloc:BuildRequires: libtcmalloc-devel}
--with-system-leveldb \
--with-system-libs3 \
%{?with_java:--enable-cephfs-java --with-jdk-dir=%{_jvmdir}/java} \
- --disable-silent-rules
+ --disable-silent-rules \
+ %{?with_accelio:--enable-xio}
%{__make} -j1