Align disk constraint with actual disk usage
OBS-URL: https://build.opensuse.org/package/show/filesystems:ceph/ceph?expand=0&rev=39
This commit is contained in:
parent
763aabf325
commit
e98ca5c728
@ -2,7 +2,7 @@
|
|||||||
<constraints>
|
<constraints>
|
||||||
<hardware>
|
<hardware>
|
||||||
<disk>
|
<disk>
|
||||||
<size unit="G">20</size>
|
<size unit="G">40</size>
|
||||||
</disk>
|
</disk>
|
||||||
<memory>
|
<memory>
|
||||||
<size unit="G">12</size>
|
<size unit="G">12</size>
|
||||||
|
531
ceph.spec
531
ceph.spec
@ -1,18 +1,24 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ceph
|
# spec file for package ceph
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
# Copyright (C) 2004-2016 The Ceph Project Developers. See COPYING file
|
# Copyright (C) 2004-2016 The Ceph Project Developers. See COPYING file
|
||||||
# at the top-level directory of this distribution and at
|
# at the top-level directory of this distribution and at
|
||||||
# https://github.com/ceph/ceph/blob/master/COPYING
|
# https://github.com/ceph/ceph/blob/master/COPYING
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
# upon.
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
# This file is under the GNU Lesser General Public License, version 2.1
|
|
||||||
#
|
|
||||||
# Please submit bugfixes or comments via http://tracker.ceph.com/
|
|
||||||
#
|
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
%bcond_with xio
|
%bcond_with xio
|
||||||
%bcond_without tcmalloc
|
%bcond_without tcmalloc
|
||||||
@ -48,126 +54,125 @@
|
|||||||
# unify libexec for all targets
|
# unify libexec for all targets
|
||||||
%global _libexecdir %{_exec_prefix}/lib
|
%global _libexecdir %{_exec_prefix}/lib
|
||||||
|
|
||||||
|
|
||||||
#################################################################################
|
#################################################################################
|
||||||
# common
|
# common
|
||||||
#################################################################################
|
#################################################################################
|
||||||
Name: ceph
|
Name: ceph
|
||||||
Version: 10.2.2+git.1466113786.b5a7c56
|
Version: 10.2.2+git.1466113786.b5a7c56
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: User space components of the Ceph file system
|
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
|
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
|
||||||
|
Group: System/Filesystems
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
Group: System/Filesystems
|
|
||||||
%endif
|
%endif
|
||||||
URL: http://ceph.com/
|
Url: http://ceph.com/
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Source99: ceph-rpmlintrc
|
Source99: ceph-rpmlintrc
|
||||||
ExcludeArch: i586
|
ExcludeArch: i586
|
||||||
#################################################################################
|
#################################################################################
|
||||||
# dependencies that apply across all distro families
|
# dependencies that apply across all distro families
|
||||||
#################################################################################
|
#################################################################################
|
||||||
Requires: ceph-osd = %{version}-%{release}
|
|
||||||
Requires: ceph-mds = %{version}-%{release}
|
Requires: ceph-mds = %{version}-%{release}
|
||||||
Requires: ceph-mon = %{version}-%{release}
|
Requires: ceph-mon = %{version}-%{release}
|
||||||
|
Requires: ceph-osd = %{version}-%{release}
|
||||||
Requires(post): binutils
|
Requires(post): binutils
|
||||||
%if 0%{with cephfs_java}
|
%if 0%{with cephfs_java}
|
||||||
BuildRequires: java-devel
|
BuildRequires: java-devel
|
||||||
BuildRequires: sharutils
|
BuildRequires: sharutils
|
||||||
%endif
|
%endif
|
||||||
%if 0%{with selinux}
|
%if 0%{with selinux}
|
||||||
BuildRequires: checkpolicy
|
BuildRequires: /usr/share/selinux/devel/policyhelp
|
||||||
BuildRequires: selinux-policy-devel
|
BuildRequires: checkpolicy
|
||||||
BuildRequires: /usr/share/selinux/devel/policyhelp
|
BuildRequires: selinux-policy-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: cryptsetup
|
BuildRequires: cryptsetup
|
||||||
BuildRequires: fuse-devel
|
BuildRequires: fuse-devel
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gdbm
|
BuildRequires: gdbm
|
||||||
BuildRequires: hdparm
|
BuildRequires: hdparm
|
||||||
BuildRequires: leveldb-devel > 1.2
|
BuildRequires: leveldb-devel > 1.2
|
||||||
BuildRequires: libaio-devel
|
BuildRequires: libaio-devel
|
||||||
BuildRequires: libblkid-devel >= 2.17
|
BuildRequires: libblkid-devel >= 2.17
|
||||||
BuildRequires: libcurl-devel
|
BuildRequires: libcurl-devel
|
||||||
BuildRequires: libudev-devel
|
BuildRequires: libtool
|
||||||
BuildRequires: libtool
|
BuildRequires: libudev-devel
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: parted
|
BuildRequires: parted
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: procps
|
BuildRequires: procps
|
||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-nose
|
BuildRequires: python-nose
|
||||||
BuildRequires: python-requests
|
BuildRequires: python-requests
|
||||||
BuildRequires: python-sphinx
|
BuildRequires: python-sphinx
|
||||||
BuildRequires: python-virtualenv
|
BuildRequires: python-virtualenv
|
||||||
BuildRequires: snappy-devel
|
BuildRequires: snappy-devel
|
||||||
BuildRequires: util-linux
|
BuildRequires: util-linux
|
||||||
BuildRequires: valgrind-devel
|
BuildRequires: valgrind-devel
|
||||||
BuildRequires: xfsprogs
|
BuildRequires: xfsprogs
|
||||||
BuildRequires: xfsprogs-devel
|
BuildRequires: xfsprogs-devel
|
||||||
BuildRequires: xmlstarlet
|
BuildRequires: xmlstarlet
|
||||||
BuildRequires: yasm
|
BuildRequires: yasm
|
||||||
|
|
||||||
#################################################################################
|
#################################################################################
|
||||||
# distro-conditional dependencies
|
# distro-conditional dependencies
|
||||||
#################################################################################
|
#################################################################################
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
|
BuildRequires: systemd
|
||||||
|
BuildRequires: systemd-rpm-macros
|
||||||
BuildRequires: pkgconfig(systemd)
|
BuildRequires: pkgconfig(systemd)
|
||||||
BuildRequires: systemd-rpm-macros
|
|
||||||
BuildRequires: systemd
|
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
PreReq: %fillup_prereq
|
PreReq: %fillup_prereq
|
||||||
BuildRequires: net-tools
|
BuildRequires: libbz2-devel
|
||||||
BuildRequires: libbz2-devel
|
BuildRequires: net-tools
|
||||||
%if 0%{with tcmalloc}
|
%if 0%{with tcmalloc}
|
||||||
BuildRequires: gperftools-devel
|
BuildRequires: gperftools-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: btrfsprogs
|
BuildRequires: btrfsprogs
|
||||||
BuildRequires: mozilla-nss-devel
|
BuildRequires: keyutils-devel
|
||||||
BuildRequires: keyutils-devel
|
BuildRequires: libatomic-ops-devel
|
||||||
BuildRequires: libatomic-ops-devel
|
|
||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
BuildRequires: lsb-release
|
BuildRequires: lsb-release
|
||||||
|
BuildRequires: mozilla-nss-devel
|
||||||
BuildRequires: openldap2-devel
|
BuildRequires: openldap2-devel
|
||||||
BuildRequires: python-Cython
|
BuildRequires: python-Cython
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?fedora} || 0%{?rhel}
|
%if 0%{?fedora} || 0%{?rhel}
|
||||||
Requires: systemd
|
Requires: systemd
|
||||||
|
BuildRequires: Cython
|
||||||
BuildRequires: boost-random
|
BuildRequires: boost-random
|
||||||
BuildRequires: btrfs-progs
|
BuildRequires: btrfs-progs
|
||||||
BuildRequires: nss-devel
|
BuildRequires: gperftools-devel
|
||||||
BuildRequires: keyutils-libs-devel
|
BuildRequires: keyutils-libs-devel
|
||||||
BuildRequires: libatomic_ops-devel
|
BuildRequires: libatomic_ops-devel
|
||||||
BuildRequires: gperftools-devel
|
BuildRequires: nss-devel
|
||||||
BuildRequires: openldap-devel
|
BuildRequires: openldap-devel
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: redhat-lsb-core
|
BuildRequires: redhat-lsb-core
|
||||||
BuildRequires: Cython
|
|
||||||
%endif
|
%endif
|
||||||
# lttng and babeltrace for rbd-replay-prep
|
# lttng and babeltrace for rbd-replay-prep
|
||||||
%if %{with lttng}
|
%if %{with lttng}
|
||||||
%if 0%{?fedora} || 0%{?rhel}
|
%if 0%{?fedora} || 0%{?rhel}
|
||||||
BuildRequires: lttng-ust-devel
|
BuildRequires: libbabeltrace-devel
|
||||||
BuildRequires: libbabeltrace-devel
|
BuildRequires: lttng-ust-devel
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
BuildRequires: lttng-ust-devel
|
|
||||||
BuildRequires: babeltrace-devel
|
BuildRequires: babeltrace-devel
|
||||||
|
BuildRequires: lttng-ust-devel
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
# expat and fastcgi for RGW
|
# expat and fastcgi for RGW
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
BuildRequires: libexpat-devel
|
BuildRequires: FastCGI-devel
|
||||||
BuildRequires: FastCGI-devel
|
BuildRequires: libexpat-devel
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?rhel} || 0%{?fedora}
|
%if 0%{?rhel} || 0%{?fedora}
|
||||||
BuildRequires: expat-devel
|
BuildRequires: expat-devel
|
||||||
BuildRequires: fcgi-devel
|
BuildRequires: fcgi-devel
|
||||||
%endif
|
%endif
|
||||||
#hardened-cc1
|
#hardened-cc1
|
||||||
%if 0%{?fedora} || 0%{?rhel}
|
%if 0%{?fedora} || 0%{?rhel}
|
||||||
@ -187,51 +192,53 @@ on commodity hardware and delivers object, block and file system storage.
|
|||||||
# packages
|
# packages
|
||||||
#################################################################################
|
#################################################################################
|
||||||
%package base
|
%package base
|
||||||
Summary: Ceph Base Package
|
Summary: Ceph Base Package
|
||||||
Group: System Environment/Base
|
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
|
||||||
Requires: ceph-common = %{version}-%{release}
|
Group: System Environment/Base
|
||||||
Requires: librbd1 = %{version}-%{release}
|
Requires: ceph-common = %{version}-%{release}
|
||||||
Requires: librados2 = %{version}-%{release}
|
Requires: libcephfs1 = %{version}-%{release}
|
||||||
Requires: libcephfs1 = %{version}-%{release}
|
Requires: librados2 = %{version}-%{release}
|
||||||
Requires: librgw2 = %{version}-%{release}
|
Requires: librbd1 = %{version}-%{release}
|
||||||
|
Requires: librgw2 = %{version}-%{release}
|
||||||
%if 0%{with selinux}
|
%if 0%{with selinux}
|
||||||
Requires: ceph-selinux = %{version}-%{release}
|
Requires: ceph-selinux = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
Requires: python
|
Requires: cryptsetup
|
||||||
Requires: python-requests
|
Requires: findutils
|
||||||
Requires: python-setuptools
|
Requires: grep
|
||||||
Requires: grep
|
Requires: hdparm
|
||||||
Requires: xfsprogs
|
Requires: logrotate
|
||||||
Requires: logrotate
|
Requires: parted
|
||||||
Requires: parted
|
Requires: python
|
||||||
Requires: util-linux
|
Requires: python-requests
|
||||||
Requires: hdparm
|
Requires: python-setuptools
|
||||||
Requires: cryptsetup
|
Requires: util-linux
|
||||||
Requires: findutils
|
Requires: which
|
||||||
Requires: which
|
Requires: xfsprogs
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
Requires: lsb-release
|
Requires: lsb-release
|
||||||
Recommends: ntp-daemon
|
Recommends: ntp-daemon
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?fedora} || 0%{?rhel}
|
%if 0%{?fedora} || 0%{?rhel}
|
||||||
Requires: redhat-lsb-core
|
Requires: redhat-lsb-core
|
||||||
%endif
|
%endif
|
||||||
%if 0%{with xio}
|
%if 0%{with xio}
|
||||||
Requires: libxio
|
Requires: libxio
|
||||||
%endif
|
%endif
|
||||||
%description base
|
%description base
|
||||||
Base is the package that includes all the files shared amongst ceph servers
|
Base is the package that includes all the files shared amongst ceph servers
|
||||||
|
|
||||||
%package -n ceph-common
|
%package -n ceph-common
|
||||||
Summary: Ceph Common
|
Summary: Ceph Common
|
||||||
Group: System Environment/Base
|
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
|
||||||
Requires: librbd1 = %{version}-%{release}
|
Group: System Environment/Base
|
||||||
Requires: librados2 = %{version}-%{release}
|
Requires: libcephfs1 = %{version}-%{release}
|
||||||
Requires: libcephfs1 = %{version}-%{release}
|
Requires: librados2 = %{version}-%{release}
|
||||||
Requires: python-rados = %{version}-%{release}
|
Requires: librbd1 = %{version}-%{release}
|
||||||
Requires: python-rbd = %{version}-%{release}
|
Requires: python-cephfs = %{version}-%{release}
|
||||||
Requires: python-cephfs = %{version}-%{release}
|
Requires: python-rados = %{version}-%{release}
|
||||||
Requires: python-requests
|
Requires: python-rbd = %{version}-%{release}
|
||||||
|
Requires: python-requests
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
PreReq: permissions
|
PreReq: permissions
|
||||||
@ -245,24 +252,27 @@ Common utilities to mount and interact with a ceph storage cluster.
|
|||||||
Comprised of files that are common to Ceph clients and servers.
|
Comprised of files that are common to Ceph clients and servers.
|
||||||
|
|
||||||
%package mds
|
%package mds
|
||||||
Summary: Ceph Metadata Server Daemon
|
Summary: Ceph Metadata Server Daemon
|
||||||
Group: System Environment/Base
|
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
|
||||||
Requires: ceph-base = %{version}-%{release}
|
Group: System Environment/Base
|
||||||
|
Requires: ceph-base = %{version}-%{release}
|
||||||
|
|
||||||
%description mds
|
%description mds
|
||||||
ceph-mds is the metadata server daemon for the Ceph distributed file system.
|
ceph-mds is the metadata server daemon for the Ceph distributed file system.
|
||||||
One or more instances of ceph-mds collectively manage the file system
|
One or more instances of ceph-mds collectively manage the file system
|
||||||
namespace, coordinating access to the shared OSD cluster.
|
namespace, coordinating access to the shared OSD cluster.
|
||||||
|
|
||||||
%package mon
|
%package mon
|
||||||
Summary: Ceph Monitor Daemon
|
Summary: Ceph Monitor Daemon
|
||||||
Group: System Environment/Base
|
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
|
||||||
Requires: ceph-base = %{version}-%{release}
|
Group: System Environment/Base
|
||||||
|
Requires: ceph-base = %{version}-%{release}
|
||||||
# For ceph-rest-api
|
# For ceph-rest-api
|
||||||
%if 0%{?fedora} || 0%{?rhel}
|
%if 0%{?fedora} || 0%{?rhel}
|
||||||
Requires: python-flask
|
Requires: python-flask
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
Requires: python-Flask
|
Requires: python-Flask
|
||||||
%endif
|
%endif
|
||||||
%description mon
|
%description mon
|
||||||
ceph-mon is the cluster monitor daemon for the Ceph distributed file
|
ceph-mon is the cluster monitor daemon for the Ceph distributed file
|
||||||
@ -271,53 +281,62 @@ parliament cluster that provides extremely reliable and durable storage
|
|||||||
of cluster membership, configuration, and state.
|
of cluster membership, configuration, and state.
|
||||||
|
|
||||||
%package fuse
|
%package fuse
|
||||||
Summary: Ceph fuse-based client
|
Summary: Ceph fuse-based client
|
||||||
Group: System Environment/Base
|
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
|
||||||
|
Group: System Environment/Base
|
||||||
|
|
||||||
%description fuse
|
%description fuse
|
||||||
FUSE based client for Ceph distributed network file system
|
FUSE based client for Ceph distributed network file system
|
||||||
|
|
||||||
%package -n rbd-fuse
|
%package -n rbd-fuse
|
||||||
Summary: Ceph fuse-based client
|
Summary: Ceph fuse-based client
|
||||||
Group: System Environment/Base
|
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
|
||||||
Requires: librados2 = %{version}-%{release}
|
Group: System Environment/Base
|
||||||
Requires: librbd1 = %{version}-%{release}
|
Requires: librados2 = %{version}-%{release}
|
||||||
|
Requires: librbd1 = %{version}-%{release}
|
||||||
|
|
||||||
%description -n rbd-fuse
|
%description -n rbd-fuse
|
||||||
FUSE based client to map Ceph rbd images to files
|
FUSE based client to map Ceph rbd images to files
|
||||||
|
|
||||||
%package -n rbd-mirror
|
%package -n rbd-mirror
|
||||||
Summary: Ceph daemon for mirroring RBD images
|
Summary: Ceph daemon for mirroring RBD images
|
||||||
Group: System Environment/Base
|
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
|
||||||
Requires: ceph-common = %{version}-%{release}
|
Group: System Environment/Base
|
||||||
Requires: librados2 = %{version}-%{release}
|
Requires: ceph-common = %{version}-%{release}
|
||||||
|
Requires: librados2 = %{version}-%{release}
|
||||||
|
|
||||||
%description -n rbd-mirror
|
%description -n rbd-mirror
|
||||||
Daemon for mirroring RBD images between Ceph clusters, streaming
|
Daemon for mirroring RBD images between Ceph clusters, streaming
|
||||||
changes asynchronously.
|
changes asynchronously.
|
||||||
|
|
||||||
%package -n rbd-nbd
|
%package -n rbd-nbd
|
||||||
Summary: Ceph RBD client base on NBD
|
Summary: Ceph RBD client base on NBD
|
||||||
Group: System Environment/Base
|
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
|
||||||
Requires: librados2 = %{version}-%{release}
|
Group: System Environment/Base
|
||||||
Requires: librbd1 = %{version}-%{release}
|
Requires: librados2 = %{version}-%{release}
|
||||||
|
Requires: librbd1 = %{version}-%{release}
|
||||||
|
|
||||||
%description -n rbd-nbd
|
%description -n rbd-nbd
|
||||||
NBD based client to map Ceph rbd images to local device
|
NBD based client to map Ceph rbd images to local device
|
||||||
|
|
||||||
%package radosgw
|
%package radosgw
|
||||||
Summary: Rados REST gateway
|
Summary: Rados REST gateway
|
||||||
Group: Development/Libraries
|
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
|
||||||
Requires: ceph-common = %{version}-%{release}
|
Group: Development/Libraries
|
||||||
|
Requires: ceph-common = %{version}-%{release}
|
||||||
%if 0%{with selinux}
|
%if 0%{with selinux}
|
||||||
Requires: ceph-selinux = %{version}-%{release}
|
Requires: ceph-selinux = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
Requires: librados2 = %{version}-%{release}
|
Requires: librados2 = %{version}-%{release}
|
||||||
Requires: librgw2 = %{version}-%{release}
|
Requires: librgw2 = %{version}-%{release}
|
||||||
%if 0%{?rhel} || 0%{?fedora}
|
%if 0%{?rhel} || 0%{?fedora}
|
||||||
Requires: mailcap
|
Requires: mailcap
|
||||||
# python-flask for powerdns
|
# python-flask for powerdns
|
||||||
Requires: python-flask
|
Requires: python-flask
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
# python-Flask for powerdns
|
# python-Flask for powerdns
|
||||||
Requires: python-Flask
|
Requires: python-Flask
|
||||||
%endif
|
%endif
|
||||||
%description radosgw
|
%description radosgw
|
||||||
RADOS is a distributed object store used by the Ceph distributed
|
RADOS is a distributed object store used by the Ceph distributed
|
||||||
@ -327,11 +346,12 @@ service as well as the OpenStack Object Storage ("Swift") API.
|
|||||||
|
|
||||||
%if %{with ocf}
|
%if %{with ocf}
|
||||||
%package resource-agents
|
%package resource-agents
|
||||||
Summary: OCF-compliant resource agents for Ceph daemons
|
Summary: OCF-compliant resource agents for Ceph daemons
|
||||||
Group: System Environment/Base
|
License: LGPL-2.0
|
||||||
License: LGPL-2.0
|
Group: System Environment/Base
|
||||||
Requires: ceph-base = %{version}
|
Requires: ceph-base = %{version}
|
||||||
Requires: resource-agents
|
Requires: resource-agents
|
||||||
|
|
||||||
%description resource-agents
|
%description resource-agents
|
||||||
Resource agents for monitoring and managing Ceph daemons
|
Resource agents for monitoring and managing Ceph daemons
|
||||||
under Open Cluster Framework (OCF) compliant resource
|
under Open Cluster Framework (OCF) compliant resource
|
||||||
@ -339,15 +359,16 @@ managers such as Pacemaker.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%package osd
|
%package osd
|
||||||
Summary: Ceph Object Storage Daemon
|
Summary: Ceph Object Storage Daemon
|
||||||
Group: System Environment/Base
|
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
|
||||||
Requires: ceph-base = %{version}-%{release}
|
Group: System Environment/Base
|
||||||
|
Requires: ceph-base = %{version}-%{release}
|
||||||
# for sgdisk, used by ceph-disk
|
# for sgdisk, used by ceph-disk
|
||||||
%if 0%{?fedora} || 0%{?rhel}
|
%if 0%{?fedora} || 0%{?rhel}
|
||||||
Requires: gdisk
|
Requires: gdisk
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
Requires: gptfdisk
|
Requires: gptfdisk
|
||||||
%endif
|
%endif
|
||||||
%description osd
|
%description osd
|
||||||
ceph-osd is the object storage daemon for the Ceph distributed file
|
ceph-osd is the object storage daemon for the Ceph distributed file
|
||||||
@ -355,11 +376,11 @@ system. It is responsible for storing objects on a local file system
|
|||||||
and providing access to them over the network.
|
and providing access to them over the network.
|
||||||
|
|
||||||
%package -n librados2
|
%package -n librados2
|
||||||
Summary: RADOS distributed object store client library
|
Summary: RADOS distributed object store client library
|
||||||
Group: System Environment/Libraries
|
License: LGPL-2.0
|
||||||
License: LGPL-2.0
|
Group: System Environment/Libraries
|
||||||
%if 0%{?rhel} || 0%{?fedora}
|
%if 0%{?rhel} || 0%{?fedora}
|
||||||
Obsoletes: ceph-libs < %{version}-%{release}
|
Obsoletes: ceph-libs < %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
%description -n librados2
|
%description -n librados2
|
||||||
RADOS is a reliable, autonomic distributed object storage cluster
|
RADOS is a reliable, autonomic distributed object storage cluster
|
||||||
@ -368,75 +389,81 @@ shared library allowing applications to access the distributed object
|
|||||||
store using a simple file-like interface.
|
store using a simple file-like interface.
|
||||||
|
|
||||||
%package -n librados-devel
|
%package -n librados-devel
|
||||||
Summary: RADOS headers
|
Summary: RADOS headers
|
||||||
Group: Development/Libraries
|
License: LGPL-2.0
|
||||||
License: LGPL-2.0
|
Group: Development/Libraries
|
||||||
Requires: librados2 = %{version}-%{release}
|
Requires: librados2 = %{version}-%{release}
|
||||||
Obsoletes: ceph-devel < %{version}-%{release}
|
Obsoletes: ceph-devel < %{version}-%{release}
|
||||||
Obsoletes: librados2-devel
|
Obsoletes: librados2-devel
|
||||||
|
|
||||||
%description -n librados-devel
|
%description -n librados-devel
|
||||||
This package contains libraries and headers needed to develop programs
|
This package contains libraries and headers needed to develop programs
|
||||||
that use RADOS object store.
|
that use RADOS object store.
|
||||||
|
|
||||||
%package -n librgw2
|
%package -n librgw2
|
||||||
Summary: RADOS gateway client library
|
Summary: RADOS gateway client library
|
||||||
Group: System Environment/Libraries
|
License: LGPL-2.0
|
||||||
License: LGPL-2.0
|
Group: System Environment/Libraries
|
||||||
Requires: librados2 = %{version}-%{release}
|
Requires: librados2 = %{version}-%{release}
|
||||||
|
|
||||||
%description -n librgw2
|
%description -n librgw2
|
||||||
This package provides a library implementation of the RADOS gateway
|
This package provides a library implementation of the RADOS gateway
|
||||||
(distributed object store with S3 and Swift personalities).
|
(distributed object store with S3 and Swift personalities).
|
||||||
|
|
||||||
%package -n librgw-devel
|
%package -n librgw-devel
|
||||||
Summary: RADOS gateway client library
|
Summary: RADOS gateway client library
|
||||||
Group: Development/Libraries
|
License: LGPL-2.0
|
||||||
License: LGPL-2.0
|
Group: Development/Libraries
|
||||||
Requires: librados-devel = %{version}-%{release}
|
Requires: librados-devel = %{version}-%{release}
|
||||||
Requires: librgw2 = %{version}-%{release}
|
Requires: librgw2 = %{version}-%{release}
|
||||||
Obsoletes: librgw2-devel
|
Obsoletes: librgw2-devel
|
||||||
|
|
||||||
%description -n librgw-devel
|
%description -n librgw-devel
|
||||||
This package contains libraries and headers needed to develop programs
|
This package contains libraries and headers needed to develop programs
|
||||||
that use RADOS gateway client library.
|
that use RADOS gateway client library.
|
||||||
|
|
||||||
%package -n python-rados
|
%package -n python-rados
|
||||||
Summary: Python libraries for the RADOS object store
|
Summary: Python libraries for the RADOS object store
|
||||||
Group: System Environment/Libraries
|
License: LGPL-2.0
|
||||||
License: LGPL-2.0
|
Group: System Environment/Libraries
|
||||||
Requires: librados2 = %{version}-%{release}
|
Requires: librados2 = %{version}-%{release}
|
||||||
Obsoletes: python-ceph < %{version}-%{release}
|
Obsoletes: python-ceph < %{version}-%{release}
|
||||||
|
|
||||||
%description -n python-rados
|
%description -n python-rados
|
||||||
This package contains Python libraries for interacting with Cephs RADOS
|
This package contains Python libraries for interacting with Cephs RADOS
|
||||||
object store.
|
object store.
|
||||||
|
|
||||||
%package -n libradosstriper1
|
%package -n libradosstriper1
|
||||||
Summary: RADOS striping interface
|
Summary: RADOS striping interface
|
||||||
Group: System Environment/Libraries
|
License: LGPL-2.0
|
||||||
License: LGPL-2.0
|
Group: System Environment/Libraries
|
||||||
Requires: librados2 = %{version}-%{release}
|
Requires: librados2 = %{version}-%{release}
|
||||||
|
|
||||||
%description -n libradosstriper1
|
%description -n libradosstriper1
|
||||||
Striping interface built on top of the rados library, allowing
|
Striping interface built on top of the rados library, allowing
|
||||||
to stripe bigger objects onto several standard rados objects using
|
to stripe bigger objects onto several standard rados objects using
|
||||||
an interface very similar to the rados one.
|
an interface very similar to the rados one.
|
||||||
|
|
||||||
%package -n libradosstriper-devel
|
%package -n libradosstriper-devel
|
||||||
Summary: RADOS striping interface headers
|
Summary: RADOS striping interface headers
|
||||||
Group: Development/Libraries
|
License: LGPL-2.0
|
||||||
License: LGPL-2.0
|
Group: Development/Libraries
|
||||||
Requires: libradosstriper1 = %{version}-%{release}
|
Requires: librados-devel = %{version}-%{release}
|
||||||
Requires: librados-devel = %{version}-%{release}
|
Requires: libradosstriper1 = %{version}-%{release}
|
||||||
Obsoletes: ceph-devel < %{version}-%{release}
|
Obsoletes: ceph-devel < %{version}-%{release}
|
||||||
Obsoletes: libradosstriper1-devel
|
Obsoletes: libradosstriper1-devel
|
||||||
|
|
||||||
%description -n libradosstriper-devel
|
%description -n libradosstriper-devel
|
||||||
This package contains libraries and headers needed to develop programs
|
This package contains libraries and headers needed to develop programs
|
||||||
that use RADOS striping interface.
|
that use RADOS striping interface.
|
||||||
|
|
||||||
%package -n librbd1
|
%package -n librbd1
|
||||||
Summary: RADOS block device client library
|
Summary: RADOS block device client library
|
||||||
Group: System Environment/Libraries
|
License: LGPL-2.0
|
||||||
License: LGPL-2.0
|
Group: System Environment/Libraries
|
||||||
Requires: librados2 = %{version}-%{release}
|
Requires: librados2 = %{version}-%{release}
|
||||||
%if 0%{?rhel} || 0%{?fedora}
|
%if 0%{?rhel} || 0%{?fedora}
|
||||||
Obsoletes: ceph-libs < %{version}-%{release}
|
Obsoletes: ceph-libs < %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
%description -n librbd1
|
%description -n librbd1
|
||||||
RBD is a block device striped across multiple distributed objects in
|
RBD is a block device striped across multiple distributed objects in
|
||||||
@ -445,35 +472,37 @@ developed as part of the Ceph distributed storage system. This is a
|
|||||||
shared library allowing applications to manage these block devices.
|
shared library allowing applications to manage these block devices.
|
||||||
|
|
||||||
%package -n librbd-devel
|
%package -n librbd-devel
|
||||||
Summary: RADOS block device headers
|
Summary: RADOS block device headers
|
||||||
Group: Development/Libraries
|
License: LGPL-2.0
|
||||||
License: LGPL-2.0
|
Group: Development/Libraries
|
||||||
Requires: librbd1 = %{version}-%{release}
|
Requires: librados-devel = %{version}-%{release}
|
||||||
Requires: librados-devel = %{version}-%{release}
|
Requires: librbd1 = %{version}-%{release}
|
||||||
Obsoletes: ceph-devel < %{version}-%{release}
|
Obsoletes: ceph-devel < %{version}-%{release}
|
||||||
Obsoletes: librbd1-devel
|
Obsoletes: librbd1-devel
|
||||||
|
|
||||||
%description -n librbd-devel
|
%description -n librbd-devel
|
||||||
This package contains libraries and headers needed to develop programs
|
This package contains libraries and headers needed to develop programs
|
||||||
that use RADOS block device.
|
that use RADOS block device.
|
||||||
|
|
||||||
%package -n python-rbd
|
%package -n python-rbd
|
||||||
Summary: Python libraries for the RADOS block device
|
Summary: Python libraries for the RADOS block device
|
||||||
Group: System Environment/Libraries
|
License: LGPL-2.0
|
||||||
License: LGPL-2.0
|
Group: System Environment/Libraries
|
||||||
Requires: librbd1 = %{version}-%{release}
|
Requires: librbd1 = %{version}-%{release}
|
||||||
Requires: python-rados = %{version}-%{release}
|
Requires: python-rados = %{version}-%{release}
|
||||||
Obsoletes: python-ceph < %{version}-%{release}
|
Obsoletes: python-ceph < %{version}-%{release}
|
||||||
|
|
||||||
%description -n python-rbd
|
%description -n python-rbd
|
||||||
This package contains Python libraries for interacting with Cephs RADOS
|
This package contains Python libraries for interacting with Cephs RADOS
|
||||||
block device.
|
block device.
|
||||||
|
|
||||||
%package -n libcephfs1
|
%package -n libcephfs1
|
||||||
Summary: Ceph distributed file system client library
|
Summary: Ceph distributed file system client library
|
||||||
Group: System Environment/Libraries
|
License: LGPL-2.0
|
||||||
License: LGPL-2.0
|
Group: System Environment/Libraries
|
||||||
%if 0%{?rhel} || 0%{?fedora}
|
%if 0%{?rhel} || 0%{?fedora}
|
||||||
Obsoletes: ceph-libs < %{version}-%{release}
|
Obsoletes: ceph-libcephfs
|
||||||
Obsoletes: ceph-libcephfs
|
Obsoletes: ceph-libs < %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
%description -n libcephfs1
|
%description -n libcephfs1
|
||||||
Ceph is a distributed network file system designed to provide excellent
|
Ceph is a distributed network file system designed to provide excellent
|
||||||
@ -482,69 +511,75 @@ allowing applications to access a Ceph distributed file system via a
|
|||||||
POSIX-like interface.
|
POSIX-like interface.
|
||||||
|
|
||||||
%package -n libcephfs-devel
|
%package -n libcephfs-devel
|
||||||
Summary: Ceph distributed file system headers
|
Summary: Ceph distributed file system headers
|
||||||
Group: Development/Libraries
|
License: LGPL-2.0
|
||||||
License: LGPL-2.0
|
Group: Development/Libraries
|
||||||
Requires: libcephfs1 = %{version}-%{release}
|
Requires: libcephfs1 = %{version}-%{release}
|
||||||
Requires: librados-devel = %{version}-%{release}
|
Requires: librados-devel = %{version}-%{release}
|
||||||
Obsoletes: ceph-devel < %{version}-%{release}
|
Obsoletes: ceph-devel < %{version}-%{release}
|
||||||
Obsoletes: libcephfs1-devel
|
Obsoletes: libcephfs1-devel
|
||||||
|
|
||||||
%description -n libcephfs-devel
|
%description -n libcephfs-devel
|
||||||
This package contains libraries and headers needed to develop programs
|
This package contains libraries and headers needed to develop programs
|
||||||
that use Cephs distributed file system.
|
that use Cephs distributed file system.
|
||||||
|
|
||||||
%package -n python-cephfs
|
%package -n python-cephfs
|
||||||
Summary: Python libraries for Ceph distributed file system
|
Summary: Python libraries for Ceph distributed file system
|
||||||
Group: System Environment/Libraries
|
License: LGPL-2.0
|
||||||
License: LGPL-2.0
|
Group: System Environment/Libraries
|
||||||
Requires: libcephfs1 = %{version}-%{release}
|
Requires: libcephfs1 = %{version}-%{release}
|
||||||
Requires: python-rados = %{version}-%{release}
|
Requires: python-rados = %{version}-%{release}
|
||||||
Obsoletes: python-ceph < %{version}-%{release}
|
Obsoletes: python-ceph < %{version}-%{release}
|
||||||
|
|
||||||
%description -n python-cephfs
|
%description -n python-cephfs
|
||||||
This package contains Python libraries for interacting with Cephs distributed
|
This package contains Python libraries for interacting with Cephs distributed
|
||||||
file system.
|
file system.
|
||||||
|
|
||||||
%package -n ceph-test
|
%package -n ceph-test
|
||||||
Summary: Ceph benchmarks and test tools
|
Summary: Ceph benchmarks and test tools
|
||||||
Group: System Environment/Libraries
|
License: LGPL-2.0
|
||||||
License: LGPL-2.0
|
Group: System Environment/Libraries
|
||||||
Requires: ceph-common
|
Requires: ceph-common
|
||||||
Requires: xmlstarlet
|
Requires: xmlstarlet
|
||||||
|
|
||||||
%description -n ceph-test
|
%description -n ceph-test
|
||||||
This package contains Ceph benchmarks and test tools.
|
This package contains Ceph benchmarks and test tools.
|
||||||
|
|
||||||
%if 0%{with cephfs_java}
|
%if 0%{with cephfs_java}
|
||||||
|
|
||||||
%package -n libcephfs_jni1
|
%package -n libcephfs_jni1
|
||||||
Summary: Java Native Interface library for CephFS Java bindings
|
Summary: Java Native Interface library for CephFS Java bindings
|
||||||
Group: System Environment/Libraries
|
License: LGPL-2.0
|
||||||
License: LGPL-2.0
|
Group: System Environment/Libraries
|
||||||
Requires: java
|
Requires: java
|
||||||
Requires: libcephfs1 = %{version}-%{release}
|
Requires: libcephfs1 = %{version}-%{release}
|
||||||
|
|
||||||
%description -n libcephfs_jni1
|
%description -n libcephfs_jni1
|
||||||
This package contains the Java Native Interface library for CephFS Java
|
This package contains the Java Native Interface library for CephFS Java
|
||||||
bindings.
|
bindings.
|
||||||
|
|
||||||
%package -n libcephfs_jni-devel
|
%package -n libcephfs_jni-devel
|
||||||
Summary: Development files for CephFS Java Native Interface library
|
Summary: Development files for CephFS Java Native Interface library
|
||||||
Group: System Environment/Libraries
|
License: LGPL-2.0
|
||||||
License: LGPL-2.0
|
Group: System Environment/Libraries
|
||||||
Requires: java
|
Requires: java
|
||||||
Requires: libcephfs_jni1 = %{version}-%{release}
|
Requires: libcephfs_jni1 = %{version}-%{release}
|
||||||
Obsoletes: ceph-devel < %{version}-%{release}
|
Obsoletes: ceph-devel < %{version}-%{release}
|
||||||
Obsoletes: libcephfs_jni1-devel
|
Obsoletes: libcephfs_jni1-devel
|
||||||
|
|
||||||
%description -n libcephfs_jni-devel
|
%description -n libcephfs_jni-devel
|
||||||
This package contains the development files for CephFS Java Native Interface
|
This package contains the development files for CephFS Java Native Interface
|
||||||
library.
|
library.
|
||||||
|
|
||||||
%package -n cephfs-java
|
%package -n cephfs-java
|
||||||
Summary: Java libraries for the Ceph File System
|
Summary: Java libraries for the Ceph File System
|
||||||
Group: System Environment/Libraries
|
License: LGPL-2.0
|
||||||
License: LGPL-2.0
|
Group: System Environment/Libraries
|
||||||
Requires: java
|
Requires: java
|
||||||
Requires: libcephfs_jni1 = %{version}-%{release}
|
|
||||||
Requires: junit
|
Requires: junit
|
||||||
|
Requires: libcephfs_jni1 = %{version}-%{release}
|
||||||
BuildRequires: junit
|
BuildRequires: junit
|
||||||
|
|
||||||
%description -n cephfs-java
|
%description -n cephfs-java
|
||||||
This package contains the Java libraries for the Ceph File System.
|
This package contains the Java libraries for the Ceph File System.
|
||||||
|
|
||||||
@ -553,12 +588,15 @@ This package contains the Java libraries for the Ceph File System.
|
|||||||
%if 0%{with selinux}
|
%if 0%{with selinux}
|
||||||
|
|
||||||
%package selinux
|
%package selinux
|
||||||
Summary: SELinux support for Ceph MON, OSD and MDS
|
Summary: SELinux support for Ceph MON, OSD and MDS
|
||||||
Group: System Environment/Base
|
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
|
||||||
Requires: ceph-base = %{version}-%{release}
|
Group: System Environment/Base
|
||||||
Requires: policycoreutils, libselinux-utils
|
Requires: ceph-base = %{version}-%{release}
|
||||||
|
Requires: libselinux-utils
|
||||||
|
Requires: policycoreutils
|
||||||
Requires(post): selinux-policy-base >= %{_selinux_policy_version}, policycoreutils, gawk
|
Requires(post): selinux-policy-base >= %{_selinux_policy_version}, policycoreutils, gawk
|
||||||
Requires(postun): policycoreutils
|
Requires(postun): policycoreutils
|
||||||
|
|
||||||
%description selinux
|
%description selinux
|
||||||
This package contains SELinux support for Ceph MON, OSD and MDS. The package
|
This package contains SELinux support for Ceph MON, OSD and MDS. The package
|
||||||
also performs file-system relabelling which can take a long time on heavily
|
also performs file-system relabelling which can take a long time on heavily
|
||||||
@ -1483,5 +1521,4 @@ exit 0
|
|||||||
|
|
||||||
%endif # with selinux
|
%endif # with selinux
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user