# 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
Summary: User space components of the Ceph file system
Summary(pl.UTF-8): Działające w przestrzeni użytkownika elementy systemu plików Ceph
Name: ceph
-Version: 0.94.2
+Version: 0.94.3
Release: 2
License: LGPL v2.1 (libraries), GPL v2 (some programs)
Group: Base
Source0: http://ceph.com/download/%{name}-%{version}.tar.bz2
-# Source0-md5: 249648d35e634adaaeec727408ca6092
+# Source0-md5: ccbaba6cad56cf71719661a0cdcc6ad6
Source1: ceph.sysconfig
# based on files from https://github.com/ceph/ceph/tree/master/systemd
Source10: cephctl
Patch1: %{name}.logrotate.patch
Patch2: %{name}-link.patch
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}
%patch1 -p1
%patch2 -p1
%patch3 -p1
-%patch4 -p1
%build
%{__libtoolize}
--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
%{_mandir}/man8/ceph-authtool.8*
%{_mandir}/man8/ceph-clsinfo.8*
%{_mandir}/man8/ceph-conf.8*
+%{_mandir}/man8/ceph-create-keys.8*
%{_mandir}/man8/ceph-debugpack.8*
%{_mandir}/man8/ceph-dencoder.8*
%{_mandir}/man8/ceph-deploy.8*