Accepting request 498382 from filesystems:ceph:luminous
upstream 12.0.3 release OBS-URL: https://build.opensuse.org/request/show/498382 OBS-URL: https://build.opensuse.org/package/show/filesystems:ceph/ceph?expand=0&rev=85
This commit is contained in:
81
ceph.spec
81
ceph.spec
@@ -22,11 +22,12 @@
|
||||
%endif
|
||||
%bcond_with make_check
|
||||
%bcond_with xio
|
||||
%ifnarch s390 s390x
|
||||
%bcond_without tcmalloc
|
||||
%else
|
||||
# no gperftools/tcmalloc on s390(x)
|
||||
%ifarch s390 s390x
|
||||
%bcond_with tcmalloc
|
||||
%bcond_with rgw_beast
|
||||
%else
|
||||
%bcond_without tcmalloc
|
||||
%bcond_without rgw_beast
|
||||
%endif
|
||||
%bcond_without lowmem_builder
|
||||
%bcond_with minimal_debugging_information
|
||||
@@ -69,8 +70,8 @@
|
||||
# main package definition
|
||||
#################################################################################
|
||||
Name: ceph
|
||||
Version: 12.0.2+git.1493341348.9148e53
|
||||
Release: 0
|
||||
Version: 12.0.3+git.1495773033.07282a4057
|
||||
Release: 0%{?dist}
|
||||
Summary: User space components of the Ceph file system
|
||||
License: LGPL-2.1 and CC-BY-SA-1.0 and GPL-2.0 and BSL-1.0 and GPL-2.0-with-autoconf-exception and BSD-3-Clause and MIT
|
||||
%if 0%{?suse_version}
|
||||
@@ -110,7 +111,7 @@ BuildRequires: fuse-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gdbm
|
||||
%if 0%{with tcmalloc}
|
||||
BuildRequires: gperftools-devel
|
||||
BuildRequires: gperftools-devel >= 2.4
|
||||
%endif
|
||||
BuildRequires: jq
|
||||
BuildRequires: leveldb-devel > 1.2
|
||||
@@ -130,7 +131,6 @@ BuildRequires: python
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-nose
|
||||
BuildRequires: python-requests
|
||||
BuildRequires: python-sphinx
|
||||
BuildRequires: python-virtualenv
|
||||
BuildRequires: snappy-devel
|
||||
BuildRequires: udev
|
||||
@@ -140,7 +140,6 @@ BuildRequires: xfsprogs
|
||||
BuildRequires: xfsprogs-devel
|
||||
BuildRequires: xmlstarlet
|
||||
BuildRequires: yasm
|
||||
BuildRequires: libibverbs-devel
|
||||
|
||||
#################################################################################
|
||||
# distro-conditional dependencies
|
||||
@@ -159,7 +158,11 @@ BuildRequires: keyutils-devel
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: lsb-release
|
||||
BuildRequires: openldap2-devel
|
||||
BuildRequires: python-CherryPy
|
||||
BuildRequires: python-Cython
|
||||
BuildRequires: python-PrettyTable
|
||||
BuildRequires: python-Sphinx
|
||||
BuildRequires: rdma-core-devel
|
||||
%endif
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
Requires: systemd
|
||||
@@ -167,10 +170,14 @@ BuildRequires: boost-random
|
||||
BuildRequires: btrfs-progs
|
||||
BuildRequires: nss-devel
|
||||
BuildRequires: keyutils-libs-devel
|
||||
BuildRequires: libibverbs-devel
|
||||
BuildRequires: openldap-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: redhat-lsb-core
|
||||
BuildRequires: Cython
|
||||
BuildRequires: python-cherrypy
|
||||
BuildRequires: python-prettytable
|
||||
BuildRequires: python-sphinx
|
||||
%endif
|
||||
# python34-... for RHEL, python3-... for all other supported distros
|
||||
%if 0%{?rhel}
|
||||
@@ -257,13 +264,19 @@ Summary: Ceph Common
|
||||
%if 0%{?suse_version}
|
||||
Group: System/Filesystems
|
||||
%endif
|
||||
Requires: librbd1 = %{version}-%{release}
|
||||
Requires: librados2 = %{version}-%{release}
|
||||
Requires: libcephfs2 = %{version}-%{release}
|
||||
Requires: python-rados = %{version}-%{release}
|
||||
Requires: python-rbd = %{version}-%{release}
|
||||
Requires: python-cephfs = %{version}-%{release}
|
||||
Requires: python-rgw = %{version}-%{release}
|
||||
Requires: librbd1 = %{epoch}:%{version}-%{release}
|
||||
Requires: librados2 = %{epoch}:%{version}-%{release}
|
||||
Requires: libcephfs2 = %{epoch}:%{version}-%{release}
|
||||
Requires: python-rados = %{epoch}:%{version}-%{release}
|
||||
Requires: python-rbd = %{epoch}:%{version}-%{release}
|
||||
Requires: python-cephfs = %{epoch}:%{version}-%{release}
|
||||
Requires: python-rgw = %{epoch}:%{version}-%{release}
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
Requires: python-prettytable
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
Requires: python-PrettyTable
|
||||
%endif
|
||||
Requires: python-requests
|
||||
%{?systemd_requires}
|
||||
%if 0%{?suse_version}
|
||||
@@ -314,6 +327,12 @@ License: LGPL-2.1 and CC-BY-SA-1.0 and GPL-2.0 and BSL-1.0 and GPL-2.0-wi
|
||||
Group: System/Filesystems
|
||||
%endif
|
||||
Requires: ceph-base = %{version}-%{release}
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
Requires: python-cherrypy
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
Requires: python-CherryPy
|
||||
%endif
|
||||
|
||||
%description mgr
|
||||
ceph-mgr enables python modules that provide services (such as the REST
|
||||
@@ -551,6 +570,9 @@ Group: System/Libraries
|
||||
%endif
|
||||
License: LGPL-2.0
|
||||
Requires: librados2 = %{version}-%{release}
|
||||
%if 0%{?suse_version}
|
||||
Requires(post): coreutils
|
||||
%endif
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
Obsoletes: ceph-libs < %{version}-%{release}
|
||||
%endif
|
||||
@@ -727,6 +749,15 @@ This package contains the Java libraries for the Ceph File System.
|
||||
|
||||
%endif
|
||||
|
||||
%package -n rados-objclass-devel
|
||||
Summary: RADOS object class development kit
|
||||
Group: Development/Libraries
|
||||
License: LGPL-2.0
|
||||
Requires: librados2-devel = %{version}-%{release}
|
||||
%description -n rados-objclass-devel
|
||||
This package contains libraries and headers needed to develop RADOS object
|
||||
class plugins.
|
||||
|
||||
%if 0%{with selinux}
|
||||
|
||||
%package selinux
|
||||
@@ -846,6 +877,11 @@ cmake .. \
|
||||
$CEPH_EXTRA_CMAKE_ARGS \
|
||||
%if 0%{with ocf}
|
||||
-DWITH_OCF=ON \
|
||||
%endif
|
||||
%if 0%{with rgw_beast}
|
||||
-DWITH_RADOSGW_BEAST_FRONTEND=ON \
|
||||
%else
|
||||
-DWITH_RADOSGW_BEAST_FRONTEND=OFF \
|
||||
%endif
|
||||
-DBOOST_J=%{_smp_ncpus}
|
||||
|
||||
@@ -936,6 +972,7 @@ mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/radosgw
|
||||
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-osd
|
||||
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-mds
|
||||
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rgw
|
||||
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-mgr
|
||||
|
||||
%if 0%{?suse_version}
|
||||
# create __pycache__ directories and their contents
|
||||
@@ -1010,6 +1047,7 @@ rm -rf %{buildroot}
|
||||
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-osd
|
||||
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-mds
|
||||
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-rgw
|
||||
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-mgr
|
||||
|
||||
%post base
|
||||
/sbin/ldconfig
|
||||
@@ -1053,6 +1091,7 @@ DISABLE_RESTART_ON_UPDATE="yes"
|
||||
%{_bindir}/ceph-syn
|
||||
%{_bindir}/ceph-crush-location
|
||||
%{_bindir}/rados
|
||||
%{_bindir}/radosgw-admin
|
||||
%{_bindir}/rbd
|
||||
%{_bindir}/rbd-replay
|
||||
%{_bindir}/rbd-replay-many
|
||||
@@ -1076,6 +1115,7 @@ DISABLE_RESTART_ON_UPDATE="yes"
|
||||
%{_mandir}/man8/ceph.8*
|
||||
%{_mandir}/man8/mount.ceph.8*
|
||||
%{_mandir}/man8/rados.8*
|
||||
%{_mandir}/man8/radosgw-admin.8*
|
||||
%{_mandir}/man8/rbd.8*
|
||||
%{_mandir}/man8/rbdmap.8*
|
||||
%{_mandir}/man8/rbd-replay.8*
|
||||
@@ -1088,6 +1128,7 @@ DISABLE_RESTART_ON_UPDATE="yes"
|
||||
%dir %{_sysconfdir}/ceph/
|
||||
%config %{_sysconfdir}/bash_completion.d/rados
|
||||
%config %{_sysconfdir}/bash_completion.d/rbd
|
||||
%config %{_sysconfdir}/bash_completion.d/radosgw-admin
|
||||
%config(noreplace) %{_sysconfdir}/ceph/rbdmap
|
||||
%{_unitdir}/rbdmap.service
|
||||
%{python_sitelib}/ceph_argparse.py*
|
||||
@@ -1353,12 +1394,9 @@ fi
|
||||
%files radosgw
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/radosgw
|
||||
%{_bindir}/radosgw-admin
|
||||
%{_bindir}/radosgw-token
|
||||
%{_bindir}/radosgw-object-expirer
|
||||
%{_mandir}/man8/radosgw.8*
|
||||
%{_mandir}/man8/radosgw-admin.8*
|
||||
%config %{_sysconfdir}/bash_completion.d/radosgw-admin
|
||||
%dir %{_localstatedir}/lib/ceph/radosgw
|
||||
%{_unitdir}/ceph-radosgw@.service
|
||||
%{_unitdir}/ceph-radosgw.target
|
||||
@@ -1690,6 +1728,11 @@ ln -sf %{_libdir}/librbd.so.1 /usr/lib64/qemu/librbd.so.1
|
||||
%{_javadir}/libcephfs-test.jar
|
||||
%endif
|
||||
|
||||
%files -n rados-objclass-devel
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_includedir}/rados
|
||||
%{_includedir}/rados/objclass.h
|
||||
|
||||
%if 0%{with selinux}
|
||||
%files selinux
|
||||
%defattr(-,root,root,-)
|
||||
|
Reference in New Issue
Block a user