6d8727
#
6d8727
# spec file for package ceph
6d8727
#
6d8727
# Copyright (C) 2004-2019 The Ceph Project Developers. See COPYING file
6d8727
# at the top-level directory of this distribution and at
6d8727
# https://github.com/ceph/ceph/blob/master/COPYING
6d8727
#
6d8727
# All modifications and additions to the file contributed by third parties
6d8727
# remain the property of their copyright owners, unless otherwise agreed
6d8727
# upon.
6d8727
#
6d8727
# This file is under the GNU Lesser General Public License, version 2.1
6d8727
#
6d8727
# Please submit bugfixes or comments via http://tracker.ceph.com/
6d8727
#
6d8727
6d8727
#################################################################################
6d8727
# conditional build section
6d8727
#
ca590e
# please read this for explanation of bcond syntax:
ca590e
# https://rpm-software-management.github.io/rpm/manual/conditionalbuilds.html
6d8727
#################################################################################
6d8727
%global _hardened_build 1
6d8727
ca590e
%undefine __cmake_in_source_build
ca590e
59b6a2
%bcond_without cephadm
6d8727
%bcond_with make_check
12fe4d
%bcond_with zbd
6d8727
%bcond_with cmake_verbose_logging
12fe4d
%bcond_with ceph_test_package
7556ff
%ifarch s390
6d8727
%bcond_with tcmalloc
6d8727
%else
6d8727
%bcond_without tcmalloc
6d8727
%endif
bcc9c9
%ifarch x86_64 ppc64le
ca590e
%bcond_without system_pmdk
ca590e
%else
ca590e
%bcond_with system_pmdk
ca590e
%endif
12fe4d
%bcond_without rbd_ssd_cache
ca590e
%ifarch x86_64
ca590e
%bcond_without rbd_rwl_cache
12fe4d
%else
12fe4d
%bcond_with rbd_rwl_cache
12fe4d
%endif
ca590e
%if 0%{?fedora} || 0%{?rhel}
ca590e
%bcond_without selinux
6d8727
%if 0%{?rhel} >= 8
6d8727
%bcond_with cephfs_java
6d8727
%else
6d8727
%bcond_without cephfs_java
6d8727
%endif
6d8727
%bcond_without amqp_endpoint
6d8727
%bcond_without kafka_endpoint
6d8727
%bcond_without lttng
6d8727
%bcond_without libradosstriper
6d8727
%bcond_without ocf
bcc9c9
%global luarocks_package_name luarocks
bcc9c9
%bcond_without lua_packages
6d8727
%global _remote_tarball_prefix https://download.ceph.com/tarballs/
6d8727
%endif
6d8727
%if 0%{?suse_version}
ca590e
%bcond_without system_pmdk
6d8727
%bcond_with amqp_endpoint
a7ada8
%bcond_with cephfs_java
6d8727
%bcond_with kafka_endpoint
12fe4d
%bcond_with libradosstriper
6d8727
%ifarch x86_64 aarch64 ppc64le
6d8727
%bcond_without lttng
6d8727
%else
a7ada8
%bcond_with lttng
a7ada8
%endif
a7ada8
%bcond_with ocf
a7ada8
%bcond_with selinux
a7ada8
#Compat macro for _fillupdir macro introduced in Nov 2017
a7ada8
%if ! %{defined _fillupdir}
a7ada8
%global _fillupdir /var/adm/fillup-templates
6d8727
%endif
bcc9c9
#luarocks
bcc9c9
%if 0%{?is_opensuse}
bcc9c9
# openSUSE
bcc9c9
%bcond_without lua_packages
bcc9c9
%if 0%{?sle_version}
bcc9c9
# openSUSE Leap
bcc9c9
%global luarocks_package_name lua53-luarocks
bcc9c9
%else
bcc9c9
# openSUSE Tumbleweed
bcc9c9
%global luarocks_package_name lua54-luarocks
bcc9c9
%endif
bcc9c9
%else
bcc9c9
# SLE
bcc9c9
%bcond_with lua_packages
bcc9c9
%endif
6d8727
%endif
6d8727
%bcond_with seastar
12fe4d
%bcond_with jaeger
6d8727
%if 0%{?fedora} || 0%{?suse_version} >= 1500
6d8727
# distros that ship cmd2 and/or colorama
6d8727
%bcond_without cephfs_shell
6d8727
%else
6d8727
# distros that do _not_ ship cmd2/colorama
6d8727
%bcond_with cephfs_shell
6d8727
%endif
25b164
%bcond_without system_arrow
e577eb
%bcond_without system_utf8proc
6d8727
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 8
6d8727
%global weak_deps 1
6d8727
%endif
6d8727
%if %{with selinux}
6d8727
# get selinux policy version
6d8727
# Force 0.0.0 policy version for centos builds to avoid repository sync issues between rhel and centos
6d8727
%if 0%{?centos}
6d8727
%global _selinux_policy_version 0.0.0
6d8727
%else
6d8727
%{!?_selinux_policy_version: %global _selinux_policy_version 0.0.0}
6d8727
%endif
6d8727
%endif
6d8727
6d8727
%{!?_udevrulesdir: %global _udevrulesdir /lib/udev/rules.d}
6d8727
%{!?tmpfiles_create: %global tmpfiles_create systemd-tmpfiles --create}
6d8727
%{!?python3_pkgversion: %global python3_pkgversion 3}
6d8727
%{!?python3_version_nodots: %global python3_version_nodots 3}
6d8727
%{!?python3_version: %global python3_version 3}
6d8727
ca590e
%if ! 0%{?suse_version}
ca590e
# use multi-threaded xz compression: xz level 7 using ncpus threads
ca590e
%global _source_payload w7T%{_smp_build_ncpus}.xzdio
ca590e
%global _binary_payload w7T%{_smp_build_ncpus}.xzdio
ca590e
%endif
ca590e
ca590e
%define smp_limit_mem_per_job() %( \
ca590e
  kb_per_job=%1 \
ca590e
  kb_total=$(head -3 /proc/meminfo | sed -n 's/MemAvailable:\\s*\\(.*\\) kB.*/\\1/p') \
ca590e
  jobs=$(( $kb_total / $kb_per_job )) \
ca590e
  [ $jobs -lt 1 ] && jobs=1 \
ca590e
  echo $jobs )
ca590e
ca590e
%if 0%{?_smp_ncpus_max} == 0
ca590e
%if 0%{?__isa_bits} == 32
ca590e
# 32-bit builds can use 3G memory max, which is not enough even for -j2
ca590e
%global _smp_ncpus_max 1
ca590e
%else
ca590e
# 3.0 GiB mem per job
ca590e
# SUSE distros use limit_build in the place of smp_limit_mem_per_job, please
ca590e
# be sure to update it (in the build section, below) as well when changing this
ca590e
# number.
ca590e
%global _smp_ncpus_max %{smp_limit_mem_per_job 3000000}
ca590e
%endif
ca590e
%endif
6d8727
6d8727
#################################################################################
6d8727
# main package definition
6d8727
#################################################################################
6d8727
Name:		ceph
1bd08a
Version:	17.2.0
272f9b
Release:	3%{?dist}
6d8727
%if 0%{?fedora} || 0%{?rhel}
8f0ee8
Epoch:		2
6d8727
%endif
6d8727
6d8727
# define _epoch_prefix macro which will expand to the empty string if epoch is
6d8727
# undefined
6d8727
%global _epoch_prefix %{?epoch:%{epoch}:}
6d8727
6d8727
Summary:	User space components of the Ceph file system
6d8727
#License:	LGPL-2.1 and LGPL-3.0 and CC-BY-SA-3.0 and GPL-2.0 and BSL-1.0 and BSD-3-Clause and MIT
ca590e
License:	(LGPLv2+ or LGPLv3) and CC-BY-SA-3.0 and GPLv2 and Boost-1.0 and BSD and MIT
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
URL:		http://ceph.com/
1bd08a
Source0:	ceph-%{version}.tar.gz
6d8727
Patch0001:	0001-src-common-crc32c_intel_fast.patch
6d8727
Patch0003:	0003-src-common-bitstr.h.patch
12fe4d
Patch0008:	0008-cmake-modules-Finduring.cmake.patch
ca590e
Patch0010:	0010-CET-Add-CET-marker-to-crc32c_intel_fast_zero_asm.s.patch
ca590e
Patch0011:	0011-isa-l-CET-Add-CET-marker-to-x86-64-crc32-assembly-co.patch
ca590e
Patch0012:	0012-spdk-isa-l-CET-Add-CET-marker-to-x86-64-crc32-assemb.patch
9e5f17
Patch0016:	0016-src-tracing-patch
ca590e
Patch0017:	0017-gcc-12-omnibus.patch
ca590e
Patch0018:	0018-src-rgw-store-dbstore-CMakeLists.txt.patch
e577eb
Patch0020:	0020-src-arrow-cpp-cmake_modules-ThirdpartyToolchain.cmake.patch
25b164
Patch0021:	0021-src-rgw-CMakeLists.txt.patch
59b6a2
6d8727
# ceph 14.0.1 does not support 32-bit architectures, bugs #1727788, #1727787
6d8727
ExcludeArch:	i686 armv7hl
6d8727
%if 0%{?suse_version}
6d8727
# _insert_obs_source_lines_here
6d8727
ExclusiveArch:	x86_64 aarch64 ppc64le s390x
6d8727
%endif
6d8727
#################################################################################
6d8727
# dependencies that apply across all distro families
6d8727
#################################################################################
6d8727
Requires:	ceph-osd = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	ceph-mds = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	ceph-mgr = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	ceph-mon = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires(post):	binutils
6d8727
%if 0%{with cephfs_java}
6d8727
BuildRequires:	java-devel
6d8727
BuildRequires:	sharutils
6d8727
%endif
6d8727
%if 0%{with selinux}
6d8727
BuildRequires:	checkpolicy
6d8727
BuildRequires:	selinux-policy-devel
6d8727
%endif
6d8727
BuildRequires:	gperf
6d8727
BuildRequires:	cmake > 3.5
12fe4d
BuildRequires:	fuse3-devel
ca590e
%if 0%{with seastar} && 0%{?rhel}
ca590e
BuildRequires:	gcc-toolset-9-gcc-c++ >= 9.2.1-2.3
ca590e
%else
6d8727
BuildRequires:	gcc-c++
ca590e
%endif
6d8727
%if 0%{with tcmalloc}
7556ff
# libprofiler did not build on ppc64le until 2.7.90
7556ff
%if 0%{?fedora} || 0%{?rhel} >= 8
7556ff
BuildRequires:  gperftools-devel >= 2.7.90
7556ff
%endif
7556ff
%if 0%{?rhel} && 0%{?rhel} < 8
7556ff
BuildRequires:  gperftools-devel >= 2.6.1
6d8727
%endif
6d8727
%if 0%{?suse_version}
6d8727
BuildRequires:	gperftools-devel >= 2.4
6d8727
%endif
6d8727
%endif
6d8727
BuildRequires:	libaio-devel
6d8727
BuildRequires:	libblkid-devel >= 2.17
12fe4d
BuildRequires:	cryptsetup-devel
6d8727
BuildRequires:	libcurl-devel
6d8727
BuildRequires:	libcap-ng-devel
ca590e
BuildRequires:	fmt-devel >= 6.2.1
12fe4d
%if 0%{?fedora}
12fe4d
BuildRequires:	rocksdb-devel
12fe4d
Requires:	rocksdb
12fe4d
%endif
12fe4d
BuildRequires:	liburing-devel
6d8727
BuildRequires:	pkgconfig(libudev)
6d8727
BuildRequires:	libnl3-devel
6d8727
BuildRequires:	liboath-devel
6d8727
BuildRequires:	libtool
6d8727
BuildRequires:	libxml2-devel
bcc9c9
BuildRequires:	libzstd-devel
ca590e
BuildRequires:	ninja-build
6d8727
BuildRequires:	ncurses-devel
81fb12
BuildRequires:	libicu-devel
6d8727
BuildRequires:	patch
6d8727
BuildRequires:	perl
6d8727
BuildRequires:	pkgconfig
6d8727
BuildRequires:	procps
6d8727
BuildRequires:	python%{python3_pkgversion}
6d8727
BuildRequires:	python%{python3_pkgversion}-devel
ca590e
BuildRequires:	python%{python3_pkgversion}-setuptools
ca590e
BuildRequires:	python%{python3_pkgversion}-Cython
6d8727
BuildRequires:	snappy-devel
81fb12
BuildRequires:	sqlite-devel
6d8727
BuildRequires:	sudo
6d8727
BuildRequires:	pkgconfig(udev)
6d8727
BuildRequires:	valgrind-devel
6d8727
BuildRequires:	which
6d8727
BuildRequires:	xfsprogs-devel
6d8727
BuildRequires:	xmlstarlet
12fe4d
BuildRequires:	nasm
12fe4d
BuildRequires:	lua-devel
ca590e
%if 0%{with seastar} || 0%{with jaeger}
ca590e
BuildRequires:	yaml-cpp-devel >= 0.6
ca590e
%endif
6d8727
%if 0%{with amqp_endpoint}
6d8727
BuildRequires:	librabbitmq-devel
6d8727
%endif
6d8727
%if 0%{with kafka_endpoint}
6d8727
BuildRequires:	librdkafka-devel
6d8727
%endif
12fe4d
%if 0%{with lua_packages}
ca590e
BuildRequires:	%{luarocks_package_name}
12fe4d
%endif
6d8727
%if 0%{with make_check}
ca590e
BuildRequires:	hostname
6d8727
BuildRequires:	jq
6d8727
BuildRequires:	libuuid-devel
5a9b7e
BuildRequires:	python%{python3_pkgversion}-bcrypt
6d8727
BuildRequires:	python%{python3_pkgversion}-nose
5a9b7e
BuildRequires:	python%{python3_pkgversion}-pecan
6d8727
BuildRequires:	python%{python3_pkgversion}-requests
6d8727
BuildRequires:	python%{python3_pkgversion}-dateutil
12fe4d
BuildRequires:	python%{python3_pkgversion}-coverage
12fe4d
BuildRequires:	python%{python3_pkgversion}-pyOpenSSL
12fe4d
BuildRequires:	socat
6d8727
%endif
12fe4d
%if 0%{with zbd}
ca590e
BuildRequires:	libzbd-devel
6d8727
%endif
e577eb
BuildRequires:	thrift-devel >= 0.13.0
e577eb
BuildRequires:	re2-devel
12fe4d
%if 0%{with jaeger}
12fe4d
BuildRequires:	bison
12fe4d
BuildRequires:	flex
12fe4d
%if 0%{?fedora} || 0%{?rhel}
12fe4d
BuildRequires:	json-devel
6d8727
%endif
12fe4d
%if 0%{?suse_version}
12fe4d
BuildRequires:	nlohmann_json-devel
6d8727
%endif
12fe4d
BuildRequires:	libevent-devel
12fe4d
%endif
94e688
%if 0%{with system_pmdk}
81fb12
BuildRequires:	libpmem-devel
81fb12
BuildRequires:	libpmemobj-devel
6d8727
%endif
e577eb
%if 0%{with system_arrow}
e577eb
BuildRequires:	libarrow-devel
e577eb
BuildRequires:	parquet-libs-devel
e577eb
%else
e577eb
BuildRequires:	xsimd-devel
e577eb
%endif
e577eb
%if 0%{with system_utf8proc}
e577eb
BuildRequires:	utf8proc-devel
e577eb
%endif
6d8727
%if 0%{with seastar}
6d8727
BuildRequires:	c-ares-devel
6d8727
BuildRequires:	gnutls-devel
6d8727
BuildRequires:	hwloc-devel
6d8727
BuildRequires:	libpciaccess-devel
6d8727
BuildRequires:	lksctp-tools-devel
6d8727
BuildRequires:	ragel
6d8727
BuildRequires:	systemtap-sdt-devel
bcc9c9
%if 0%{?fedora}
bcc9c9
BuildRequires:	libubsan
bcc9c9
BuildRequires:	libasan
bcc9c9
BuildRequires:	libatomic
bcc9c9
%endif
bcc9c9
%if 0%{?rhel}
bcc9c9
BuildRequires:	gcc-toolset-9-annobin
bcc9c9
BuildRequires:	gcc-toolset-9-libubsan-devel
bcc9c9
BuildRequires:	gcc-toolset-9-libasan-devel
bcc9c9
BuildRequires:	gcc-toolset-9-libatomic-devel
bcc9c9
%endif
6d8727
%endif
6d8727
#################################################################################
6d8727
# distro-conditional dependencies
6d8727
#################################################################################
6d8727
%if 0%{?suse_version}
6d8727
BuildRequires:	pkgconfig(systemd)
6d8727
BuildRequires:	systemd-rpm-macros
6d8727
%{?systemd_requires}
6d8727
PreReq:		%fillup_prereq
6d8727
BuildRequires:	fdupes
ca590e
BuildRequires:	memory-constraints
6d8727
BuildRequires:	net-tools
6d8727
BuildRequires:	libbz2-devel
6d8727
BuildRequires:	mozilla-nss-devel
6d8727
BuildRequires:	keyutils-devel
6d8727
BuildRequires:	libopenssl-devel
6d8727
BuildRequires:	lsb-release
6d8727
BuildRequires:	openldap2-devel
6d8727
#BuildRequires:	krb5
6d8727
#BuildRequires:	krb5-devel
6d8727
BuildRequires:	cunit-devel
6d8727
BuildRequires:	python%{python3_pkgversion}-PrettyTable
ca590e
BuildRequires:	python%{python3_pkgversion}-PyYAML
6d8727
BuildRequires:	python%{python3_pkgversion}-Sphinx
6d8727
BuildRequires:	rdma-core-devel
6d8727
BuildRequires:	liblz4-devel >= 1.7
6d8727
# for prometheus-alerts
6d8727
BuildRequires:	golang-github-prometheus-prometheus
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
Requires:	systemd
12fe4d
BuildRequires:	boost-devel
6d8727
BuildRequires:	boost-random
6d8727
BuildRequires:	nss-devel
6d8727
BuildRequires:	keyutils-libs-devel
6d8727
BuildRequires:	libibverbs-devel
6d8727
BuildRequires:	librdmacm-devel
6d8727
BuildRequires:	openldap-devel
6d8727
#BuildRequires:	krb5-devel
6d8727
BuildRequires:	openssl-devel
6d8727
BuildRequires:	CUnit-devel
6d8727
BuildRequires:	python%{python3_pkgversion}-devel
6d8727
BuildRequires:	python%{python3_pkgversion}-prettytable
ca590e
BuildRequires:	python%{python3_pkgversion}-pyyaml
6d8727
BuildRequires:	python%{python3_pkgversion}-sphinx
6d8727
BuildRequires:	lz4-devel >= 1.7
6d8727
%endif
6d8727
# distro-conditional make check dependencies
ca590e
BuildRequires:	golang
6d8727
%if 0%{with make_check}
ca590e
BuildRequires:	golang
6d8727
%if 0%{?fedora} || 0%{?rhel}
7556ff
BuildRequires:	golang-github-prometheus
6d8727
BuildRequires:	libtool-ltdl-devel
6d8727
BuildRequires:	xmlsec1
6d8727
BuildRequires:	xmlsec1-devel
6d8727
%ifarch x86_64
6d8727
BuildRequires:	xmlsec1-nss
6d8727
%endif
6d8727
BuildRequires:	xmlsec1-openssl
6d8727
BuildRequires:	xmlsec1-openssl-devel
5a9b7e
BuildRequires:	python%{python3_pkgversion}-cherrypy
6d8727
BuildRequires:	python%{python3_pkgversion}-jwt
9eae7d
BuildRequires:	python%{python3_pkgversion}-routes
6d8727
BuildRequires:	python%{python3_pkgversion}-scipy
6d8727
BuildRequires:	python%{python3_pkgversion}-werkzeug
6d8727
BuildRequires:	python%{python3_pkgversion}-pyOpenSSL
6d8727
%endif
6d8727
%if 0%{?suse_version}
7556ff
BuildRequires:	golang-github-prometheus-prometheus
6d8727
BuildRequires:	libxmlsec1-1
6d8727
BuildRequires:	libxmlsec1-nss1
6d8727
BuildRequires:	libxmlsec1-openssl1
6d8727
BuildRequires:	python%{python3_pkgversion}-CherryPy
6d8727
BuildRequires:	python%{python3_pkgversion}-PyJWT
6d8727
BuildRequires:	python%{python3_pkgversion}-Routes
6d8727
BuildRequires:	python%{python3_pkgversion}-Werkzeug
6d8727
BuildRequires:	python%{python3_pkgversion}-numpy-devel
6d8727
BuildRequires:	xmlsec1-devel
6d8727
BuildRequires:	xmlsec1-openssl-devel
6d8727
%endif
6d8727
%endif
6d8727
# lttng and babeltrace for rbd-replay-prep
6d8727
%if %{with lttng}
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
BuildRequires:	lttng-ust-devel
6d8727
BuildRequires:	libbabeltrace-devel
6d8727
%endif
6d8727
%if 0%{?suse_version}
6d8727
BuildRequires:	lttng-ust-devel
6d8727
BuildRequires:	babeltrace-devel
6d8727
%endif
6d8727
%endif
6d8727
%if 0%{?suse_version}
6d8727
BuildRequires:	libexpat-devel
6d8727
%endif
6d8727
%if 0%{?rhel} || 0%{?fedora}
6d8727
BuildRequires:	expat-devel
6d8727
%endif
6d8727
#hardened-cc1
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
BuildRequires:	redhat-rpm-config
6d8727
%endif
6d8727
%if 0%{with seastar}
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
BuildRequires:	cryptopp-devel
6d8727
BuildRequires:	numactl-devel
6d8727
BuildRequires:	protobuf-compiler
6d8727
%endif
6d8727
%if 0%{?suse_version}
6d8727
BuildRequires:	libcryptopp-devel
6d8727
BuildRequires:	libnuma-devel
6d8727
%endif
6d8727
%endif
6d8727
%if 0%{?rhel} >= 8
6d8727
BuildRequires:	/usr/bin/pathfix.py
6d8727
%endif
6d8727
6d8727
%description
6d8727
Ceph is a massively scalable, open-source, distributed storage system that runs
6d8727
on commodity hardware and delivers object, block and file system storage.
6d8727
6d8727
6d8727
#################################################################################
6d8727
# subpackages
6d8727
#################################################################################
6d8727
%package base
6d8727
Summary:	Ceph Base Package
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Provides:	ceph-test:/usr/bin/ceph-kvstore-tool
6d8727
Requires:	ceph-common = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	libcephfs2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librgw2 = %{_epoch_prefix}%{version}-%{release}
6d8727
%if 0%{with selinux}
6d8727
Requires:	ceph-selinux = %{_epoch_prefix}%{version}-%{release}
6d8727
%endif
6d8727
Requires:	findutils
6d8727
Requires:	grep
6d8727
Requires:	logrotate
6d8727
Requires:	parted
6d8727
Requires:	psmisc
6d8727
Requires:	util-linux
6d8727
Requires:	which
7556ff
%if 0%{?rhel} && 0%{?rhel} < 8
6d8727
# The following is necessary due to tracker 36508 and can be removed once the
6d8727
# associated upstream bugs are resolved.
6d8727
%if 0%{with tcmalloc}
6d8727
Requires:	gperftools-libs >= 2.6.1
6d8727
%endif
6d8727
%endif
6d8727
%if 0%{?weak_deps}
6d8727
Recommends:	chrony
94e688
Recommends:	nvme-cli
94e688
%if 0%{?suse_version}
94e688
Requires:	smartmontools
94e688
%else
94e688
Recommends:	smartmontools
94e688
%endif
6d8727
%endif
6d8727
%description base
6d8727
Base is the package that includes all the files shared amongst ceph servers
6d8727
59b6a2
%if 0%{with cephadm}
6d8727
%package -n cephadm
6d8727
Summary:	Utility to bootstrap Ceph clusters
52d77a
BuildArch:	noarch
6d8727
Requires:	lvm2
6d8727
Requires:	python%{python3_pkgversion}
ca590e
Requires:	openssh-server
ca590e
Requires:	which
6d8727
%if 0%{?weak_deps}
12fe4d
Recommends:	podman >= 2.0.2
6d8727
%endif
6d8727
%description -n cephadm
6d8727
Utility to bootstrap a Ceph cluster and manage Ceph daemons deployed
6d8727
with systemd and podman.
59b6a2
%endif
6d8727
6d8727
%package -n ceph-common
6d8727
Summary:	Ceph Common
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	libcephfs2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-rbd = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-cephfs = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-rgw = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-ceph-argparse = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-ceph-common = %{_epoch_prefix}%{version}-%{release}
12fe4d
%if 0%{with jaeger}
12fe4d
Requires:	libjaeger = %{_epoch_prefix}%{version}-%{release}
12fe4d
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
Requires:	python%{python3_pkgversion}-prettytable
6d8727
%endif
6d8727
%if 0%{?suse_version}
6d8727
Requires:	python%{python3_pkgversion}-PrettyTable
6d8727
%endif
6d8727
%if 0%{with libradosstriper}
6d8727
Requires:	libradosstriper1 = %{_epoch_prefix}%{version}-%{release}
6d8727
%endif
6d8727
%{?systemd_requires}
6d8727
%if 0%{?suse_version}
6d8727
Requires(pre):	pwdutils
6d8727
%endif
bcc9c9
Requires:	systemd-udev
6d8727
%description -n ceph-common
6d8727
Common utilities to mount and interact with a ceph storage cluster.
6d8727
Comprised of files that are common to Ceph clients and servers.
6d8727
6d8727
%package mds
6d8727
Summary:	Ceph Metadata Server Daemon
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-base = %{_epoch_prefix}%{version}-%{release}
6d8727
%description mds
6d8727
ceph-mds is the metadata server daemon for the Ceph distributed file system.
6d8727
One or more instances of ceph-mds collectively manage the file system
6d8727
namespace, coordinating access to the shared OSD cluster.
6d8727
6d8727
%package mon
6d8727
Summary:	Ceph Monitor Daemon
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Provides:	ceph-test:/usr/bin/ceph-monstore-tool
6d8727
Requires:	ceph-base = %{_epoch_prefix}%{version}-%{release}
6d8727
%description mon
6d8727
ceph-mon is the cluster monitor daemon for the Ceph distributed file
6d8727
system. One or more instances of ceph-mon form a Paxos part-time
6d8727
parliament cluster that provides extremely reliable and durable storage
6d8727
of cluster membership, configuration, and state.
6d8727
6d8727
%package mgr
6d8727
Summary:	Ceph Manager Daemon
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-base = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	ceph-mgr-modules-core = %{_epoch_prefix}%{version}-%{release}
81fb12
Requires:	libcephsqlite = %{_epoch_prefix}%{version}-%{release}
6d8727
%if 0%{?weak_deps}
6d8727
Recommends:	ceph-mgr-dashboard = %{_epoch_prefix}%{version}-%{release}
6d8727
Recommends:	ceph-mgr-diskprediction-local = %{_epoch_prefix}%{version}-%{release}
6d8727
Recommends:	ceph-mgr-k8sevents = %{_epoch_prefix}%{version}-%{release}
6d8727
Recommends:	ceph-mgr-cephadm = %{_epoch_prefix}%{version}-%{release}
6d8727
Recommends:	python%{python3_pkgversion}-influxdb
6d8727
%endif
6d8727
%description mgr
6d8727
ceph-mgr enables python modules that provide services (such as the REST
6d8727
module derived from Calamari) and expose CLI hooks.  ceph-mgr gathers
6d8727
the cluster maps, the daemon metadata, and performance counters, and
6d8727
exposes all these to the python modules.
6d8727
6d8727
%package mgr-dashboard
6d8727
Summary:	Ceph Dashboard
6d8727
BuildArch:	noarch
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-mgr = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	ceph-grafana-dashboards = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	ceph-prometheus-alerts = %{_epoch_prefix}%{version}-%{release}
6d8727
%if 0%{?fedora} || 0%{?rhel}
5a9b7e
Requires:	python%{python3_pkgversion}-cherrypy
6d8727
Requires:	python%{python3_pkgversion}-jwt
9eae7d
Requires:	python%{python3_pkgversion}-routes
6d8727
Requires:	python%{python3_pkgversion}-werkzeug
a7ada8
%if 0%{?weak_deps}
a7ada8
Recommends:	python%{python3_pkgversion}-saml
a7ada8
%endif
6d8727
%endif
6d8727
%if 0%{?suse_version}
6d8727
Requires:	python%{python3_pkgversion}-CherryPy
6d8727
Requires:	python%{python3_pkgversion}-PyJWT
6d8727
Requires:	python%{python3_pkgversion}-Routes
6d8727
Requires:	python%{python3_pkgversion}-Werkzeug
a7ada8
Recommends:	python%{python3_pkgversion}-python3-saml
6d8727
%endif
6d8727
%description mgr-dashboard
6d8727
ceph-mgr-dashboard is a manager module, providing a web-based application
6d8727
to monitor and manage many aspects of a Ceph cluster and related components.
6d8727
See the Dashboard documentation at http://docs.ceph.com/ for details and a
6d8727
detailed feature overview.
6d8727
6d8727
%package mgr-diskprediction-local
6d8727
Summary:	Ceph Manager module for predicting disk failures
6d8727
BuildArch:	noarch
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-mgr = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-numpy
12fe4d
%if 0%{?fedora} || 0%{?suse_version}
12fe4d
Requires:	python%{python3_pkgversion}-scikit-learn
6d8727
%endif
12fe4d
Requires:	python3-scipy
6d8727
%description mgr-diskprediction-local
6d8727
ceph-mgr-diskprediction-local is a ceph-mgr module that tries to predict
6d8727
disk failures using local algorithms and machine-learning databases.
6d8727
6d8727
%package mgr-modules-core
6d8727
Summary:	Ceph Manager modules which are always enabled
6d8727
BuildArch:	noarch
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
5a9b7e
Requires:	python%{python3_pkgversion}-bcrypt
5a9b7e
Requires:	python%{python3_pkgversion}-pecan
6d8727
Requires:	python%{python3_pkgversion}-pyOpenSSL
6d8727
Requires:	python%{python3_pkgversion}-requests
6d8727
Requires:	python%{python3_pkgversion}-dateutil
6d8727
%if 0%{?fedora} || 0%{?rhel} >= 8
5a9b7e
Requires:	python%{python3_pkgversion}-cherrypy
6d8727
Requires:	python%{python3_pkgversion}-pyyaml
6d8727
Requires:	python%{python3_pkgversion}-werkzeug
6d8727
%endif
6d8727
%if 0%{?suse_version}
6d8727
Requires:	python%{python3_pkgversion}-CherryPy
6d8727
Requires:	python%{python3_pkgversion}-PyYAML
6d8727
Requires:	python%{python3_pkgversion}-Werkzeug
6d8727
%endif
6d8727
%if 0%{?weak_deps}
6d8727
Recommends:	ceph-mgr-rook = %{_epoch_prefix}%{version}-%{release}
6d8727
%endif
6d8727
%description mgr-modules-core
6d8727
ceph-mgr-modules-core provides a set of modules which are always
6d8727
enabled by ceph-mgr.
6d8727
6d8727
%package mgr-rook
6d8727
BuildArch:	noarch
6d8727
Summary:	Ceph Manager module for Rook-based orchestration
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-mgr = %{_epoch_prefix}%{version}-%{release}
9eae7d
Requires:	python%{python3_pkgversion}-kubernetes
6d8727
Requires:	python%{python3_pkgversion}-jsonpatch
6d8727
%description mgr-rook
6d8727
ceph-mgr-rook is a ceph-mgr module for orchestration functions using
6d8727
a Rook backend.
6d8727
6d8727
%package mgr-k8sevents
6d8727
BuildArch:	noarch
6d8727
Summary:	Ceph Manager module to orchestrate ceph-events to kubernetes' events API
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-mgr = %{_epoch_prefix}%{version}-%{release}
9eae7d
Requires:	python%{python3_pkgversion}-kubernetes
6d8727
%description mgr-k8sevents
6d8727
ceph-mgr-k8sevents is a ceph-mgr module that sends every ceph-events
6d8727
to kubernetes' events API
6d8727
6d8727
%package mgr-cephadm
6d8727
Summary:	Ceph Manager module for cephadm-based orchestration
6d8727
BuildArch:	noarch
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-mgr = %{_epoch_prefix}%{version}-%{release}
ca590e
Requires:	python%{python3_pkgversion}-asyncssh
ca590e
Requires:	cephadm = %{_epoch_prefix}%{version}-%{release}
6d8727
%if 0%{?suse_version}
6d8727
Requires:	openssh
ca590e
Requires:	python%{python3_pkgversion}-CherryPy
cdd4fb
Requires:	python%{python3_pkgversion}-Jinja2
6d8727
%endif
6d8727
%if 0%{?rhel} || 0%{?fedora}
6d8727
Requires:	openssh-clients
ca590e
Requires:	python%{python3_pkgversion}-cherrypy
cdd4fb
Requires:	python%{python3_pkgversion}-jinja2
6d8727
%endif
6d8727
%description mgr-cephadm
6d8727
ceph-mgr-cephadm is a ceph-mgr module for orchestration functions using
6d8727
the integrated cephadm deployment tool management operations.
6d8727
6d8727
%package fuse
6d8727
Summary:	Ceph fuse-based client
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	fuse
6d8727
Requires:	python%{python3_pkgversion}
6d8727
%description fuse
6d8727
FUSE based client for Ceph distributed network file system
6d8727
12fe4d
%package -n cephfs-mirror
12fe4d
Summary:       Ceph daemon for mirroring CephFS snapshots
12fe4d
%if 0%{?suse_version}
12fe4d
Group:         System/Filesystems
12fe4d
%endif
12fe4d
Requires:      ceph-base = %{_epoch_prefix}%{version}-%{release}
12fe4d
Requires:      librados2 = %{_epoch_prefix}%{version}-%{release}
12fe4d
Requires:      libcephfs2 = %{_epoch_prefix}%{version}-%{release}
12fe4d
%description -n cephfs-mirror
12fe4d
Daemon for mirroring CephFS snapshots between Ceph clusters.
12fe4d
6d8727
%package -n rbd-fuse
6d8727
Summary:	Ceph fuse-based client
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n rbd-fuse
6d8727
FUSE based client to map Ceph rbd images to files
6d8727
6d8727
%package -n rbd-mirror
6d8727
Summary:	Ceph daemon for mirroring RBD images
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-base = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n rbd-mirror
6d8727
Daemon for mirroring RBD images between Ceph clusters, streaming
6d8727
changes asynchronously.
6d8727
6d8727
%package immutable-object-cache
6d8727
Summary:	Ceph daemon for immutable object cache
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
7556ff
Requires:	ceph-base = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
%description immutable-object-cache
6d8727
Daemon for immutable object cache.
6d8727
6d8727
%package -n rbd-nbd
6d8727
Summary:	Ceph RBD client base on NBD
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n rbd-nbd
6d8727
NBD based client to map Ceph rbd images to local device
6d8727
6d8727
%package radosgw
6d8727
Summary:	Rados REST gateway
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-base = %{_epoch_prefix}%{version}-%{release}
6d8727
%if 0%{with selinux}
6d8727
Requires:	ceph-selinux = %{_epoch_prefix}%{version}-%{release}
6d8727
%endif
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librgw2 = %{_epoch_prefix}%{version}-%{release}
6d8727
%if 0%{?rhel} || 0%{?fedora}
6d8727
Requires:	mailcap
6d8727
%endif
12fe4d
%if 0%{?weak_deps}
12fe4d
Recommends:    gawk
12fe4d
%endif
6d8727
%description radosgw
6d8727
RADOS is a distributed object store used by the Ceph distributed
6d8727
storage system.  This package provides a REST gateway to the
6d8727
object store that aims to implement a superset of Amazon's S3
6d8727
service as well as the OpenStack Object Storage ("Swift") API.
6d8727
12fe4d
%package -n cephfs-top
12fe4d
Summary:	top(1) like utility for Ceph Filesystem
12fe4d
BuildArch:	noarch
12fe4d
Requires:	python%{python3_pkgversion}-rados
12fe4d
%description -n cephfs-top
12fe4d
This package provides a top(1) like utility to display Ceph Filesystem metrics
12fe4d
in realtime.
12fe4d
6d8727
%if %{with ocf}
6d8727
%package resource-agents
6d8727
Summary:	OCF-compliant resource agents for Ceph daemons
ca590e
BuildArch:	noarch
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-base = %{_epoch_prefix}%{version}
6d8727
Requires:	resource-agents
6d8727
%description resource-agents
6d8727
Resource agents for monitoring and managing Ceph daemons
6d8727
under Open Cluster Framework (OCF) compliant resource
6d8727
managers such as Pacemaker.
6d8727
%endif
6d8727
6d8727
%package osd
6d8727
Summary:	Ceph Object Storage Daemon
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Provides:	ceph-test:/usr/bin/ceph-osdomap-tool
6d8727
Requires:	ceph-base = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	sudo
6d8727
Requires:	libstoragemgmt
ca590e
%if 0%{?weak_deps}
ca590e
Recommends:	ceph-volume = %{_epoch_prefix}%{version}-%{release}
ca590e
%endif
6d8727
%description osd
6d8727
ceph-osd is the object storage daemon for the Ceph distributed file
6d8727
system.  It is responsible for storing objects on a local file system
6d8727
and providing access to them over the network.
6d8727
6d8727
%if 0%{with seastar}
6d8727
%package crimson-osd
6d8727
Summary:	Ceph Object Storage Daemon (crimson)
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-osd = %{_epoch_prefix}%{version}-%{release}
ca590e
Requires:	binutils
6d8727
%description crimson-osd
6d8727
crimson-osd is the object storage daemon for the Ceph distributed file
6d8727
system.  It is responsible for storing objects on a local file system
6d8727
and providing access to them over the network.
6d8727
%endif
6d8727
ca590e
%package volume
ca590e
Summary: Ceph OSD deployment and inspection tool
ca590e
BuildArch: noarch
ca590e
%if 0%{?suse_version}
ca590e
Group: System/Filesystems
ca590e
%endif
ca590e
Requires: ceph-osd = %{_epoch_prefix}%{version}-%{release}
ca590e
Requires: cryptsetup
ca590e
Requires: e2fsprogs
ca590e
Requires: lvm2
ca590e
Requires: parted
ca590e
Requires: util-linux
ca590e
Requires: xfsprogs
ca590e
Requires: python%{python3_pkgversion}-setuptools
ca590e
Requires: python%{python3_pkgversion}-ceph-common = %{_epoch_prefix}%{version}-%{release}
ca590e
%description volume
ca590e
This package contains a tool to deploy OSD with different devices like
ca590e
lvm or physical disks, and trying to follow a predictable, and robust
ca590e
way of preparing, activating, and starting the deployed OSD.
ca590e
6d8727
%package -n librados2
6d8727
Summary:	RADOS distributed object store client library
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Libraries
6d8727
%endif
6d8727
%if 0%{?rhel} || 0%{?fedora}
6d8727
Obsoletes:	ceph-libs < %{_epoch_prefix}%{version}-%{release}
6d8727
%endif
6d8727
%description -n librados2
6d8727
RADOS is a reliable, autonomic distributed object storage cluster
6d8727
developed as part of the Ceph distributed storage system. This is a
6d8727
shared library allowing applications to access the distributed object
6d8727
store using a simple file-like interface.
6d8727
6d8727
%package -n librados-devel
6d8727
Summary:	RADOS headers
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/C and C++
6d8727
%endif
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
6d8727
Provides:	librados2-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	librados2-devel < %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n librados-devel
6d8727
This package contains C libraries and headers needed to develop programs
6d8727
that use RADOS object store.
6d8727
6d8727
%package -n libradospp-devel
6d8727
Summary:	RADOS headers
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/C and C++
6d8727
%endif
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librados-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n libradospp-devel
6d8727
This package contains C++ libraries and headers needed to develop programs
6d8727
that use RADOS object store.
6d8727
6d8727
%package -n librgw2
6d8727
Summary:	RADOS gateway client library
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Libraries
6d8727
%endif
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n librgw2
6d8727
This package provides a library implementation of the RADOS gateway
6d8727
(distributed object store with S3 and Swift personalities).
6d8727
6d8727
%package -n librgw-devel
6d8727
Summary:	RADOS gateway client library
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/C and C++
6d8727
%endif
6d8727
Requires:	librados-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librgw2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Provides:	librgw2-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	librgw2-devel < %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n librgw-devel
6d8727
This package contains libraries and headers needed to develop programs
6d8727
that use RADOS gateway client library.
6d8727
6d8727
%package -n python%{python3_pkgversion}-rgw
6d8727
Summary:	Python 3 libraries for the RADOS gateway
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/Python
6d8727
%endif
6d8727
Requires:	librgw2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
6d8727
%{?python_provide:%python_provide python%{python3_pkgversion}-rgw}
6d8727
Provides:	python-rgw = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	python-rgw < %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n python%{python3_pkgversion}-rgw
12fe4d
This package contains Python 3 libraries for interacting with Ceph RADOS
6d8727
gateway.
6d8727
6d8727
%package -n python%{python3_pkgversion}-rados
6d8727
Summary:	Python 3 libraries for the RADOS object store
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/Python
6d8727
%endif
6d8727
Requires:	python%{python3_pkgversion}
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
%{?python_provide:%python_provide python%{python3_pkgversion}-rados}
6d8727
Provides:	python-rados = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	python-rados < %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n python%{python3_pkgversion}-rados
12fe4d
This package contains Python 3 libraries for interacting with Ceph RADOS
6d8727
object store.
6d8727
81fb12
%package -n libcephsqlite
81fb12
Summary:	SQLite3 VFS for Ceph
81fb12
%if 0%{?suse_version}
81fb12
Group:		System/Libraries
81fb12
%endif
81fb12
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
81fb12
%description -n libcephsqlite
81fb12
A SQLite3 VFS for storing and manipulating databases stored on Ceph's RADOS
81fb12
distributed object store.
81fb12
81fb12
%package -n libcephsqlite-devel
81fb12
Summary:	SQLite3 VFS for Ceph headers
81fb12
%if 0%{?suse_version}
81fb12
Group:		Development/Libraries/C and C++
81fb12
%endif
81fb12
Requires:	sqlite-devel
81fb12
Requires:	libcephsqlite = %{_epoch_prefix}%{version}-%{release}
81fb12
Requires:	librados-devel = %{_epoch_prefix}%{version}-%{release}
81fb12
Requires:	libradospp-devel = %{_epoch_prefix}%{version}-%{release}
81fb12
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
81fb12
Provides:	libcephsqlite-devel = %{_epoch_prefix}%{version}-%{release}
81fb12
Obsoletes:	libcephsqlite-devel < %{_epoch_prefix}%{version}-%{release}
81fb12
%description -n libcephsqlite-devel
81fb12
A SQLite3 VFS for storing and manipulating databases stored on Ceph's RADOS
81fb12
distributed object store.
81fb12
6d8727
%if 0%{with libradosstriper}
6d8727
%package -n libradosstriper1
6d8727
Summary:	RADOS striping interface
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Libraries
6d8727
%endif
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n libradosstriper1
6d8727
Striping interface built on top of the rados library, allowing
6d8727
to stripe bigger objects onto several standard rados objects using
6d8727
an interface very similar to the rados one.
6d8727
6d8727
%package -n libradosstriper-devel
6d8727
Summary:	RADOS striping interface headers
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/C and C++
6d8727
%endif
6d8727
Requires:	libradosstriper1 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librados-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	libradospp-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
6d8727
Provides:	libradosstriper1-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	libradosstriper1-devel < %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n libradosstriper-devel
6d8727
This package contains libraries and headers needed to develop programs
6d8727
that use RADOS striping interface.
6d8727
%endif
6d8727
6d8727
%package -n librbd1
6d8727
Summary:	RADOS block device client library
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Libraries
6d8727
%endif
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
%if 0%{?suse_version}
6d8727
Requires(post): coreutils
6d8727
%endif
6d8727
%if 0%{?rhel} || 0%{?fedora}
6d8727
Obsoletes:	ceph-libs < %{_epoch_prefix}%{version}-%{release}
6d8727
%endif
6d8727
%description -n librbd1
6d8727
RBD is a block device striped across multiple distributed objects in
6d8727
RADOS, a reliable, autonomic distributed object storage cluster
6d8727
developed as part of the Ceph distributed storage system. This is a
6d8727
shared library allowing applications to manage these block devices.
6d8727
6d8727
%package -n librbd-devel
6d8727
Summary:	RADOS block device headers
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/C and C++
6d8727
%endif
6d8727
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librados-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	libradospp-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
6d8727
Provides:	librbd1-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	librbd1-devel < %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n librbd-devel
6d8727
This package contains libraries and headers needed to develop programs
6d8727
that use RADOS block device.
6d8727
6d8727
%package -n python%{python3_pkgversion}-rbd
6d8727
Summary:	Python 3 libraries for the RADOS block device
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/Python
6d8727
%endif
6d8727
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
6d8727
%{?python_provide:%python_provide python%{python3_pkgversion}-rbd}
6d8727
Provides:	python-rbd = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	python-rbd < %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n python%{python3_pkgversion}-rbd
12fe4d
This package contains Python 3 libraries for interacting with Ceph RADOS
6d8727
block device.
6d8727
6d8727
%package -n libcephfs2
6d8727
Summary:	Ceph distributed file system client library
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Libraries
6d8727
%endif
6d8727
Obsoletes:	libcephfs1 < %{_epoch_prefix}%{version}-%{release}
6d8727
%if 0%{?rhel} || 0%{?fedora}
6d8727
Obsoletes:	ceph-libs < %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	ceph-libcephfs < %{_epoch_prefix}%{version}-%{release}
6d8727
%endif
6d8727
%description -n libcephfs2
6d8727
Ceph is a distributed network file system designed to provide excellent
6d8727
performance, reliability, and scalability. This is a shared library
6d8727
allowing applications to access a Ceph distributed file system via a
6d8727
POSIX-like interface.
6d8727
6d8727
%package -n libcephfs-devel
6d8727
Summary:	Ceph distributed file system headers
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/C and C++
6d8727
%endif
6d8727
Requires:	libcephfs2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librados-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
6d8727
Provides:	libcephfs2-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	libcephfs2-devel < %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n libcephfs-devel
6d8727
This package contains libraries and headers needed to develop programs
12fe4d
that use Ceph distributed file system.
12fe4d
6d8727
%package -n python%{python3_pkgversion}-cephfs
6d8727
Summary:	Python 3 libraries for Ceph distributed file system
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/Python
6d8727
%endif
6d8727
Requires:	libcephfs2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-ceph-argparse = %{_epoch_prefix}%{version}-%{release}
6d8727
%{?python_provide:%python_provide python%{python3_pkgversion}-cephfs}
6d8727
Provides:	python-cephfs = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	python-cephfs < %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n python%{python3_pkgversion}-cephfs
12fe4d
This package contains Python 3 libraries for interacting with Ceph distributed
6d8727
file system.
6d8727
6d8727
%package -n python%{python3_pkgversion}-ceph-argparse
6d8727
Summary:	Python 3 utility libraries for Ceph CLI
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/Python
6d8727
%endif
6d8727
%{?python_provide:%python_provide python%{python3_pkgversion}-ceph-argparse}
6d8727
%description -n python%{python3_pkgversion}-ceph-argparse
6d8727
This package contains types and routines for Python 3 used by the Ceph CLI as
6d8727
well as the RESTful interface. These have to do with querying the daemons for
6d8727
command-description information, validating user command input against those
6d8727
descriptions, and submitting the command to the appropriate daemon.
6d8727
6d8727
%package -n python%{python3_pkgversion}-ceph-common
6d8727
Summary:	Python 3 utility libraries for Ceph
9572e7
%if 0%{?fedora} || 0%{?rhel} >= 8
9572e7
Requires:	python%{python3_pkgversion}-pyyaml
9572e7
%endif
9572e7
%if 0%{?suse_version}
9572e7
Requires:	python%{python3_pkgversion}-PyYAML
9572e7
%endif
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/Python
6d8727
%endif
6d8727
%{?python_provide:%python_provide python%{python3_pkgversion}-ceph-common}
6d8727
%description -n python%{python3_pkgversion}-ceph-common
6d8727
This package contains data structures, classes and functions used by Ceph.
6d8727
It also contains utilities used for the cephadm orchestrator.
6d8727
6d8727
%if 0%{with cephfs_shell}
6d8727
%package -n cephfs-shell
6d8727
Summary:	Interactive shell for Ceph file system
6d8727
Requires:	python%{python3_pkgversion}-cmd2
6d8727
Requires:	python%{python3_pkgversion}-colorama
6d8727
Requires:	python%{python3_pkgversion}-cephfs
6d8727
%description -n cephfs-shell
6d8727
This package contains an interactive tool that allows accessing a Ceph
6d8727
file system without mounting it  by providing a nice pseudo-shell which
6d8727
works like an FTP client.
6d8727
%endif
6d8727
6d8727
%if 0%{with ceph_test_package}
6d8727
%package -n ceph-test
6d8727
Summary:	Ceph benchmarks and test tools
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Benchmark
6d8727
%endif
6d8727
Requires:	ceph-common = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	xmlstarlet
6d8727
Requires:	jq
6d8727
Requires:	socat
12fe4d
BuildRequires:	gtest-devel
12fe4d
BuildRequires:	gmock-devel
6d8727
%description -n ceph-test
6d8727
This package contains Ceph benchmarks and test tools.
6d8727
%endif
6d8727
6d8727
%if 0%{with cephfs_java}
6d8727
6d8727
%package -n libcephfs_jni1
6d8727
Summary:	Java Native Interface library for CephFS Java bindings
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Libraries
6d8727
%endif
6d8727
Requires:	java
6d8727
Requires:	libcephfs2 = %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n libcephfs_jni1
6d8727
This package contains the Java Native Interface library for CephFS Java
6d8727
bindings.
6d8727
6d8727
%package -n libcephfs_jni-devel
6d8727
Summary:	Development files for CephFS Java Native Interface library
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/Java
6d8727
%endif
6d8727
Requires:	java
6d8727
Requires:	libcephfs_jni1 = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
6d8727
Provides:	libcephfs_jni1-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	libcephfs_jni1-devel < %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n libcephfs_jni-devel
6d8727
This package contains the development files for CephFS Java Native Interface
6d8727
library.
6d8727
6d8727
%package -n cephfs-java
6d8727
Summary:	Java libraries for the Ceph File System
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Libraries
6d8727
%endif
6d8727
Requires:	java
6d8727
Requires:	libcephfs_jni1 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	junit
6d8727
BuildRequires:	junit
6d8727
%description -n cephfs-java
6d8727
This package contains the Java libraries for the Ceph File System.
6d8727
6d8727
%endif
6d8727
6d8727
%package -n rados-objclass-devel
6d8727
Summary:	RADOS object class development kit
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/C and C++
6d8727
%endif
6d8727
Requires:	libradospp-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n rados-objclass-devel
6d8727
This package contains libraries and headers needed to develop RADOS object
6d8727
class plugins.
6d8727
6d8727
%if 0%{with selinux}
6d8727
6d8727
%package selinux
6d8727
Summary:	SELinux support for Ceph MON, OSD and MDS
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-base = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	policycoreutils, libselinux-utils
6d8727
Requires(post):	ceph-base = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires(post): selinux-policy-base >= %{_selinux_policy_version}, policycoreutils, gawk
6d8727
Requires(postun): policycoreutils
6d8727
%description selinux
6d8727
This package contains SELinux support for Ceph MON, OSD and MDS. The package
6d8727
also performs file-system relabelling which can take a long time on heavily
6d8727
populated file-systems.
6d8727
6d8727
%endif
6d8727
6d8727
%package grafana-dashboards
6d8727
Summary:	The set of Grafana dashboards for monitoring purposes
6d8727
BuildArch:	noarch
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
%description grafana-dashboards
6d8727
This package provides a set of Grafana dashboards for monitoring of
6d8727
Ceph clusters. The dashboards require a Prometheus server setup
6d8727
collecting data from Ceph Manager "prometheus" module and Prometheus
6d8727
project "node_exporter" module. The dashboards are designed to be
6d8727
integrated with the Ceph Manager Dashboard web UI.
6d8727
6d8727
%package prometheus-alerts
6d8727
Summary:	Prometheus alerts for a Ceph deplyoment
6d8727
BuildArch:	noarch
6d8727
Group:		System/Monitoring
6d8727
%description prometheus-alerts
12fe4d
This package provides Ceph default alerts for Prometheus.
6d8727
6d8727
#################################################################################
6d8727
# common
6d8727
#################################################################################
6d8727
%prep
1bd08a
%autosetup -p1
6d8727
6d8727
%build
ca590e
# Disable lto on systems that do not support symver attribute
ca590e
# See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200 for details
ca590e
%if ( 0%{?rhel} && 0%{?rhel} < 9 ) || ( 0%{?suse_version} && 0%{?suse_version} <= 1500 )
ca590e
 %define _lto_cflags %{nil}
ca590e
%endif
6d8727
ca590e
ca590e
%if 0%{with seastar} && 0%{?rhel}
ca590e
. /opt/rh/gcc-toolset-9/enable
ca590e
%endif
6d8727
6d8727
%if 0%{with cephfs_java}
6d8727
# Find jni.h
6d8727
for i in /usr/{lib64,lib}/jvm/java/include{,/linux}; do
6d8727
    [ -d $i ] && java_inc="$java_inc -I$i"
6d8727
done
6d8727
%endif
6d8727
6d8727
%if 0%{?suse_version}
ca590e
%limit_build -m 3000
6d8727
%endif
6d8727
6d8727
export CPPFLAGS="$java_inc"
6d8727
export CFLAGS="$RPM_OPT_FLAGS"
6d8727
export CXXFLAGS="$RPM_OPT_FLAGS"
6d8727
export LDFLAGS="$RPM_LD_FLAGS"
6d8727
12fe4d
%if 0%{with seastar}
12fe4d
# seastar uses longjmp() to implement coroutine. and this annoys longjmp_chk()
12fe4d
export CXXFLAGS=$(echo $RPM_OPT_FLAGS | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//g')
e577eb
# remove from CFLAGS too because it causes the arrow submodule to fail with:
e577eb
#   warning _FORTIFY_SOURCE requires compiling with optimization (-O)
e577eb
export CFLAGS=$(echo $RPM_OPT_FLAGS | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//g')
12fe4d
%endif
12fe4d
6d8727
env | sort
6d8727
ca590e
%{?!_vpath_builddir:%global _vpath_builddir %{_target_platform}}
ca590e
ca590e
# TODO: drop this step once we can use `cmake -B`
ca590e
mkdir -p %{_vpath_builddir}
ca590e
%{cmake} . \
ca590e
    -GNinja \
6d8727
    -DCMAKE_BUILD_TYPE=RelWithDebInfo \
6d8727
    -DBUILD_CONFIG=rpmbuild \
6d8727
    -DCMAKE_INSTALL_PREFIX=%{_prefix} \
ca590e
    -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \
ca590e
    -DCMAKE_INSTALL_LIBEXECDIR:PATH=%{_libexecdir} \
ca590e
    -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=%{_localstatedir} \
ca590e
    -DCMAKE_INSTALL_SYSCONFDIR:PATH=%{_sysconfdir} \
ca590e
    -DCMAKE_INSTALL_MANDIR:PATH=%{_mandir} \
ca590e
    -DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/ceph \
ca590e
    -DCMAKE_INSTALL_INCLUDEDIR:PATH=%{_includedir} \
ca590e
    -DSYSTEMD_SYSTEM_UNIT_DIR:PATH=%{_unitdir} \
ca590e
    -DWITH_MANPAGE:BOOL=ON \
ca590e
    -DWITH_PYTHON3:STRING=%{python3_version} \
ca590e
    -DWITH_MGR_DASHBOARD_FRONTEND:BOOL=OFF \
6d8727
%if 0%{without ceph_test_package}
ca590e
    -DWITH_TESTS:BOOL=OFF \
6d8727
%endif
6d8727
%if 0%{with cephfs_java}
ca590e
    -DWITH_CEPHFS_JAVA:BOOL=ON \
6d8727
%endif
6d8727
%if 0%{with selinux}
ca590e
    -DWITH_SELINUX:BOOL=ON \
6d8727
%endif
6d8727
%if %{with lttng}
ca590e
    -DWITH_LTTNG:BOOL=ON \
ca590e
    -DWITH_BABELTRACE:BOOL=ON \
6d8727
%else
ca590e
    -DWITH_LTTNG:BOOL=OFF \
ca590e
    -DWITH_BABELTRACE:BOOL=OFF \
6d8727
%endif
6d8727
    $CEPH_EXTRA_CMAKE_ARGS \
6d8727
%if 0%{with ocf}
ca590e
    -DWITH_OCF:BOOL=ON \
6d8727
%endif
12fe4d
%if 0%{?fedora}
bcc9c9
    -DWITH_SYSTEM_ROCKSDB:BOOL=ON \
6d8727
%endif
bcc9c9
    -DWITH_SYSTEM_LIBURING:BOOL=OFF \
bcc9c9
    -DWITH_SYSTEM_BOOST:BOOL=OFF \
6d8727
%if 0%{with cephfs_shell}
ca590e
    -DWITH_CEPHFS_SHELL:BOOL=ON \
6d8727
%endif
6d8727
%if 0%{with libradosstriper}
ca590e
    -DWITH_LIBRADOSSTRIPER:BOOL=ON \
6d8727
%else
ca590e
    -DWITH_LIBRADOSSTRIPER:BOOL=OFF \
6d8727
%endif
6d8727
%if 0%{with amqp_endpoint}
ca590e
    -DWITH_RADOSGW_AMQP_ENDPOINT:BOOL=ON \
6d8727
%else
ca590e
    -DWITH_RADOSGW_AMQP_ENDPOINT:BOOL=OFF \
6d8727
%endif
6d8727
%if 0%{with kafka_endpoint}
ca590e
    -DWITH_RADOSGW_KAFKA_ENDPOINT:BOOL=ON \
6d8727
%else
ca590e
    -DWITH_RADOSGW_KAFKA_ENDPOINT:BOOL=OFF \
6d8727
%endif
12fe4d
%if 0%{without lua_packages}
ca590e
    -DWITH_RADOSGW_LUA_PACKAGES:BOOL=OFF \
12fe4d
%endif
12fe4d
%if 0%{with zbd}
ca590e
    -DWITH_ZBD:BOOL=ON \
12fe4d
%endif
6d8727
%if 0%{with cmake_verbose_logging}
ca590e
    -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
6d8727
%endif
12fe4d
%if 0%{with rbd_rwl_cache}
ca590e
    -DWITH_RBD_RWL:BOOL=ON \
12fe4d
%endif
12fe4d
%if 0%{with rbd_ssd_cache}
ca590e
    -DWITH_RBD_SSD_CACHE:BOOL=ON \
12fe4d
%endif
94e688
%if 0%{with system_pmdk}
12fe4d
    -DWITH_SYSTEM_PMDK:BOOL=ON \
12fe4d
%endif
ca590e
%if 0%{with jaeger}
ca590e
    -DWITH_JAEGER:BOOL=ON \
ca590e
%endif
ca590e
%if 0%{?suse_version}
ca590e
    -DBOOST_J:STRING=%{jobs} \
ca590e
%else
ca590e
    -DBOOST_J:STRING=%{_smp_build_ncpus} \
ca590e
%endif
ca590e
%if 0%{with ceph_test_package}
ca590e
    -DWITH_SYSTEM_GTEST:BOOL=ON \
ca590e
%endif
bcc9c9
    -DWITH_SYSTEM_ZSTD:BOOL=ON \
bcc9c9
%if 0%{?rhel}
bcc9c9
    -DWITH_FMT_HEADER_ONLY:BOOL=ON \
bcc9c9
%endif
e577eb
%if 0%{with system_arrow}
e577eb
    -DWITH_SYSTEM_ARROW:BOOL=ON \
e577eb
%endif
e577eb
%if 0%{with system_utf8proc}
e577eb
    -DWITH_SYSTEM_UTF8PROC:BOOL=ON \
e577eb
%endif
ca590e
    -DWITH_GRAFANA:BOOL=ON
6d8727
6d8727
%if %{with cmake_verbose_logging}
e577eb
#cat ./%{_vpath_builddir}/CMakeFiles/CMakeOutput.log
e577eb
#cat ./%{_vpath_builddir}/CMakeFiles/CMakeError.log
e577eb
#cd %{_vpath_builddir} && cmake -LA
6d8727
%endif
6d8727
6d8727
export VERBOSE=1
6d8727
export V=1
bcc9c9
export GCC_COLORS=
ca590e
%cmake_build
6d8727
6d8727
%if 0%{with make_check}
6d8727
%check
6d8727
# run in-tree unittests
ca590e
# cd %{_vpath_builddir}
6d8727
# ctest "$CEPH_MFLAGS_JOBS"
6d8727
%endif
6d8727
6d8727
%install
ca590e
%cmake_install
6d8727
# we have dropped sysvinit bits
6d8727
rm -f %{buildroot}/%{_sysconfdir}/init.d/ceph
12fe4d
%if 0%{with seastar}
12fe4d
# package crimson-osd with the name of ceph-osd
12fe4d
install -m 0755 %{buildroot}%{_bindir}/crimson-osd %{buildroot}%{_bindir}/ceph-osd
12fe4d
%endif
12fe4d
6d8727
install -m 0644 -D src/etc-rbdmap %{buildroot}%{_sysconfdir}/ceph/rbdmap
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
install -m 0644 -D etc/sysconfig/ceph %{buildroot}%{_sysconfdir}/sysconfig/ceph
6d8727
%endif
6d8727
%if 0%{?suse_version}
6d8727
install -m 0644 -D etc/sysconfig/ceph %{buildroot}%{_fillupdir}/sysconfig.%{name}
6d8727
%endif
6d8727
install -m 0644 -D systemd/ceph.tmpfiles.d %{buildroot}%{_tmpfilesdir}/ceph-common.conf
12fe4d
install -m 0644 -D systemd/50-ceph.preset %{buildroot}%{_presetdir}/50-ceph.preset
6d8727
mkdir -p %{buildroot}%{_sbindir}
6d8727
install -m 0644 -D src/logrotate.conf %{buildroot}%{_sysconfdir}/logrotate.d/ceph
6d8727
chmod 0644 %{buildroot}%{_docdir}/ceph/sample.ceph.conf
6d8727
install -m 0644 -D COPYING %{buildroot}%{_docdir}/ceph/COPYING
6d8727
install -m 0644 -D etc/sysctl/90-ceph-osd.conf %{buildroot}%{_sysctldir}/90-ceph-osd.conf
12fe4d
install -m 0755 -D src/tools/rbd_nbd/rbd-nbd_quiesce %{buildroot}%{_libexecdir}/rbd-nbd/rbd-nbd_quiesce
6d8727
59b6a2
%if 0%{with cephadm}
6d8727
install -m 0755 src/cephadm/cephadm %{buildroot}%{_sbindir}/cephadm
6d8727
mkdir -p %{buildroot}%{_sharedstatedir}/cephadm
6d8727
chmod 0700 %{buildroot}%{_sharedstatedir}/cephadm
6d8727
mkdir -p %{buildroot}%{_sharedstatedir}/cephadm/.ssh
6d8727
chmod 0700 %{buildroot}%{_sharedstatedir}/cephadm/.ssh
6d8727
touch %{buildroot}%{_sharedstatedir}/cephadm/.ssh/authorized_keys
6d8727
chmod 0600 %{buildroot}%{_sharedstatedir}/cephadm/.ssh/authorized_keys
59b6a2
%endif
6d8727
6d8727
# firewall templates and /sbin/mount.ceph symlink
81fb12
%if 0%{?suse_version} && !0%{?usrmerged}
6d8727
mkdir -p %{buildroot}/sbin
6d8727
ln -sf %{_sbindir}/mount.ceph %{buildroot}/sbin/mount.ceph
6d8727
%endif
6d8727
6d8727
# udev rules
6d8727
install -m 0644 -D udev/50-rbd.rules %{buildroot}%{_udevrulesdir}/50-rbd.rules
6d8727
6d8727
# sudoers.d
94e688
install -m 0440 -D sudoers.d/ceph-smartctl %{buildroot}%{_sysconfdir}/sudoers.d/ceph-smartctl
6d8727
6d8727
%if 0%{?rhel} >= 8
6d8727
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{_bindir}/*
6d8727
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{_sbindir}/*
6d8727
%endif
6d8727
6d8727
#set up placeholder directories
6d8727
mkdir -p %{buildroot}%{_sysconfdir}/ceph
6d8727
mkdir -p %{buildroot}%{_localstatedir}/run/ceph
6d8727
mkdir -p %{buildroot}%{_localstatedir}/log/ceph
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/tmp
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/mon
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/osd
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/mds
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/mgr
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/crash
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/crash/posted
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/radosgw
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-osd
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-mds
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rgw
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-mgr
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rbd
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rbd-mirror
6d8727
6d8727
# prometheus alerts
ca590e
install -m 644 -D monitoring/ceph-mixin/prometheus_alerts.yml %{buildroot}/etc/prometheus/ceph/ceph_default_alerts.yml
6d8727
6d8727
%if 0%{?suse_version}
6d8727
# create __pycache__ directories and their contents
6d8727
%py3_compile %{buildroot}%{python3_sitelib}
6d8727
# hardlink duplicate files under /usr to save space
6d8727
%fdupes %{buildroot}%{_prefix}
6d8727
%endif
6d8727
cdd4fb
%if 0%{?rhel} == 8 || 0%{?fedora} >= 33
6d8727
%py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}
6d8727
%endif
6d8727
59b6a2
%if 0%{without cephadm}
59b6a2
rm -f %{buildroot}%{_mandir}/man8/cephadm.8*
59b6a2
%endif
59b6a2
6d8727
#################################################################################
6d8727
# files and systemd scriptlets
6d8727
#################################################################################
6d8727
%files
6d8727
6d8727
%files base
6d8727
%{_bindir}/ceph-crash
6d8727
%{_bindir}/crushtool
6d8727
%{_bindir}/monmaptool
6d8727
%{_bindir}/osdmaptool
6d8727
%{_bindir}/ceph-kvstore-tool
6d8727
%{_bindir}/ceph-run
12fe4d
%{_presetdir}/50-ceph.preset
6d8727
%{_sbindir}/ceph-create-keys
6d8727
%dir %{_libexecdir}/ceph
6d8727
%{_libexecdir}/ceph/ceph_common.sh
6d8727
%dir %{_libdir}/rados-classes
6d8727
%{_libdir}/rados-classes/*
6d8727
%dir %{_libdir}/ceph
6d8727
%dir %{_libdir}/ceph/erasure-code
6d8727
%{_libdir}/ceph/erasure-code/libec_*.so*
6d8727
%dir %{_libdir}/ceph/compressor
6d8727
%{_libdir}/ceph/compressor/libceph_*.so*
6d8727
%{_unitdir}/ceph-crash.service
6d8727
%dir %{_libdir}/ceph/crypto
6d8727
%{_libdir}/ceph/crypto/libceph_*.so*
6d8727
%if %{with lttng}
6d8727
%{_libdir}/libos_tp.so*
6d8727
%{_libdir}/libosd_tp.so*
6d8727
%endif
6d8727
%config(noreplace) %{_sysconfdir}/logrotate.d/ceph
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%config(noreplace) %{_sysconfdir}/sysconfig/ceph
6d8727
%endif
6d8727
%if 0%{?suse_version}
6d8727
%{_fillupdir}/sysconfig.*
6d8727
%endif
6d8727
%{_unitdir}/ceph.target
6d8727
%{_mandir}/man8/ceph-create-keys.8*
6d8727
%{_mandir}/man8/ceph-run.8*
6d8727
%{_mandir}/man8/crushtool.8*
6d8727
%{_mandir}/man8/osdmaptool.8*
6d8727
%{_mandir}/man8/monmaptool.8*
6d8727
%{_mandir}/man8/ceph-kvstore-tool.8*
6d8727
#set up placeholder directories
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/crash
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/crash/posted
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/tmp
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-osd
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-mds
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-rgw
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-mgr
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-rbd
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-rbd-mirror
94e688
%{_sysconfdir}/sudoers.d/ceph-smartctl
6d8727
6d8727
%post base
6d8727
/sbin/ldconfig
6d8727
%if 0%{?suse_version}
6d8727
%fillup_only
6d8727
if [ $1 -eq 1 ] ; then
6d8727
/usr/bin/systemctl preset ceph.target ceph-crash.service >/dev/null 2>&1 || :
6d8727
fi
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_post ceph.target ceph-crash.service
6d8727
%endif
6d8727
if [ $1 -eq 1 ] ; then
6d8727
/usr/bin/systemctl start ceph.target ceph-crash.service >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%preun base
6d8727
%if 0%{?suse_version}
6d8727
%service_del_preun ceph.target ceph-crash.service
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_preun ceph.target ceph-crash.service
6d8727
%endif
6d8727
6d8727
%postun base
6d8727
/sbin/ldconfig
6d8727
%systemd_postun ceph.target
6d8727
59b6a2
%if 0%{with cephadm}
6d8727
%pre -n cephadm
6d8727
getent group cephadm >/dev/null || groupadd -r cephadm
6d8727
getent passwd cephadm >/dev/null || useradd -r -g cephadm -s /bin/bash -c "cephadm user for mgr/cephadm" -d %{_sharedstatedir}/cephadm cephadm
6d8727
exit 0
59b6a2
%endif
6d8727
59b6a2
%if 0%{with cephadm}
6d8727
%if ! 0%{?suse_version}
6d8727
%postun -n cephadm
272f9b
[ $1 -ne 0 ] || userdel cephadm || :
6d8727
%endif
59b6a2
%endif
6d8727
59b6a2
%if 0%{with cephadm}
6d8727
%files -n cephadm
6d8727
%{_sbindir}/cephadm
a7ada8
%{_mandir}/man8/cephadm.8*
6d8727
%attr(0700,cephadm,cephadm) %dir %{_sharedstatedir}/cephadm
6d8727
%attr(0700,cephadm,cephadm) %dir %{_sharedstatedir}/cephadm/.ssh
6d8727
%attr(0600,cephadm,cephadm) %{_sharedstatedir}/cephadm/.ssh/authorized_keys
59b6a2
%endif
6d8727
6d8727
%files common
6d8727
%dir %{_docdir}/ceph
6d8727
%doc %{_docdir}/ceph/sample.ceph.conf
6d8727
%license %{_docdir}/ceph/COPYING
6d8727
%{_bindir}/ceph
6d8727
%{_bindir}/ceph-authtool
6d8727
%{_bindir}/ceph-conf
6d8727
%{_bindir}/ceph-dencoder
6d8727
%{_bindir}/ceph-rbdnamer
6d8727
%{_bindir}/ceph-syn
6d8727
%{_bindir}/cephfs-data-scan
6d8727
%{_bindir}/cephfs-journal-tool
6d8727
%{_bindir}/cephfs-table-tool
ca590e
%{_bindir}/crushdiff
6d8727
%{_bindir}/rados
6d8727
%{_bindir}/radosgw-admin
6d8727
%{_bindir}/rbd
6d8727
%{_bindir}/rbd-replay
6d8727
%{_bindir}/rbd-replay-many
6d8727
%{_bindir}/rbdmap
6d8727
%{_sbindir}/mount.ceph
81fb12
%if 0%{?suse_version} && !0%{?usrmerged}
6d8727
/sbin/mount.ceph
6d8727
%endif
6d8727
%if %{with lttng}
6d8727
%{_bindir}/rbd-replay-prep
6d8727
%endif
6d8727
%{_bindir}/ceph-post-file
ca590e
%dir %{_libdir}/ceph/denc
ca590e
%{_libdir}/ceph/denc/denc-mod-*.so
6d8727
%{_tmpfilesdir}/ceph-common.conf
6d8727
%{_mandir}/man8/ceph-authtool.8*
6d8727
%{_mandir}/man8/ceph-conf.8*
6d8727
%{_mandir}/man8/ceph-dencoder.8*
cdd4fb
%{_mandir}/man8/ceph-diff-sorted.8*
6d8727
%{_mandir}/man8/ceph-rbdnamer.8*
6d8727
%{_mandir}/man8/ceph-syn.8*
6d8727
%{_mandir}/man8/ceph-post-file.8*
6d8727
%{_mandir}/man8/ceph.8*
ca590e
%{_mandir}/man8/crushdiff.8*
6d8727
%{_mandir}/man8/mount.ceph.8*
6d8727
%{_mandir}/man8/rados.8*
6d8727
%{_mandir}/man8/radosgw-admin.8*
6d8727
%{_mandir}/man8/rbd.8*
6d8727
%{_mandir}/man8/rbdmap.8*
6d8727
%{_mandir}/man8/rbd-replay.8*
6d8727
%{_mandir}/man8/rbd-replay-many.8*
6d8727
%{_mandir}/man8/rbd-replay-prep.8*
cdd4fb
%{_mandir}/man8/rgw-orphan-list.8*
6d8727
%dir %{_datadir}/ceph/
6d8727
%{_datadir}/ceph/known_hosts_drop.ceph.com
6d8727
%{_datadir}/ceph/id_rsa_drop.ceph.com
6d8727
%{_datadir}/ceph/id_rsa_drop.ceph.com.pub
6d8727
%dir %{_sysconfdir}/ceph/
6d8727
%config %{_sysconfdir}/bash_completion.d/ceph
6d8727
%config %{_sysconfdir}/bash_completion.d/rados
6d8727
%config %{_sysconfdir}/bash_completion.d/rbd
6d8727
%config %{_sysconfdir}/bash_completion.d/radosgw-admin
6d8727
%config(noreplace) %{_sysconfdir}/ceph/rbdmap
6d8727
%{_unitdir}/rbdmap.service
6d8727
%{_udevrulesdir}/50-rbd.rules
6d8727
%attr(3770,ceph,ceph) %dir %{_localstatedir}/log/ceph/
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/
6d8727
6d8727
%pre common
6d8727
CEPH_GROUP_ID=167
6d8727
CEPH_USER_ID=167
6d8727
%if 0%{?rhel} || 0%{?fedora}
6d8727
/usr/sbin/groupadd ceph -g $CEPH_GROUP_ID -o -r 2>/dev/null || :
6d8727
/usr/sbin/useradd ceph -u $CEPH_USER_ID -o -r -g ceph -s /sbin/nologin -c "Ceph daemons" -d %{_localstatedir}/lib/ceph 2>/dev/null || :
6d8727
%endif
6d8727
%if 0%{?suse_version}
6d8727
if ! getent group ceph >/dev/null ; then
6d8727
    CEPH_GROUP_ID_OPTION=""
6d8727
    getent group $CEPH_GROUP_ID >/dev/null || CEPH_GROUP_ID_OPTION="-g $CEPH_GROUP_ID"
6d8727
    groupadd ceph $CEPH_GROUP_ID_OPTION -r 2>/dev/null || :
6d8727
fi
6d8727
if ! getent passwd ceph >/dev/null ; then
6d8727
    CEPH_USER_ID_OPTION=""
6d8727
    getent passwd $CEPH_USER_ID >/dev/null || CEPH_USER_ID_OPTION="-u $CEPH_USER_ID"
6d8727
    useradd ceph $CEPH_USER_ID_OPTION -r -g ceph -s /sbin/nologin 2>/dev/null || :
6d8727
fi
6d8727
usermod -c "Ceph storage service" \
6d8727
        -d %{_localstatedir}/lib/ceph \
6d8727
        -g ceph \
6d8727
        -s /sbin/nologin \
6d8727
        ceph
6d8727
%endif
6d8727
exit 0
6d8727
6d8727
%post common
6d8727
%tmpfiles_create %{_tmpfilesdir}/ceph-common.conf
6d8727
6d8727
%postun common
6d8727
# Package removal cleanup
6d8727
if [ "$1" -eq "0" ] ; then
6d8727
    rm -rf %{_localstatedir}/log/ceph
6d8727
    rm -rf %{_sysconfdir}/ceph
6d8727
fi
6d8727
6d8727
%files mds
6d8727
%{_bindir}/ceph-mds
6d8727
%{_mandir}/man8/ceph-mds.8*
6d8727
%{_unitdir}/ceph-mds@.service
6d8727
%{_unitdir}/ceph-mds.target
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/mds
6d8727
6d8727
%post mds
6d8727
%if 0%{?suse_version}
6d8727
if [ $1 -eq 1 ] ; then
6d8727
  /usr/bin/systemctl preset ceph-mds@\*.service ceph-mds.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_post ceph-mds@\*.service ceph-mds.target
6d8727
%endif
6d8727
if [ $1 -eq 1 ] ; then
6d8727
/usr/bin/systemctl start ceph-mds.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%preun mds
6d8727
%if 0%{?suse_version}
6d8727
%service_del_preun ceph-mds@\*.service ceph-mds.target
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_preun ceph-mds@\*.service ceph-mds.target
6d8727
%endif
6d8727
6d8727
%postun mds
6d8727
%systemd_postun ceph-mds@\*.service ceph-mds.target
6d8727
if [ $1 -ge 1 ] ; then
6d8727
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
6d8727
  # "yes". In any case: if units are not running, do not touch them.
6d8727
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
6d8727
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
6d8727
    source $SYSCONF_CEPH
6d8727
  fi
6d8727
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mds@\*.service > /dev/null 2>&1 || :
6d8727
  fi
6d8727
fi
6d8727
6d8727
%files mgr
6d8727
%{_bindir}/ceph-mgr
6d8727
%dir %{_datadir}/ceph/mgr
6d8727
%{_datadir}/ceph/mgr/mgr_module.*
6d8727
%{_datadir}/ceph/mgr/mgr_util.*
6d8727
%{_unitdir}/ceph-mgr@.service
6d8727
%{_unitdir}/ceph-mgr.target
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/mgr
6d8727
6d8727
%post mgr
6d8727
%if 0%{?suse_version}
6d8727
if [ $1 -eq 1 ] ; then
6d8727
  /usr/bin/systemctl preset ceph-mgr@\*.service ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_post ceph-mgr@\*.service ceph-mgr.target
6d8727
%endif
6d8727
if [ $1 -eq 1 ] ; then
6d8727
/usr/bin/systemctl start ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%preun mgr
6d8727
%if 0%{?suse_version}
6d8727
%service_del_preun ceph-mgr@\*.service ceph-mgr.target
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_preun ceph-mgr@\*.service ceph-mgr.target
6d8727
%endif
6d8727
6d8727
%postun mgr
6d8727
%systemd_postun ceph-mgr@\*.service ceph-mgr.target
6d8727
if [ $1 -ge 1 ] ; then
6d8727
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
6d8727
  # "yes". In any case: if units are not running, do not touch them.
6d8727
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
6d8727
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
6d8727
    source $SYSCONF_CEPH
6d8727
  fi
6d8727
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr@\*.service > /dev/null 2>&1 || :
6d8727
  fi
6d8727
fi
6d8727
6d8727
%files mgr-dashboard
6d8727
%{_datadir}/ceph/mgr/dashboard
6d8727
6d8727
%post mgr-dashboard
6d8727
if [ $1 -eq 1 ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%postun mgr-dashboard
6d8727
if [ $1 -eq 1 ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%files mgr-diskprediction-local
6d8727
%{_datadir}/ceph/mgr/diskprediction_local
6d8727
6d8727
%post mgr-diskprediction-local
6d8727
if [ $1 -eq 1 ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%postun mgr-diskprediction-local
6d8727
if [ $1 -eq 1 ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%files mgr-modules-core
6d8727
%dir %{_datadir}/ceph/mgr
6d8727
%{_datadir}/ceph/mgr/alerts
6d8727
%{_datadir}/ceph/mgr/balancer
6d8727
%{_datadir}/ceph/mgr/crash
6d8727
%{_datadir}/ceph/mgr/devicehealth
6d8727
%{_datadir}/ceph/mgr/influx
6d8727
%{_datadir}/ceph/mgr/insights
6d8727
%{_datadir}/ceph/mgr/iostat
6d8727
%{_datadir}/ceph/mgr/localpool
12fe4d
%{_datadir}/ceph/mgr/mds_autoscaler
12fe4d
%{_datadir}/ceph/mgr/mirroring
9d7972
%{_datadir}/ceph/mgr/nfs
6d8727
%{_datadir}/ceph/mgr/orchestrator
6d8727
%{_datadir}/ceph/mgr/osd_perf_query
6d8727
%{_datadir}/ceph/mgr/osd_support
6d8727
%{_datadir}/ceph/mgr/pg_autoscaler
6d8727
%{_datadir}/ceph/mgr/progress
6d8727
%{_datadir}/ceph/mgr/prometheus
6d8727
%{_datadir}/ceph/mgr/rbd_support
6d8727
%{_datadir}/ceph/mgr/restful
6d8727
%{_datadir}/ceph/mgr/selftest
12fe4d
%{_datadir}/ceph/mgr/snap_schedule
12fe4d
%{_datadir}/ceph/mgr/stats
6d8727
%{_datadir}/ceph/mgr/status
6d8727
%{_datadir}/ceph/mgr/telegraf
6d8727
%{_datadir}/ceph/mgr/telemetry
6d8727
%{_datadir}/ceph/mgr/test_orchestrator
6d8727
%{_datadir}/ceph/mgr/volumes
6d8727
%{_datadir}/ceph/mgr/zabbix
6d8727
6d8727
%files mgr-rook
6d8727
%{_datadir}/ceph/mgr/rook
6d8727
6d8727
%post mgr-rook
6d8727
if [ $1 -eq 1 ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%postun mgr-rook
6d8727
if [ $1 -eq 1 ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%files mgr-k8sevents
6d8727
%{_datadir}/ceph/mgr/k8sevents
6d8727
6d8727
%post mgr-k8sevents
6d8727
if [ $1 -eq 1 ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%postun mgr-k8sevents
6d8727
if [ $1 -eq 1 ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%files mgr-cephadm
6d8727
%{_datadir}/ceph/mgr/cephadm
6d8727
6d8727
%post mgr-cephadm
6d8727
if [ $1 -eq 1 ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%postun mgr-cephadm
6d8727
if [ $1 -eq 1 ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%files mon
6d8727
%{_bindir}/ceph-mon
6d8727
%{_bindir}/ceph-monstore-tool
6d8727
%{_mandir}/man8/ceph-mon.8*
6d8727
%{_unitdir}/ceph-mon@.service
6d8727
%{_unitdir}/ceph-mon.target
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/mon
6d8727
6d8727
%post mon
6d8727
%if 0%{?suse_version}
6d8727
if [ $1 -eq 1 ] ; then
6d8727
  /usr/bin/systemctl preset ceph-mon@\*.service ceph-mon.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_post ceph-mon@\*.service ceph-mon.target
6d8727
%endif
6d8727
if [ $1 -eq 1 ] ; then
6d8727
/usr/bin/systemctl start ceph-mon.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%preun mon
6d8727
%if 0%{?suse_version}
6d8727
%service_del_preun ceph-mon@\*.service ceph-mon.target
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_preun ceph-mon@\*.service ceph-mon.target
6d8727
%endif
6d8727
6d8727
%postun mon
6d8727
%systemd_postun ceph-mon@\*.service ceph-mon.target
6d8727
if [ $1 -ge 1 ] ; then
6d8727
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
6d8727
  # "yes". In any case: if units are not running, do not touch them.
6d8727
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
6d8727
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
6d8727
    source $SYSCONF_CEPH
6d8727
  fi
6d8727
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mon@\*.service > /dev/null 2>&1 || :
6d8727
  fi
6d8727
fi
6d8727
6d8727
%files fuse
6d8727
%{_bindir}/ceph-fuse
6d8727
%{_mandir}/man8/ceph-fuse.8*
6d8727
%{_sbindir}/mount.fuse.ceph
12fe4d
%{_mandir}/man8/mount.fuse.ceph.8*
6d8727
%{_unitdir}/ceph-fuse@.service
6d8727
%{_unitdir}/ceph-fuse.target
6d8727
12fe4d
%files -n cephfs-mirror
12fe4d
%{_bindir}/cephfs-mirror
12fe4d
%{_mandir}/man8/cephfs-mirror.8*
12fe4d
%{_unitdir}/cephfs-mirror@.service
12fe4d
%{_unitdir}/cephfs-mirror.target
12fe4d
12fe4d
%post -n cephfs-mirror
12fe4d
%if 0%{?suse_version}
12fe4d
if [ $1 -eq 1 ] ; then
12fe4d
  /usr/bin/systemctl preset cephfs-mirror@\*.service cephfs-mirror.target >/dev/null 2>&1 || :
12fe4d
fi
12fe4d
%endif
12fe4d
%if 0%{?fedora} || 0%{?rhel}
12fe4d
%systemd_post cephfs-mirror@\*.service cephfs-mirror.target
12fe4d
%endif
12fe4d
if [ $1 -eq 1 ] ; then
12fe4d
/usr/bin/systemctl start cephfs-mirror.target >/dev/null 2>&1 || :
12fe4d
fi
12fe4d
12fe4d
%preun -n cephfs-mirror
12fe4d
%if 0%{?suse_version}
12fe4d
%service_del_preun cephfs-mirror@\*.service cephfs-mirror.target
12fe4d
%endif
12fe4d
%if 0%{?fedora} || 0%{?rhel}
12fe4d
%systemd_preun cephfs-mirror@\*.service cephfs-mirror.target
12fe4d
%endif
12fe4d
12fe4d
%postun -n cephfs-mirror
12fe4d
%systemd_postun cephfs-mirror@\*.service cephfs-mirror.target
12fe4d
if [ $1 -ge 1 ] ; then
12fe4d
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
12fe4d
  # "yes". In any case: if units are not running, do not touch them.
12fe4d
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
12fe4d
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
12fe4d
    source $SYSCONF_CEPH
12fe4d
  fi
12fe4d
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
12fe4d
    /usr/bin/systemctl try-restart cephfs-mirror@\*.service > /dev/null 2>&1 || :
12fe4d
  fi
12fe4d
fi
12fe4d
6d8727
%files -n rbd-fuse
6d8727
%{_bindir}/rbd-fuse
6d8727
%{_mandir}/man8/rbd-fuse.8*
6d8727
6d8727
%files -n rbd-mirror
6d8727
%{_bindir}/rbd-mirror
6d8727
%{_mandir}/man8/rbd-mirror.8*
6d8727
%{_unitdir}/ceph-rbd-mirror@.service
6d8727
%{_unitdir}/ceph-rbd-mirror.target
6d8727
6d8727
%post -n rbd-mirror
6d8727
%if 0%{?suse_version}
6d8727
if [ $1 -eq 1 ] ; then
6d8727
  /usr/bin/systemctl preset ceph-rbd-mirror@\*.service ceph-rbd-mirror.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_post ceph-rbd-mirror@\*.service ceph-rbd-mirror.target
6d8727
%endif
6d8727
if [ $1 -eq 1 ] ; then
6d8727
/usr/bin/systemctl start ceph-rbd-mirror.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%preun -n rbd-mirror
6d8727
%if 0%{?suse_version}
6d8727
%service_del_preun ceph-rbd-mirror@\*.service ceph-rbd-mirror.target
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_preun ceph-rbd-mirror@\*.service ceph-rbd-mirror.target
6d8727
%endif
6d8727
6d8727
%postun -n rbd-mirror
6d8727
%systemd_postun ceph-rbd-mirror@\*.service ceph-rbd-mirror.target
6d8727
if [ $1 -ge 1 ] ; then
6d8727
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
6d8727
  # "yes". In any case: if units are not running, do not touch them.
6d8727
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
6d8727
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
6d8727
    source $SYSCONF_CEPH
6d8727
  fi
6d8727
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-rbd-mirror@\*.service > /dev/null 2>&1 || :
6d8727
  fi
6d8727
fi
6d8727
6d8727
%files immutable-object-cache
6d8727
%{_bindir}/ceph-immutable-object-cache
6d8727
%{_mandir}/man8/ceph-immutable-object-cache.8*
6d8727
%{_unitdir}/ceph-immutable-object-cache@.service
6d8727
%{_unitdir}/ceph-immutable-object-cache.target
6d8727
6d8727
%post immutable-object-cache
6d8727
%if 0%{?suse_version}
6d8727
if [ $1 -eq 1 ] ; then
6d8727
  /usr/bin/systemctl preset ceph-immutable-object-cache@\*.service ceph-immutable-object-cache.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_post ceph-immutable-object-cache@\*.service ceph-immutable-object-cache.target
6d8727
%endif
6d8727
if [ $1 -eq 1 ] ; then
6d8727
/usr/bin/systemctl start ceph-immutable-object-cache.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%preun immutable-object-cache
6d8727
%if 0%{?suse_version}
6d8727
%service_del_preun ceph-immutable-object-cache@\*.service ceph-immutable-object-cache.target
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_preun ceph-immutable-object-cache@\*.service ceph-immutable-object-cache.target
6d8727
%endif
6d8727
6d8727
%postun immutable-object-cache
6d8727
%systemd_postun ceph-immutable-object-cache@\*.service ceph-immutable-object-cache.target
b7b34e
if [ $1 -ge 1 ] ; then
6d8727
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
6d8727
  # "yes". In any case: if units are not running, do not touch them.
6d8727
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
6d8727
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
6d8727
    source $SYSCONF_CEPH
6d8727
  fi
6d8727
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-immutable-object-cache@\*.service > /dev/null 2>&1 || :
6d8727
  fi
6d8727
fi
6d8727
6d8727
%files -n rbd-nbd
6d8727
%{_bindir}/rbd-nbd
6d8727
%{_mandir}/man8/rbd-nbd.8*
12fe4d
%dir %{_libexecdir}/rbd-nbd
12fe4d
%{_libexecdir}/rbd-nbd/rbd-nbd_quiesce
6d8727
6d8727
%files radosgw
cdd4fb
%{_bindir}/ceph-diff-sorted
6d8727
%{_bindir}/radosgw
6d8727
%{_bindir}/radosgw-token
6d8727
%{_bindir}/radosgw-es
6d8727
%{_bindir}/radosgw-object-expirer
12fe4d
%{_bindir}/rgw-gap-list
12fe4d
%{_bindir}/rgw-gap-list-comparator
cdd4fb
%{_bindir}/rgw-orphan-list
6d8727
%{_libdir}/libradosgw.so*
6d8727
%{_mandir}/man8/radosgw.8*
6d8727
%dir %{_localstatedir}/lib/ceph/radosgw
6d8727
%{_unitdir}/ceph-radosgw@.service
6d8727
%{_unitdir}/ceph-radosgw.target
6d8727
6d8727
%post radosgw
6d8727
/sbin/ldconfig
6d8727
%if 0%{?suse_version}
6d8727
if [ $1 -eq 1 ] ; then
6d8727
  /usr/bin/systemctl preset ceph-radosgw@\*.service ceph-radosgw.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_post ceph-radosgw@\*.service ceph-radosgw.target
6d8727
%endif
6d8727
if [ $1 -eq 1 ] ; then
6d8727
/usr/bin/systemctl start ceph-radosgw.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%preun radosgw
6d8727
%if 0%{?suse_version}
6d8727
%service_del_preun ceph-radosgw@\*.service ceph-radosgw.target
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_preun ceph-radosgw@\*.service ceph-radosgw.target
6d8727
%endif
6d8727
6d8727
%postun radosgw
6d8727
/sbin/ldconfig
6d8727
%systemd_postun ceph-radosgw@\*.service ceph-radosgw.target
6d8727
if [ $1 -ge 1 ] ; then
6d8727
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
6d8727
  # "yes". In any case: if units are not running, do not touch them.
6d8727
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
6d8727
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
6d8727
    source $SYSCONF_CEPH
6d8727
  fi
6d8727
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-radosgw@\*.service > /dev/null 2>&1 || :
6d8727
  fi
6d8727
fi
6d8727
6d8727
%files osd
6d8727
%{_bindir}/ceph-clsinfo
6d8727
%{_bindir}/ceph-bluestore-tool
12fe4d
%{_bindir}/ceph-erasure-code-tool
6d8727
%{_bindir}/ceph-objectstore-tool
6d8727
%{_bindir}/ceph-osdomap-tool
6d8727
%{_bindir}/ceph-osd
6d8727
%{_libexecdir}/ceph/ceph-osd-prestart.sh
6d8727
%{_mandir}/man8/ceph-clsinfo.8*
6d8727
%{_mandir}/man8/ceph-osd.8*
6d8727
%{_mandir}/man8/ceph-bluestore-tool.8*
6d8727
%{_unitdir}/ceph-osd@.service
6d8727
%{_unitdir}/ceph-osd.target
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/osd
6d8727
%config(noreplace) %{_sysctldir}/90-ceph-osd.conf
6d8727
6d8727
%post osd
6d8727
%if 0%{?suse_version}
6d8727
if [ $1 -eq 1 ] ; then
ca590e
  /usr/bin/systemctl preset ceph-osd@\*.service ceph-osd.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_post ceph-osd@\*.service ceph-volume@\*.service ceph-osd.target
6d8727
%endif
6d8727
if [ $1 -eq 1 ] ; then
6d8727
/usr/bin/systemctl start ceph-osd.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
%if 0%{?sysctl_apply}
6d8727
    %sysctl_apply 90-ceph-osd.conf
6d8727
%else
6d8727
    /usr/lib/systemd/systemd-sysctl %{_sysctldir}/90-ceph-osd.conf > /dev/null 2>&1 || :
6d8727
%endif
6d8727
6d8727
%preun osd
6d8727
%if 0%{?suse_version}
ca590e
%service_del_preun ceph-osd@\*.service ceph-osd.target
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
ca590e
%systemd_preun ceph-osd@\*.service ceph-osd.target
6d8727
%endif
6d8727
6d8727
%postun osd
6d8727
%systemd_postun ceph-osd@\*.service ceph-volume@\*.service ceph-osd.target
6d8727
if [ $1 -ge 1 ] ; then
6d8727
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
6d8727
  # "yes". In any case: if units are not running, do not touch them.
6d8727
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
6d8727
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
6d8727
    source $SYSCONF_CEPH
6d8727
  fi
6d8727
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-osd@\*.service ceph-volume@\*.service > /dev/null 2>&1 || :
6d8727
  fi
6d8727
fi
6d8727
6d8727
%if 0%{with seastar}
6d8727
%files crimson-osd
6d8727
%{_bindir}/crimson-osd
6d8727
%endif
6d8727
ca590e
%files volume
ca590e
%{_sbindir}/ceph-volume
ca590e
%{_sbindir}/ceph-volume-systemd
ca590e
%dir %{python3_sitelib}/ceph_volume
ca590e
%{python3_sitelib}/ceph_volume/*
ca590e
%{python3_sitelib}/ceph_volume-*
ca590e
%{_mandir}/man8/ceph-volume.8*
ca590e
%{_mandir}/man8/ceph-volume-systemd.8*
ca590e
%{_unitdir}/ceph-volume@.service
ca590e
ca590e
%post volume
ca590e
%if 0%{?suse_version}
ca590e
if [ $1 -eq 1 ] ; then
ca590e
  /usr/bin/systemctl preset ceph-volume@\*.service >/dev/null 2>&1 || :
ca590e
fi
ca590e
%endif
ca590e
%if 0%{?fedora} || 0%{?rhel}
ca590e
%systemd_post ceph-volume@\*.service
ca590e
%endif
ca590e
ca590e
%preun volume
ca590e
%if 0%{?suse_version}
ca590e
%service_del_preun ceph-volume@\*.service
ca590e
%endif
ca590e
%if 0%{?fedora} || 0%{?rhel}
ca590e
%systemd_preun ceph-volume@\*.service
ca590e
%endif
ca590e
ca590e
%postun volume
ca590e
%systemd_postun ceph-volume@\*.service
ca590e
if [ $1 -ge 1 ] ; then
ca590e
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
ca590e
  # "yes". In any case: if units are not running, do not touch them.
ca590e
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
ca590e
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
ca590e
    source $SYSCONF_CEPH
ca590e
  fi
ca590e
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
ca590e
    /usr/bin/systemctl try-restart ceph-volume@\*.service > /dev/null 2>&1 || :
ca590e
  fi
ca590e
fi
ca590e
6d8727
%if %{with ocf}
6d8727
6d8727
%files resource-agents
6d8727
%dir %{_prefix}/lib/ocf
6d8727
%dir %{_prefix}/lib/ocf/resource.d
6d8727
%dir %{_prefix}/lib/ocf/resource.d/ceph
6d8727
%attr(0755,-,-) %{_prefix}/lib/ocf/resource.d/ceph/rbd
6d8727
6d8727
%endif
6d8727
6d8727
%files -n librados2
6d8727
%{_libdir}/librados.so.*
6d8727
%dir %{_libdir}/ceph
6d8727
%{_libdir}/ceph/libceph-common.so.*
6d8727
%if %{with lttng}
6d8727
%{_libdir}/librados_tp.so.*
6d8727
%endif
6d8727
%dir %{_sysconfdir}/ceph
6d8727
6d8727
%post -n librados2 -p /sbin/ldconfig
6d8727
6d8727
%postun -n librados2 -p /sbin/ldconfig
6d8727
6d8727
%files -n librados-devel
6d8727
%dir %{_includedir}/rados
6d8727
%{_includedir}/rados/librados.h
6d8727
%{_includedir}/rados/rados_types.h
6d8727
%{_libdir}/librados.so
6d8727
%if %{with lttng}
6d8727
%{_libdir}/librados_tp.so
6d8727
%endif
6d8727
%{_bindir}/librados-config
6d8727
%{_mandir}/man8/librados-config.8*
6d8727
6d8727
%files -n libradospp-devel
6d8727
%dir %{_includedir}/rados
6d8727
%{_includedir}/rados/buffer.h
6d8727
%{_includedir}/rados/buffer_fwd.h
6d8727
%{_includedir}/rados/crc32c.h
6d8727
%{_includedir}/rados/inline_memory.h
6d8727
%{_includedir}/rados/librados.hpp
6d8727
%{_includedir}/rados/librados_fwd.hpp
6d8727
%{_includedir}/rados/page.h
6d8727
%{_includedir}/rados/rados_types.hpp
6d8727
6d8727
%files -n python%{python3_pkgversion}-rados
6d8727
%{python3_sitearch}/rados.cpython*.so
6d8727
%{python3_sitearch}/rados-*.egg-info
6d8727
81fb12
%files -n libcephsqlite
81fb12
%{_libdir}/libcephsqlite.so
81fb12
81fb12
%post -n libcephsqlite -p /sbin/ldconfig
81fb12
81fb12
%postun -n libcephsqlite -p /sbin/ldconfig
81fb12
81fb12
%files -n libcephsqlite-devel
81fb12
%{_includedir}/libcephsqlite.h
81fb12
6d8727
%if 0%{with libradosstriper}
6d8727
%files -n libradosstriper1
6d8727
%{_libdir}/libradosstriper.so.*
6d8727
6d8727
%post -n libradosstriper1 -p /sbin/ldconfig
6d8727
6d8727
%postun -n libradosstriper1 -p /sbin/ldconfig
6d8727
6d8727
%files -n libradosstriper-devel
6d8727
%dir %{_includedir}/radosstriper
6d8727
%{_includedir}/radosstriper/libradosstriper.h
6d8727
%{_includedir}/radosstriper/libradosstriper.hpp
6d8727
%{_libdir}/libradosstriper.so
6d8727
%endif
6d8727
6d8727
%files -n librbd1
6d8727
%{_libdir}/librbd.so.*
6d8727
%if %{with lttng}
6d8727
%{_libdir}/librbd_tp.so.*
6d8727
%endif
12fe4d
%dir %{_libdir}/ceph/librbd
12fe4d
%{_libdir}/ceph/librbd/libceph_*.so*
6d8727
6d8727
%post -n librbd1 -p /sbin/ldconfig
6d8727
6d8727
%postun -n librbd1 -p /sbin/ldconfig
6d8727
6d8727
%files -n librbd-devel
6d8727
%dir %{_includedir}/rbd
6d8727
%{_includedir}/rbd/librbd.h
6d8727
%{_includedir}/rbd/librbd.hpp
6d8727
%{_includedir}/rbd/features.h
6d8727
%{_libdir}/librbd.so
6d8727
%if %{with lttng}
6d8727
%{_libdir}/librbd_tp.so
6d8727
%endif
6d8727
6d8727
%files -n librgw2
6d8727
%{_libdir}/librgw.so.*
6d8727
%if %{with lttng}
6d8727
%{_libdir}/librgw_op_tp.so.*
6d8727
%{_libdir}/librgw_rados_tp.so.*
6d8727
%endif
6d8727
6d8727
%post -n librgw2 -p /sbin/ldconfig
6d8727
6d8727
%postun -n librgw2 -p /sbin/ldconfig
6d8727
6d8727
%files -n librgw-devel
6d8727
%dir %{_includedir}/rados
6d8727
%{_includedir}/rados/librgw.h
6d8727
%{_includedir}/rados/rgw_file.h
6d8727
%{_libdir}/librgw.so
6d8727
%if %{with lttng}
6d8727
%{_libdir}/librgw_op_tp.so
6d8727
%{_libdir}/librgw_rados_tp.so
6d8727
%endif
6d8727
6d8727
%files -n python%{python3_pkgversion}-rgw
6d8727
%{python3_sitearch}/rgw.cpython*.so
6d8727
%{python3_sitearch}/rgw-*.egg-info
6d8727
6d8727
%files -n python%{python3_pkgversion}-rbd
6d8727
%{python3_sitearch}/rbd.cpython*.so
6d8727
%{python3_sitearch}/rbd-*.egg-info
6d8727
6d8727
%files -n libcephfs2
6d8727
%{_libdir}/libcephfs.so.*
6d8727
%dir %{_sysconfdir}/ceph
6d8727
6d8727
%post -n libcephfs2 -p /sbin/ldconfig
6d8727
6d8727
%postun -n libcephfs2 -p /sbin/ldconfig
6d8727
6d8727
%files -n libcephfs-devel
6d8727
%dir %{_includedir}/cephfs
6d8727
%{_includedir}/cephfs/libcephfs.h
cdd4fb
%{_includedir}/cephfs/ceph_ll_client.h
12fe4d
%dir %{_includedir}/cephfs/metrics
12fe4d
%{_includedir}/cephfs/metrics/Types.h
6d8727
%{_libdir}/libcephfs.so
6d8727
6d8727
%files -n python%{python3_pkgversion}-cephfs
6d8727
%{python3_sitearch}/cephfs.cpython*.so
6d8727
%{python3_sitearch}/cephfs-*.egg-info
6d8727
6d8727
%files -n python%{python3_pkgversion}-ceph-argparse
6d8727
%{python3_sitelib}/ceph_argparse.py
6d8727
%{python3_sitelib}/__pycache__/ceph_argparse.cpython*.py*
6d8727
%{python3_sitelib}/ceph_daemon.py
6d8727
%{python3_sitelib}/__pycache__/ceph_daemon.cpython*.py*
6d8727
6d8727
%files -n python%{python3_pkgversion}-ceph-common
6d8727
%{python3_sitelib}/ceph
6d8727
%{python3_sitelib}/ceph-*.egg-info
6d8727
6d8727
%if 0%{with cephfs_shell}
6d8727
%files -n cephfs-shell
6d8727
%{python3_sitelib}/cephfs_shell-*.egg-info
6d8727
%{_bindir}/cephfs-shell
ca590e
%{_mandir}/man8/cephfs-shell.8*
6d8727
%endif
6d8727
12fe4d
%files -n cephfs-top
12fe4d
%{python3_sitelib}/cephfs_top-*.egg-info
12fe4d
%{_bindir}/cephfs-top
12fe4d
%{_mandir}/man8/cephfs-top.8*
12fe4d
6d8727
%if 0%{with ceph_test_package}
6d8727
%files -n ceph-test
6d8727
%{_bindir}/ceph-client-debug
6d8727
%{_bindir}/ceph_bench_log
6d8727
%{_bindir}/ceph_multi_stress_watch
6d8727
%{_bindir}/ceph_erasure_code_benchmark
6d8727
%{_bindir}/ceph_omapbench
6d8727
%{_bindir}/ceph_objectstore_bench
6d8727
%{_bindir}/ceph_perf_objectstore
6d8727
%{_bindir}/ceph_perf_local
6d8727
%{_bindir}/ceph_perf_msgr_client
6d8727
%{_bindir}/ceph_perf_msgr_server
6d8727
%{_bindir}/ceph_psim
6d8727
%{_bindir}/ceph_radosacl
6d8727
%{_bindir}/ceph_rgw_jsonparser
6d8727
%{_bindir}/ceph_rgw_multiparser
6d8727
%{_bindir}/ceph_scratchtool
6d8727
%{_bindir}/ceph_scratchtoolpp
6d8727
%{_bindir}/ceph_test_*
6d8727
%{_bindir}/ceph-coverage
6d8727
%{_bindir}/ceph-debugpack
6d8727
%{_bindir}/ceph-dedup-tool
12fe4d
%if 0%{with seastar}
12fe4d
%{_bindir}/crimson-store-nbd
12fe4d
%endif
6d8727
%{_mandir}/man8/ceph-debugpack.8*
6d8727
%dir %{_libdir}/ceph
6d8727
%{_libdir}/ceph/ceph-monstore-update-crush.sh
6d8727
%endif
6d8727
6d8727
%if 0%{with cephfs_java}
6d8727
%files -n libcephfs_jni1
6d8727
%{_libdir}/libcephfs_jni.so.*
6d8727
6d8727
%post -n libcephfs_jni1 -p /sbin/ldconfig
6d8727
6d8727
%postun -n libcephfs_jni1 -p /sbin/ldconfig
6d8727
6d8727
%files -n libcephfs_jni-devel
6d8727
%{_libdir}/libcephfs_jni.so
6d8727
6d8727
%files -n cephfs-java
6d8727
%{_javadir}/libcephfs.jar
6d8727
%{_javadir}/libcephfs-test.jar
6d8727
%endif
6d8727
6d8727
%files -n rados-objclass-devel
6d8727
%dir %{_includedir}/rados
6d8727
%{_includedir}/rados/objclass.h
6d8727
6d8727
%if 0%{with selinux}
6d8727
%files selinux
6d8727
%attr(0600,root,root) %{_datadir}/selinux/packages/ceph.pp
6d8727
%{_datadir}/selinux/devel/include/contrib/ceph.if
6d8727
%{_mandir}/man8/ceph_selinux.8*
6d8727
6d8727
%post selinux
6d8727
# backup file_contexts before update
6d8727
. /etc/selinux/config
6d8727
FILE_CONTEXT=/etc/selinux/${SELINUXTYPE}/contexts/files/file_contexts
6d8727
cp ${FILE_CONTEXT} ${FILE_CONTEXT}.pre
6d8727
6d8727
# Install the policy
6d8727
/usr/sbin/semodule -i %{_datadir}/selinux/packages/ceph.pp
6d8727
6d8727
# Load the policy if SELinux is enabled
6d8727
if ! /usr/sbin/selinuxenabled; then
6d8727
    # Do not relabel if selinux is not enabled
6d8727
    exit 0
6d8727
fi
6d8727
6d8727
if diff ${FILE_CONTEXT} ${FILE_CONTEXT}.pre > /dev/null 2>&1; then
6d8727
   # Do not relabel if file contexts did not change
6d8727
   exit 0
6d8727
fi
6d8727
94e688
# Stop ceph.target while relabeling if CEPH_AUTO_RESTART_ON_UPGRADE=yes
94e688
SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
94e688
if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
94e688
    source $SYSCONF_CEPH
94e688
fi
94e688
6d8727
# Check whether the daemons are running
6d8727
/usr/bin/systemctl status ceph.target > /dev/null 2>&1
6d8727
STATUS=$?
6d8727
6d8727
# Stop the daemons if they were running
6d8727
if test $STATUS -eq 0; then
94e688
    if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
94e688
        /usr/bin/systemctl stop ceph.target > /dev/null 2>&1
94e688
    fi
6d8727
fi
6d8727
6d8727
# Relabel the files fix for first package install
6d8727
/usr/sbin/fixfiles -C ${FILE_CONTEXT}.pre restore 2> /dev/null
6d8727
6d8727
rm -f ${FILE_CONTEXT}.pre
6d8727
# The fixfiles command won't fix label for /var/run/ceph
6d8727
/usr/sbin/restorecon -R /var/run/ceph > /dev/null 2>&1
6d8727
6d8727
# Start the daemons iff they were running before
6d8727
if test $STATUS -eq 0; then
94e688
    if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
94e688
        /usr/bin/systemctl start ceph.target > /dev/null 2>&1 || :
94e688
    fi
6d8727
fi
6d8727
exit 0
6d8727
6d8727
%postun selinux
6d8727
if [ $1 -eq 0 ]; then
6d8727
    # backup file_contexts before update
6d8727
    . /etc/selinux/config
6d8727
    FILE_CONTEXT=/etc/selinux/${SELINUXTYPE}/contexts/files/file_contexts
6d8727
    cp ${FILE_CONTEXT} ${FILE_CONTEXT}.pre
6d8727
6d8727
    # Remove the module
6d8727
    /usr/sbin/semodule -n -r ceph > /dev/null 2>&1
6d8727
6d8727
    # Reload the policy if SELinux is enabled
6d8727
    if ! /usr/sbin/selinuxenabled ; then
6d8727
        # Do not relabel if SELinux is not enabled
6d8727
        exit 0
6d8727
    fi
6d8727
94e688
    # Stop ceph.target while relabeling if CEPH_AUTO_RESTART_ON_UPGRADE=yes
94e688
    SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
94e688
    if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
94e688
        source $SYSCONF_CEPH
94e688
    fi
94e688
6d8727
    # Check whether the daemons are running
6d8727
    /usr/bin/systemctl status ceph.target > /dev/null 2>&1
6d8727
    STATUS=$?
6d8727
6d8727
    # Stop the daemons if they were running
6d8727
    if test $STATUS -eq 0; then
94e688
        if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
94e688
            /usr/bin/systemctl stop ceph.target > /dev/null 2>&1
94e688
        fi
6d8727
    fi
6d8727
6d8727
    /usr/sbin/fixfiles -C ${FILE_CONTEXT}.pre restore 2> /dev/null
6d8727
    rm -f ${FILE_CONTEXT}.pre
6d8727
    # The fixfiles command won't fix label for /var/run/ceph
6d8727
    /usr/sbin/restorecon -R /var/run/ceph > /dev/null 2>&1
6d8727
6d8727
    # Start the daemons if they were running before
6d8727
    if test $STATUS -eq 0; then
94e688
        if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
94e688
           /usr/bin/systemctl start ceph.target > /dev/null 2>&1 || :
94e688
        fi
6d8727
    fi
6d8727
fi
6d8727
exit 0
6d8727
%endif
6d8727
6d8727
%files grafana-dashboards
6d8727
%if 0%{?suse_version}
6d8727
%attr(0755,root,root) %dir %{_sysconfdir}/grafana
6d8727
%attr(0755,root,root) %dir %{_sysconfdir}/grafana/dashboards
6d8727
%endif
6d8727
%attr(0755,root,root) %dir %{_sysconfdir}/grafana/dashboards/ceph-dashboard
6d8727
%config %{_sysconfdir}/grafana/dashboards/ceph-dashboard/*
6d8727
6d8727
%files prometheus-alerts
6d8727
%if 0%{?suse_version}
6d8727
%attr(0755,root,root) %dir %{_sysconfdir}/prometheus
6d8727
%endif
6d8727
%attr(0755,root,root) %dir %{_sysconfdir}/prometheus/ceph
6d8727
%config %{_sysconfdir}/prometheus/ceph/ceph_default_alerts.yml
6d8727
6d8727
%changelog
272f9b
* Wed Jun 22 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:17.2.0-3
272f9b
- 17.2.0, rhbz#2100237
272f9b
25b164
* Wed Apr 27 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:17.2.0-2
25b164
- 17.2.0 w/ system libarrow
25b164
1bd08a
* Wed Apr 20 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:17.2.0-1
1bd08a
- 17.2.0 GA
1bd08a
67d3ca
* Thu Apr 14 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:17.1.0-0.10.201.gcc420538
8a4118
- 17.1.0 snapshot 201
8a4118
e577eb
* Fri Apr 8 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:17.1.0-0.9.175.g086c8f84
e577eb
- 17.1.0 snapshot 175
e577eb
afc3b8
* Tue Apr 5 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:17.1.0-0.8.123.g14f44feb
afc3b8
- 17.1.0 snapshot 123 again
afc3b8
afc3b8
* Mon Mar 28 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:17.1.0-0.7.123.g14f44feb
59b6a2
- 17.1.0 snapshot 123
59b6a2
59b6a2
* Mon Mar 21 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:17.1.0-0.5.56-g60fdd357
59b6a2
- 17.1.0 snapshot 56
59b6a2
9e1e44
* Wed Mar 2 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:17.1.0-0.3.rc1
59b6a2
- 17.1.0, w/o cephadm
59b6a2
59b6a2
* Tue Mar 1 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:17.1.0-0.2.rc1
59b6a2
- 17.1.0 revised patch
9e1e44
ca590e
* Mon Feb 28 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:17.1.0-0.1.rc1
ca590e
- 17.1.0 RC1
ca590e
ca590e
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 2:16.2.7-10
ca590e
- Rebuilt for java-17-openjdk as system jdk
ca590e
ca590e
* Wed Feb 2 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.7-9
ca590e
- 16.2.7, python3.10 w/ __CHAR_UNSIGNED__ fix
ca590e
ca590e
* Thu Jan 27 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.7-8
ca590e
- 16.2.7, w/ modern linker (mold), x86_64 and aarch64, this time for real
ca590e
ca590e
* Wed Jan 26 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.7-7
ca590e
- 16.2.7, build with modern linker (mold), x86_64 and aarch64
ca590e
- reenable ppc64le
ca590e
ca590e
* Tue Jan 25 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.7-6
ca590e
- 16.2.7, more CET enablement, rhbz#2040091
ca590e
ca590e
* Thu Jan 20 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.7-5
ca590e
- 16.2.7, rebuild with gcc-12, exclude ppc64le until fmt on ppc64le is fixed
ca590e
ca590e
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2:16.2.7-4
ca590e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
ca590e
ca590e
* Mon Jan 10 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.7-3
ca590e
- 16.2.7, rebuild with fmt-8.1.1
ca590e
ca590e
* Wed Dec 29 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.7-2
ca590e
- 16.2.7, LGPLv2.1 -> LGPLv2+, rhbz#2036035
ca590e
94e688
* Tue Dec 7 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.7-1
94e688
- 16.2.7 GA
94e688
ca590e
* Tue Nov 02 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2:16.2.6-3
ca590e
- rebuild against new liblttng-ust
ca590e
ca590e
* Tue Oct 19 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.6-2
ca590e
- 16.2.6, rebuild with rocksdb 6.25
ca590e
bcc9c9
* Fri Sep 17 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.6-1
bcc9c9
- 16.2.6 GA
bcc9c9
ca590e
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 2:16.2.5-11
ca590e
- Rebuilt with OpenSSL 3.0.0
ca590e
ca590e
* Mon Sep 6 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.5-10
ca590e
- Rebuilt for gtest 1.11.0
ca590e
ca590e
* Thu Aug 26 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.5-9
ca590e
- Rebuilt for rocksdb 6.22
ca590e
ca590e
* Tue Aug 17 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.5-8
ca590e
- build with ninja, -DWITH_SYSTEM_ZSTD, without gdbm
ca590e
ca590e
* Sun Aug 8 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.5-7
ca590e
- Rebuild for Boost 1.76 again
ca590e
ca590e
* Fri Aug 06 2021 Jonathan Wakely <jwakely@redhat.com> - 2:16.2.5-6
ca590e
- Rebuilt for Boost 1.76
ca590e
ca590e
* Thu Aug 5 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.5-5
ca590e
- Rebuild for leveldb-1.23-3 w/ reverted -fno-rtti
ca590e
ca590e
* Tue Aug 3 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.5-4
ca590e
- Rebuild for leveldb-1.23
ca590e
ca590e
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2:16.2.5-3
ca590e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
ca590e
ca590e
* Thu Jul 8 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.5-2
ca590e
- Rebuild for new fmt version.
b7b34e
9d7972
* Thu Jul 8 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.5-1
9d7972
- 16.2.5 GA
9d7972
ca590e
* Mon Jul 05 2021 Richard Shaw <hobbes1069@gmail.com> - 2:16.2.4-6
ca590e
- Rebuild for new fmt version.
ca590e
ca590e
* Fri Jun 11 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.4-5
ca590e
- https://src.fedoraproject.org/rpms/ceph/pull-request/3#
ca590e
ca590e
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2:16.2.4-4
ca590e
- Rebuilt for Python 3.10
ca590e
ca590e
* Wed May 26 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.4-3
ca590e
- 16.2.4, bz 1964858, snappy::uint32
ca590e
ca590e
* Wed May 19 2021 Pete Walter <pwalter@fedoraproject.org> - 2:16.2.4-2
ca590e
- Rebuild for ICU 69
f49d54
d7dc55
* Thu May 13 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.4-1
d7dc55
- 16.2.4 GA
d7dc55
b9d976
* Thu May 6 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.3-1
b9d976
- 16.2.3 GA
b9d976
7556ff
* Wed May 5 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.2-1
7556ff
- 16.2.2 GA
7556ff
e1f1d2
* Tue Apr 20 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.1-1
e1f1d2
- 16.2.1 GA
e1f1d2
ca590e
* Wed Apr 14 2021 Richard W.M. Jones <rjones@redhat.com> - 2:16.2.0-3
ca590e
- Rebuild for updated liburing.
5a9b7e
ca590e
* Sat Apr 10 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.0-2
ca590e
- 16.2.0, libamqp_mock fix (FTBFS, #1947281), rgw fix
7ec744
81fb12
* Wed Mar 31 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.0-1
81fb12
- 16.2.0 GA
81fb12
ca590e
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 2:16.1.0-2
ca590e
- Rebuilt for removed libstdc++ symbol (#1937698)
02c6b9
99b22e
* Thu Mar 25 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.1.0-1
99b22e
- 16.1.0 RC
99b22e
ca590e
* Tue Mar 23 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.1.0-0.8.snapshot
12fe4d
- 16.1.0 RC (ceph-16.1.0-944-ge53ee8bd plus fix trailing slash bluestore)
a1b8f8
ca590e
* Sat Mar 20 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.1.0-0.7.snapshot
ca590e
- 16.1.0 RC (ceph-16.1.0-944-ge53ee8bd)
ca590e
ca590e
* Fri Mar 19 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.1.0-0.6.snapshot
ca590e
- 16.1.0 RC (ceph-16.1.0-308-gabe639eb)
ca590e
ca590e
* Fri Mar 5 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.1.0-0.5.snapshot
ca590e
- ceph 16.1.0 RC (ceph-16.1.0-308-gabe639eb)
ca590e
-  rpmbuild apparently unable to automatically derive 'Requires: rocksdb' from 'BuildRequires: rocksdb-devel' for librocksdb.so.6.13
ca590e
ca590e
* Sat Feb 20 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.1.0-0.4.snapshot
ca590e
- ceph 16.1.0 RC (ceph-16.1.0-308-gabe639eb)
ca590e
ca590e
* Thu Feb 4 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.1.0-0.3.snapshot
ca590e
- rocksdb not available in el8+, use bundled rocksdb
ca590e
ca590e
* Mon Feb 1 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.1.0-0.2.snapshot
ca590e
- libblk.so -> libblk.a
ca590e
- libneoradostest-support.so -> libneoradostest-support.a
ca590e
- w/ liburing-devel, -DWITH_SYSTEM_LIBURING=ON
ca590e
- w/ rocksdb-devel, -DWITH_SYSTEM_ROCKSDB=ON
ca590e
ca590e
* Fri Jan 29 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.1.0-0.1.snapshot
ca590e
- ceph 16.1.0 RC (ceph-16.1.0-43-g6b74fb5c)
ca590e
12fe4d
* Wed Sep 16 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.5-1
12fe4d
- ceph 15.2.5 GA
52d77a
12fe4d
* Wed Jul 29 2020 Richard W.M. Jones <rjones@redhat.com> - 2:15.2.4-11
12fe4d
- Rebuild against fmt 7.
673bdf
12fe4d
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:15.2.4-10
12fe4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
673bdf
12fe4d
* Tue Jul 21 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.4-9
12fe4d
- %cmake_build and %cmake_install
33311b
12fe4d
* Mon Jul 20 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.4-8
12fe4d
- see 15.2.4-4 (f33-java11) for real this time
12fe4d
- and use %make_install macro
12fe4d
12fe4d
* Mon Jul 20 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.4-7
12fe4d
- see 15.2.4-3, hopefully for real this time
12fe4d
- and use %make_install macro
12fe4d
12fe4d
* Fri Jul 17 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.4-6
12fe4d
- see 15.2.4-4
12fe4d
12fe4d
* Fri Jul 17 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.4-5
12fe4d
- see 15.2.4-3
9572e7
12fe4d
* Fri Jul 17 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.4-4
12fe4d
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
8f0ee8
12fe4d
* Fri Jul 17 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.4-3
12fe4d
- use `ld -r -z ibt -z shstk...` instead of magic hackery to get CET ibt
12fe4d
  and shstk. N.B. updated yasm in f33/rawhide now has support for
12fe4d
  .note.gnu.properties so even this will go away in the next build
12fe4d
- signal_handler.cc, use HAVE_REENTRANT_STRSIGNAL, strsignal(3)
12fe4d
12fe4d
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 2:15.2.4-2
12fe4d
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
12fe4d
12fe4d
* Wed Jul 1 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.4-1
cdd4fb
- ceph 15.2.4 GA
cdd4fb
12fe4d
* Tue Jun 23 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
12fe4d
- explicit BuildRequires python3-setuptools
12fe4d
12fe4d
* Mon Jun 1 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.3-1
a7ada8
- ceph 15.2.3 GA
a7ada8
12fe4d
* Tue May 26 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.2-3
12fe4d
- ceph 15.2.2, CET enable src/common/crc32c_intel_*_asm.s; shstk, ibt
12fe4d
- and other fixes
12fe4d
- see https://github.com/intel/isa-l/blob/master/crc/crc32_iscsi_00.asm
12fe4d
12fe4d
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2:15.2.2-2
12fe4d
- Rebuilt for Python 3.9
12fe4d
a7ada8
* Mon May 18 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.2-1
a7ada8
- ceph 15.2.2 GA
a7ada8
6d8727
* Mon May 18 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.1-2
6d8727
- ceph 15.2.1, gmock and gtest. (although gmock last built for f27)
6d8727
6d8727
* Fri Apr 10 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.1-1
6d8727
- ceph 15.2.1 GA
6d8727
6d8727
* Mon Mar 23 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.0-1
6d8727
- ceph 15.2.0 GA
6d8727
6d8727
* Mon Mar 16 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.1.1-2
6d8727
- ceph 15.1.1 fmt, rhbz#1805422 again
6d8727
6d8727
* Mon Mar 16 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.1.1-1
6d8727
- ceph 15.1.1 RC
6d8727
6d8727
* Thu Mar 5 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.1.0-3
6d8727
- ceph 15.1.0, rhbz#1809799
6d8727
6d8727
* Thu Feb 20 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.1.0-2
6d8727
- ceph 15.1.0, fmt, rhbz#1805422
6d8727
6d8727
* Tue Feb 11 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.1.0-1
6d8727
- ceph 15.1.0 RC
6d8727
6d8727
* Mon Feb 3 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.7-2
6d8727
- ceph 14.2.7 python3-remoto #1784216
6d8727
6d8727
* Sat Feb 1 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.7-1
6d8727
- ceph 14.2.7 GA
6d8727
6d8727
* Wed Jan 29 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.6-4
6d8727
- ceph 14.2.6, https://tracker.ceph.com/issues/43649
6d8727
6d8727
* Mon Jan 27 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.6-3
6d8727
- ceph 14.2.6, (temporarily) disable unit tests
6d8727
6d8727
* Fri Jan 24 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
6d8727
- ceph 14.2.6, gcc-10, missing includes
6d8727
6d8727
* Thu Jan 9 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.6-2
6d8727
- ceph 14.2.6
6d8727
6d8727
* Thu Jan 9 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.6-1
6d8727
- ceph 14.2.6 GA
6d8727
6d8727
* Tue Dec 10 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.5-1
6d8727
- ceph 14.2.5 GA
6d8727
6d8727
* Mon Nov 11 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.4-3
6d8727
- ceph 14.2.4, fix typo
6d8727
6d8727
* Tue Nov 5 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.4-2
6d8727
- ceph 14.2.4, partial fix for bz#1768017
6d8727
6d8727
* Tue Sep 17 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.4-1
6d8727
- ceph 14.2.4 GA
6d8727
6d8727
* Wed Sep 4 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.3-1
6d8727
- ceph 14.2.3 GA
6d8727
6d8727
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2:14.2.2-3
6d8727
- Rebuilt for Python 3.8
6d8727
6d8727
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:14.2.2-2
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6d8727
6d8727
* Fri Jul 19 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.2-1
6d8727
- ceph 14.2.2 GA
6d8727
6d8727
* Tue May 28 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.0-2
6d8727
- numpy -> python3-numpy, bz#1712203 (and why I like to keep upstream
6d8727
  and fedora .spec files in sync)
6d8727
6d8727
* Wed May 8 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
6d8727
- sync w/ upstream to minimize diffs/drift
6d8727
6d8727
* Mon Apr 29 2019 Boris Ranto <branto@redhat.com> - 2:14.2.1-1
6d8727
- Rebase to latest upstream version (14.2.1)
6d8727
6d8727
* Tue Mar 19 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.0-1
6d8727
- ceph 14.2.0 GA
6d8727
6d8727
* Wed Mar 13 2019 Boris Ranto <branto@redhat.com> - 2:14.1.1-1
6d8727
- Rebase to latest upstream version
6d8727
6d8727
* Thu Mar 07 2019 Adam Williamson <awilliam@redhat.com> - 2:14.1.0-3
6d8727
- Return epoch to 2, epochs cannot ever go backwards
6d8727
6d8727
* Wed Mar 6 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:14.1.0-2
6d8727
- ceph 14.1.0 w/ static libcrc32
6d8727
6d8727
* Wed Feb 27 2019 Boris Ranto <branto@redhat.com> - 1:14.1.0-1
6d8727
- Rebase to v14.1.0 (updated for fixes in upstream nautilus branch)
6d8727
6d8727
* Thu Feb 21 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:14.0.1-2
6d8727
- Eliminate redundant CMAKE_* macros when using %%cmake global
6d8727
- Add CMAKE_BUILD_TYPE=RelWithDeb(ug)Info and BUILD_CONFIG=rpmbuild
6d8727
6d8727
* Wed Feb 20 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:14.0.1-1
6d8727
- rebuild for f31/rawhide, including:
6d8727
- use the %%{cmake} %%global to get all the extra Fedora cmake options.
6d8727
  (This is Fedora, so don't care so much about rhel/rhel7 cmake3.)
6d8727
- reset epoch to 1. Note we use (have been using) epoch=1 in Fedora since
6d8727
  forever. I presume this is so that people can install Ceph RPMs from
6d8727
  ceph.com if they prefer those, which use epoch=2, and not run into issues
6d8727
  when updating.
6d8727
6d8727
* Thu Feb 7 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.0.1-4
6d8727
- w/ fixes for gcc9
6d8727
6d8727
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:14.0.1-3
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6d8727
6d8727
* Sat Dec 08 2018 Boris Ranto <branto@redhat.com> - 2:14.0.1-2
6d8727
- fix pyOpenSSL depemdency
6d8727
6d8727
* Tue Dec 04 2018 Boris Ranto <branto@redhat.com> - 2:14.0.1-1
6d8727
- New release (2:14.0.1-1)
6d8727
- Sync with upstream
6d8727
- Drop 32-bit support
6d8727
6d8727
* Wed Nov 21 2018 Boris Ranto <branto@redhat.com> - 2:13.2.2-1
6d8727
- New release (2:13.2.2-1)
6d8727
- Sync with upstream
6d8727
6d8727
* Mon Oct 29 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.9-1
6d8727
- New release (1:12.2.9-1)
6d8727
6d8727
* Wed Sep 12 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.8-2
6d8727
- Fedora 30 python3. Note ceph-mgr subpackage, ceph-detect-init, ceph-disk,
6d8727
  ceph-volume, and ceph-volume-systemd are missing in this build
6d8727
6d8727
* Fri Aug 31 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.8-1
6d8727
- New release (1:12.2.8-1)
6d8727
6d8727
* Wed Jul 18 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.7-1
6d8727
- New release (1:12.2.7-1)
6d8727
6d8727
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:12.2.6-2
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
6d8727
6d8727
* Wed Jul 11 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.6-1
6d8727
- New release (1:12.2.6-1)
6d8727
6d8727
* Mon Jul 2 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.5-3
6d8727
- New release (1:12.2.5-3) w/ python-3.7
6d8727
6d8727
* Fri Jun 29 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.5-2
6d8727
- New release (1:12.2.5-2)
6d8727
6d8727
* Fri Apr 27 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.5-1
6d8727
- New release (1:12.2.5-1)
6d8727
6d8727
* Fri Apr 13 2018 Rafael dos Santos <rdossant@redhat.com> - 1:12.2.4-2
6d8727
- Use standard Fedora linker flags (bug #1547552)
6d8727
6d8727
* Fri Mar 2 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.4-1
6d8727
- New release (1:12.2.4-1)
6d8727
- rhbz#1446610, rhbz#1546611, cephbz#23039
6d8727
6d8727
* Wed Feb 21 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.3-1
6d8727
- New release (1:12.2.3-1)
6d8727
6d8727
* Thu Feb 15 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.2-3
6d8727
- no ldconfig in F28
6d8727
6d8727
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:12.2.2-2
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6d8727
6d8727
* Tue Dec 5 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.2-1
6d8727
- New release (1:12.2.2-1)
6d8727
- Fix build error on arm
6d8727
6d8727
* Thu Oct 05 2017 Boris Ranto <branto@redhat.com> - 1:12.2.1-2
6d8727
- Obsolete ceph-libs-compat package
6d8727
6d8727
* Wed Sep 27 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.1-1
6d8727
- New release (1:12.2.1-1)
6d8727
6d8727
* Tue Aug 29 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.0-1
6d8727
- New release (1:12.2.0-1)
6d8727
6d8727
* Thu Aug 24 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.4-5
6d8727
- libibverbs(-devel) is superceded by rdma-core(-devel), again
6d8727
6d8727
* Thu Aug 24 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.4-4
6d8727
- libibverbs(-devel) is superceded by rdma-core(-devel)
6d8727
6d8727
* Tue Aug 22 2017 Adam Williamson <awilliam@redhat.com> - 1:12.1.4-3
6d8727
- Disable RDMA support on 32-bit ARM (#1484155)
6d8727
6d8727
* Thu Aug 17 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.4-2
6d8727
- fix %%epoch in comment, ppc64le lowmem_builder
6d8727
6d8727
* Wed Aug 16 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.4-1
6d8727
- New release (1:12.1.4-1)
6d8727
6d8727
* Sat Aug 12 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.3-1
6d8727
- New release (1:12.1.3-1)
6d8727
6d8727
* Fri Aug 11 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.2-3
6d8727
- rebuild with librpm.so.7
6d8727
6d8727
* Thu Aug 10 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.2-2
6d8727
- Fix 32-bit alignment
6d8727
6d8727
* Thu Aug 3 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.2-1
6d8727
- New release (1:12.1.2-1)
6d8727
6d8727
* Tue Aug 1 2017 Boris Ranto <branto@redhat.com> - 1:12.1.1-8
6d8727
- Fix ppc64 build
6d8727
6d8727
* Tue Aug 1 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-7
6d8727
- python34 and other nits
6d8727
- still no fix for ppc64
6d8727
6d8727
* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 1:12.1.1-6
6d8727
- Reenable ppc64le, with binutils fix for ppc64le (#1475636)
6d8727
6d8727
* Fri Jul 28 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-5
6d8727
- ppc64le disabled until bz #1475636 resolution
6d8727
6d8727
* Fri Jul 28 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-4
6d8727
- 12.1.1 w/ hacks for armv7hl: low mem, no java jni
6d8727
- WTIH_BABELTRACE -> WITH_BABELTRACE for all archs
6d8727
- still no fix for ppc64
6d8727
6d8727
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:12.1.1-3
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6d8727
6d8727
* Sat Jul 22 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-2
6d8727
- 12.1.1 w/ rocksdb patch (i686)
6d8727
6d8727
* Sat Jul 22 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-1
6d8727
- New release (1:12.1.1-1)
6d8727
6d8727
* Fri Jul 21 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-0
6d8727
- New release (1:12.1.1-0)
6d8727
6d8727
* Fri Jul 21 2017 Kalev Lember <klember@redhat.com> - 1:10.2.7-3
6d8727
- Rebuilt for Boost 1.64
6d8727
6d8727
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.2.7-2
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
6d8727
6d8727
* Mon Apr 17 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:10.2.7-1
6d8727
- New release (1:10.2.7-1)
6d8727
6d8727
* Wed Feb 08 2017 Boris Ranto <branto@redhat.com> - 1:10.2.5-2
6d8727
- New release (1:10.2.5-2)
6d8727
6d8727
* Fri Jan 13 2017 Boris Ranto <branto@redhat.com> - 1:10.2.5-1
6d8727
- New release (1:10.2.5-1)
6d8727
- hack: do not test for libxfs, assume it is present
6d8727
6d8727
* Wed Dec 14 2016 Boris Ranto <branto@redhat.com> - 1:10.2.4-2
6d8727
- New version (1:10.2.4-2)
6d8727
- This syncs up with the upstream 10.2.5
6d8727
- Doing it this way because of broken lookaside cache
6d8727
- Fix the -devel obsoletes
6d8727
6d8727
* Thu Dec 08 2016 Boris Ranto <branto@redhat.com> - 1:10.2.4-1
6d8727
- New version (1:10.2.4-1)
6d8727
- Disable erasure_codelib neon build
6d8727
- Use newer -devel package format
6d8727
- Sync up the spec file
6d8727
6d8727
* Wed Oct 26 2016 Ken Dreyer <ktdreyer@ktdreyer.com> - 1:10.2.3-4
6d8727
- librgw: add API version defines for librgw and rgw_file
6d8727
6d8727
* Wed Oct 26 2016 Ken Dreyer <ktdreyer@ktdreyer.com> - 1:10.2.3-3
6d8727
- update patches style for rdopkg
6d8727
6d8727
* Thu Sep 29 2016 Boris Ranto <branto@redhat.com> - 1:10.2.3-2
6d8727
- New release (1:10.2.3-2)
6d8727
- common: instantiate strict_si_cast<long> not
6d8727
6d8727
* Thu Sep 29 2016 Boris Ranto <branto@redhat.com> - 1:10.2.3-1
6d8727
- New version (1:10.2.3-1)
6d8727
- Disable erasure_codelib neon build
6d8727
6d8727
* Sun Aug 07 2016 Igor Gnatenko <ignatenko@redhat.com> - 1:10.2.2-4
6d8727
- Rebuild for LevelDB 1.18
6d8727
6d8727
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.2.2-3
6d8727
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
6d8727
6d8727
* Tue Jun 21 2016 Boris Ranto <branto@redhat.com> - 1:10.2.2-2
6d8727
- New release (1:10.2.2-2)
6d8727
- fix tcmalloc handling in spec file
6d8727
6d8727
* Mon Jun 20 2016 Boris Ranto <branto@redhat.com> - 1:10.2.2-1
6d8727
- New version (1:10.2.2-1)
6d8727
- Disable erasure_codelib neon build
6d8727
- Do not use -momit-leaf-frame-pointer flag
6d8727
6d8727
* Mon May 16 2016 Boris Ranto <branto@redhat.com> - 1:10.2.1-1
6d8727
- New version (1:10.2.1-1)
6d8727
- Disable erasure_codelib neon build
6d8727
- Do not use -momit-leaf-frame-pointer flag
6d8727
6d8727
* Fri May 06 2016 Dan Horák <dan[at]danny.cz> - 10.2.0-3
6d8727
- fix build on s390(x) - gperftools/tcmalloc not available there
6d8727
6d8727
* Fri Apr 22 2016 Boris Ranto <branto@redhat.com> - 10.2.0-2
6d8727
- Do not use -momit-leaf-frame-pointer flag
6d8727
6d8727
* Fri Apr 22 2016 Boris Ranto <branto@redhat.com> - -
6d8727
- Rebase to version 10.2.0
6d8727
- Disable erasure_codelib neon build
6d8727
6d8727
* Mon Apr 11 2016 Richard W.M. Jones <rjones@redhat.com> - 1:9.2.0-5
6d8727
- Fix large startup times of processes linking to -lrbd.
6d8727
  Backport upstream commit 1c2831a2, fixes RHBZ#1319483.
6d8727
- Add workaround for XFS header brokenness.
6d8727
6d8727
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:9.2.0-4
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6d8727
6d8727
* Thu Jan 14 2016 Jonathan Wakely <jwakely@redhat.com> - 1:9.2.0-3
6d8727
- Rebuilt for Boost 1.60
6d8727
6d8727
* Mon Dec 14 2015 Dan Horák <dan[at]danny.cz> - 1:9.2.0-2
6d8727
- fix build on s390(x) - gperftools/tcmalloc not available there
6d8727
6d8727
* Tue Nov 10 2015 Boris Ranto <branto@redhat.com> - 1:9.2.0-1
6d8727
- Rebase to latest stable upstream version (9.2.0 - infernalis)
6d8727
- Use upstream spec file
6d8727
6d8727
* Tue Oct 27 2015 Boris Ranto <branto@redhat.com> - 1:0.94.5-1
6d8727
- Rebase to latest upstream version
6d8727
6d8727
* Tue Oct 20 2015 Boris Ranto <branto@redhat.com> - 1:0.94.4-1
6d8727
- Rebase to latest upstream version
6d8727
- The rtdsc patch got merged upstream and is already present in the release
6d8727
6d8727
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 1:0.94.3-2
6d8727
- Rebuilt for Boost 1.59
6d8727
6d8727
* Thu Aug 27 2015 Boris Ranto <branto@redhat.com> - 1:0.94.3-1
6d8727
- Rebase to latest upstream version
6d8727
- The boost patch got merged upstream and is already present in the release
6d8727
6d8727
* Fri Jul 31 2015 Richard W.M. Jones <rjones@redhat.com> - 1:0.94.2-4
6d8727
- Fix build against boost 1.58 (http://tracker.ceph.com/issues/11576).
6d8727
6d8727
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.94.2-3
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
6d8727
6d8727
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 1:0.94.2-2
6d8727
- rebuild for Boost 1.58
6d8727
6d8727
* Thu Jul 16 2015 Boris Ranto <branto@redhat.com> - 1:0.94.2-1
6d8727
- Rebase to latest upstream version
6d8727
6d8727
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.94.1-5
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6d8727
6d8727
* Mon Jun 08 2015 Dan Horák <dan[at]danny.cz> - 1:0.94.1-4
6d8727
- fix build on s390(x) - no gperftools there
6d8727
6d8727
* Thu May 21 2015 Boris Ranto <branto@redhat.com> - 1:0.94.1-3
6d8727
- Disable lttng support (rhbz#1223319)
6d8727
6d8727
* Mon May 18 2015 Boris Ranto <branto@redhat.com> - 1:0.94.1-2
6d8727
- Fix arm linking issue (rhbz#1222286)
6d8727
6d8727
* Tue Apr 14 2015 Boris Ranto <branto@redhat.com> - 1:0.94.1-1
6d8727
- Rebase to latest upstream version and sync-up the spec file
6d8727
- Add arm compilation patches
6d8727
6d8727
* Wed Apr 01 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 1:0.87.1-3
6d8727
- add version numbers to Obsoletes (RHBZ #1193182)
6d8727
6d8727
* Wed Mar 4 2015 Boris Ranto <branto@redhat.com> - 1:0.87.1-2
6d8727
- Perform a hardened build
6d8727
- Use git-formatted patches
6d8727
- Add patch for pthreads rwlock unlock problem
6d8727
- Do not remove conf files on uninstall
6d8727
- Remove the cleanup function, it is only necessary for f20 and f21
6d8727
6d8727
* Wed Feb 25 2015 Boris Ranto <branto@redhat.com> - 1:0.87.1-1
6d8727
- Rebase to latest upstream
6d8727
- Remove boost patch, it is in upstream tarball
6d8727
- Build with yasm, tarball contains fix for the SELinux issue
6d8727
6d8727
* Thu Jan 29 2015 Petr Machata <pmachata@redhat.com> - 1:0.87-2
6d8727
- Rebuild for boost 1.57.0
6d8727
- Include <boost/optional/optional_io.hpp> instead of
6d8727
  <boost/optional.hpp>.  Keep the old dumping behavior in
6d8727
  osd/ECBackend.cc (ceph-0.87-boost157.patch)
6d8727
6d8727
* Mon Nov 3 2014 Boris Ranto <branto@redhat.com> - 1:0.87-1
6d8727
- Rebase to latest major version (firefly -> giant)
6d8727
6d8727
* Thu Oct 16 2014 Boris Ranto 
6d8727
- Rebase to latest upstream version
6d8727
6d8727
* Sat Oct 11 2014 Boris Ranto <branto@redhat.com> - 1:0.80.6-3
6d8727
- Fix a typo in librados-devel vs librados2-devel dependency
6d8727
6d8727
* Fri Oct 10 2014 Boris Ranto <branto@redhat.com> - 1:0.80.6-2
6d8727
- Provide empty file list for python-ceph-compat and ceph-devel-compat
6d8727
6d8727
* Fri Oct 10 2014 Boris Ranto <branto@redhat.com> - 1:0.80.6-1
6d8727
- Rebase to 0.80.6
6d8727
- Split ceph-devel and python-ceph packages
6d8727
6d8727
* Tue Sep 9 2014 Dan Horák <dan[at]danny.cz> - 1:0.80.5-10
6d8727
- update Requires for s390(x)
6d8727
6d8727
* Wed Sep 3 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-9
6d8727
- Symlink librd.so.1 to /usr/lib64/qemu only on rhel6+ x86_64 (1136811)
6d8727
6d8727
* Thu Aug 21 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-8
6d8727
- Revert the previous change
6d8727
- Fix bz 1118504, second attempt (yasm appears to be the package that caused this
6d8727
- Fix bogus dates
6d8727
6d8727
* Wed Aug 20 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-7
6d8727
- Several more merges from file to try to fix the selinux issue (1118504)
6d8727
6d8727
* Sun Aug 17 2014 Kalev Lember <kalevlember@gmail.com> - 1:0.80.5-6
6d8727
- Obsolete ceph-libcephfs
6d8727
6d8727
* Sat Aug 16 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-5
6d8727
- Do not require xfsprogs/xfsprogs-devel for el6
6d8727
- Require gperftools-devel for non-ppc*/s390* architectures only
6d8727
- Do not require junit -- no need to build libcephfs-test.jar
6d8727
- Build without libxfs for el6
6d8727
- Build without tcmalloc for ppc*/s390* architectures
6d8727
- Location of mkcephfs must depend on a rhel release
6d8727
- Use epoch in the Requires fields [1130700]
6d8727
6d8727
* Sat Aug 16 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-4
6d8727
- Use the proper version name in Obsoletes
6d8727
6d8727
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.80.5-3
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
6d8727
6d8727
* Fri Aug 15 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-2
6d8727
- Add the arm pthread hack
6d8727
6d8727
* Fri Aug 15 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-1
6d8727
- Bump the Epoch, we need to keep the latest stable, not development, ceph version in fedora
6d8727
- Use the upstream spec file with the ceph-libs split
6d8727
- Add libs-compat subpackage [1116546]
6d8727
- use fedora in rhel 7 checks
6d8727
- obsolete libcephfs [1116614]
6d8727
- depend on redhat-lsb-core for the initscript [1108696]
6d8727
6d8727
* Wed Aug 13 2014 Kalev Lember <kalevlember@gmail.com> - 0.81.0-6
6d8727
- Add obsoletes to keep the upgrade path working (#1118510)
6d8727
6d8727
* Mon Jul 7 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-5
6d8727
- revert to old spec until after f21 branch
6d8727
6d8727
* Fri Jul 4 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
6d8727
- temporary exclude f21/armv7hl. N.B. it builds fine on f20/armv7hl.
6d8727
6d8727
* Fri Jul 4 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-4
6d8727
- upstream ceph.spec file
6d8727
6d8727
* Tue Jul 1 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-3
6d8727
- upstream ceph.spec file
6d8727
6d8727
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.81.0-2
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6d8727
6d8727
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
6d8727
- el6 ppc64 likewise for tcmalloc, merge from origin/el6
6d8727
6d8727
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
6d8727
- el6 ppc64 does not have gperftools, merge from origin/el6
6d8727
6d8727
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-1
6d8727
- ceph-0.81.0
6d8727
6d8727
* Wed Jun  4 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.80.1-5
6d8727
- gperftools now available on aarch64/ppc64
6d8727
6d8727
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.80.1-4
6d8727
- Rebuild for boost 1.55.0
6d8727
6d8727
* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 0.80.1-3
6d8727
- rebuild for boost 1.55.0
6d8727
6d8727
* Wed May 14 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.80.1-2
6d8727
- build epel-6
6d8727
- exclude %%{_libdir}/ceph/erasure-code in base package
6d8727
6d8727
* Tue May 13 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.80.1-1
6d8727
- Update to latest stable upstream release, BZ 1095201
6d8727
- PIE, _hardened_build, BZ 955174
6d8727
6d8727
* Thu Feb 06 2014 Ken Dreyer <ken.dreyer@inktank.com> - 0.72.2-2
6d8727
- Move plugins from -devel into -libs package (#891993). Thanks Michael
6d8727
  Schwendt.
6d8727
6d8727
* Mon Jan 06 2014 Ken Dreyer <ken.dreyer@inktank.com> 0.72.2-1
6d8727
- Update to latest stable upstream release
6d8727
- Use HTTPS for URLs
6d8727
- Submit Automake 1.12 patch upstream
6d8727
- Move unversioned shared libs from ceph-libs into ceph-devel
6d8727
6d8727
* Wed Dec 18 2013 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> 0.67.3-4
6d8727
- build without tcmalloc on aarch64 (no gperftools)
6d8727
6d8727
* Sat Nov 30 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.67.3-3
6d8727
- gperftools not currently available on aarch64
6d8727
6d8727
* Mon Oct 07 2013 Dan Horák <dan[at]danny.cz> - 0.67.3-2
6d8727
- fix build on non-x86_64 64-bit arches
6d8727
6d8727
* Wed Sep 11 2013 Josef Bacik <josef@toxicpanda.com> - 0.67.3-1
6d8727
- update to 0.67.3
6d8727
6d8727
* Wed Sep 11 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 0.61.7-3
6d8727
- let base package include all its documentation files via %%doc magic,
6d8727
  so for Fedora 20 Unversioned Docdirs no files are included accidentally
6d8727
- include the sample config files again (instead of just an empty docdir
6d8727
  that has been added for #846735)
6d8727
- don't include librbd.so.1 also in -devel package (#1003202)
6d8727
- move one misplaced rados plugin from -devel into -libs package (#891993)
6d8727
- include missing directories in -devel and -libs packages
6d8727
- move librados-config into the -devel pkg where its manual page is, too
6d8727
- add %%_isa to subpackage dependencies
6d8727
- don't use %%defattr anymore
6d8727
- add V=1 to make invocation for verbose build output
6d8727
6d8727
* Wed Jul 31 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.61.7-2
6d8727
- re-enable tmalloc on arm now gperftools is fixed
6d8727
6d8727
* Mon Jul 29 2013 Josef Bacik <josef@toxicpanda.com> - 0.61.7-1
6d8727
- Update to 0.61.7
6d8727
6d8727
* Sat Jul 27 2013 pmachata@redhat.com - 0.56.4-2
6d8727
- Rebuild for boost 1.54.0
6d8727
6d8727
* Fri Mar 29 2013 Josef Bacik <josef@toxicpanda.com> - 0.56.4-1
6d8727
- Update to 0.56.4
6d8727
- Add upstream d02340d90c9d30d44c962bea7171db3fe3bfba8e to fix logrotate
6d8727
6d8727
* Wed Feb 20 2013 Josef Bacik <josef@toxicpanda.com> - 0.56.3-1
6d8727
- Update to 0.56.3
6d8727
6d8727
* Mon Feb 11 2013 Richard W.M. Jones <rjones@redhat.com> - 0.53-2
6d8727
- Rebuilt to try to fix boost dependency problem in Rawhide.
6d8727
6d8727
* Thu Nov  1 2012 Josef Bacik <josef@toxicpanda.com> - 0.53-1
6d8727
- Update to 0.53
6d8727
6d8727
* Mon Sep 24 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.51-3
6d8727
- Fix automake 1.12 error
6d8727
- Rebuild after buildroot was messed up
6d8727
6d8727
* Tue Sep 18 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.51-2
6d8727
- Use system leveldb
6d8727
6d8727
* Fri Sep 07 2012 David Nalley <david@gnsa.us> - 0.51-1
6d8727
- Updating to 0.51
6d8727
- Updated url and source url.
6d8727
6d8727
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.46-2
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6d8727
6d8727
* Wed May  9 2012 Josef Bacik <josef@toxicpanda.com> - 0.46-1
6d8727
- updated to upstream 0.46
6d8727
- broke out libcephfs (rhbz# 812975)
6d8727
6d8727
* Mon Apr 23 2012 Dan Horák <dan[at]danny.cz> - 0.45-2
6d8727
- fix detection of C++11 atomic header
6d8727
6d8727
* Thu Apr 12 2012 Josef Bacik <josef@toxicpanda.com> - 0.45-1
6d8727
- updating to upstream 0.45
6d8727
6d8727
* Wed Apr  4 2012 Niels de Vos <devos@fedoraproject.org> - 0.44-5
6d8727
- Add LDFLAGS=-lpthread on any ARM architecture
6d8727
- Add CFLAGS=-DAO_USE_PTHREAD_DEFS on ARMv5tel
6d8727
6d8727
* Mon Mar 26 2012 Dan Horák <dan[at]danny.cz> 0.44-4
6d8727
- gperftools not available also on ppc
6d8727
6d8727
* Mon Mar 26 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.44-3
6d8727
- Remove unneeded patch
6d8727
6d8727
* Sun Mar 25 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.44-2
6d8727
- Update to 0.44
6d8727
- Fix build problems
6d8727
6d8727
* Mon Mar  5 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.43-1
6d8727
- Update to 0.43
6d8727
- Remove upstreamed compile fixes patch
6d8727
- Remove obsoleted dump_pop patch
6d8727
6d8727
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.41-2
6d8727
- Rebuilt for c++ ABI breakage
6d8727
6d8727
* Thu Feb 16 2012 Tom Callaway <spot@fedoraproject.org> 0.41-1
6d8727
- update to 0.41
6d8727
- fix issues preventing build
6d8727
- rebuild against gperftools
6d8727
6d8727
* Sat Dec 03 2011 David Nalley <david@gnsa.us> 0.38-1
6d8727
- updating to upstream 0.39
6d8727
6d8727
* Sat Nov 05 2011 David Nalley <david@gnsa.us> 0.37-1
6d8727
- create /etc/ceph - bug 745462
6d8727
- upgrading to 0.37, fixing 745460, 691033
6d8727
- fixing various logrotate bugs 748930, 747101
6d8727
6d8727
* Fri Aug 19 2011 Dan Horák <dan[at]danny.cz> 0.31-4
6d8727
- google-perftools not available also on s390(x)
6d8727
6d8727
* Mon Jul 25 2011 Karsten Hopp <karsten@redhat.com> 0.31-3
6d8727
- build without tcmalloc on ppc64, BR google-perftools is not available there
6d8727
6d8727
* Tue Jul 12 2011 Josef Bacik <josef@toxicpanda.com> 0.31-2
6d8727
- Remove curl/types.h include since we don't use it anymore
6d8727
6d8727
* Tue Jul 12 2011 Josef Bacik <josef@toxicpanda.com> 0.31-1
6d8727
- Update to 0.31
6d8727
6d8727
* Tue Apr  5 2011 Josef Bacik <josef@toxicpanda.com> 0.26-2
6d8727
- Add the compile fix patch
6d8727
6d8727
* Tue Apr  5 2011 Josef Bacik <josef@toxicpanda.com> 0.26
6d8727
- Update to 0.26
6d8727
6d8727
* Tue Mar 22 2011 Josef Bacik <josef@toxicpanda.com> 0.25.1-1
6d8727
- Update to 0.25.1
6d8727
6d8727
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21.3-2
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6d8727
6d8727
* Wed Sep 29 2010 Steven Pritchard <steve@kspei.com> 0.21.3-1
6d8727
- Update to 0.21.3.
6d8727
6d8727
* Mon Aug 30 2010 Steven Pritchard <steve@kspei.com> 0.21.2-1
6d8727
- Update to 0.21.2.
6d8727
6d8727
* Thu Aug 26 2010 Steven Pritchard <steve@kspei.com> 0.21.1-1
6d8727
- Update to 0.21.1.
6d8727
- Sample configs moved to /usr/share/doc/ceph/.
6d8727
- Added cclass, rbd, and cclsinfo.
6d8727
- Dropped mkmonfs and rbdtool.
6d8727
- mkcephfs moved to /sbin.
6d8727
- Add libcls_rbd.so.
6d8727
6d8727
* Tue Jul  6 2010 Josef Bacik <josef@toxicpanda.com> 0.20.2-1
6d8727
- update to 0.20.2
6d8727
6d8727
* Wed May  5 2010 Josef Bacik <josef@toxicpanda.com> 0.20-1
6d8727
- update to 0.20
6d8727
- disable hadoop building
6d8727
- remove all the test binaries properly
6d8727
6d8727
* Fri Apr 30 2010 Sage Weil <sage@newdream.net> 0.19.1-5
6d8727
- Remove java deps (no need to build hadoop by default)
6d8727
- Include all required librados helpers
6d8727
- Include fetch_config sample
6d8727
- Include rbdtool
6d8727
- Remove misc debugging, test binaries
6d8727
6d8727
* Fri Apr 30 2010 Josef Bacik <josef@toxicpanda.com> 0.19.1-4
6d8727
- Add java-devel and java tricks to get hadoop to build
6d8727
6d8727
* Mon Apr 26 2010 Josef Bacik <josef@toxicpanda.com> 0.19.1-3
6d8727
- Move the rados and cauthtool man pages into the base package
6d8727
6d8727
* Sun Apr 25 2010 Jonathan Dieter <jdieter@lesbg.com> 0.19.1-2
6d8727
- Add missing libhadoopcephfs.so* to file list
6d8727
- Add COPYING to all subpackages
6d8727
- Fix ownership of /usr/lib[64]/ceph
6d8727
- Enhance description of fuse client
6d8727
6d8727
* Tue Apr 20 2010 Josef Bacik <josef@toxicpanda.com> 0.19.1-1
6d8727
- Update to 0.19.1
6d8727
6d8727
* Mon Feb  8 2010 Josef Bacik <josef@toxicpanda.com> 0.18-1
6d8727
- Initial spec file creation, based on the template provided in the ceph src