%bcond_without ceph_test_package
%bcond_without cephfs_java
%bcond_without lttng
+%bcond_without libradosstriper
%global _remote_tarball_prefix https://download.ceph.com/tarballs/
%endif
%if 0%{?suse_version}
%endif
%if 0%{?is_opensuse}
%bcond_without lttng
+%bcond_without libradosstriper
%else
+%bcond_with libradosstriper
%ifarch x86_64 aarch64
%bcond_without lttng
%else
Requires: python%{_python_buildid}-PrettyTable
Requires: python%{_python_buildid}-requests
%endif
+%if 0%{with libradosstriper}
+Requires: libradosstriper1 = %{_epoch_prefix}%{version}-%{release}
+%endif
%{?systemd_requires}
%if 0%{?suse_version}
Requires(pre): pwdutils
This package contains Python 3 libraries for interacting with Cephs RADOS
object store.
+%if 0%{with libradosstriper}
%package -n libradosstriper1
Summary: RADOS striping interface
%if 0%{?suse_version}
%description -n libradosstriper-devel
This package contains libraries and headers needed to develop programs
that use RADOS striping interface.
+%endif
%package -n librbd1
Summary: RADOS block device client library
-DWITH_BOOST_CONTEXT=ON \
%else
-DWITH_BOOST_CONTEXT=OFF \
+%endif
+%if 0%{with libradosstriper}
+ -DWITH_LIBRADOSSTRIPER=ON \
+%else
+ -DWITH_LIBRADOSSTRIPER=OFF \
%endif
-DBOOST_J=$CEPH_SMP_NCPUS
%{python3_sitearch}/rados.cpython*.so
%{python3_sitearch}/rados-*.egg-info
+%if 0%{with libradosstriper}
%files -n libradosstriper1
%{_libdir}/libradosstriper.so.*
%{_includedir}/radosstriper/libradosstriper.h
%{_includedir}/radosstriper/libradosstriper.hpp
%{_libdir}/libradosstriper.so
+%endif
%files -n librbd1
%{_libdir}/librbd.so.*