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
#
5104bd
# please read this for explanation of bcond syntax:
5104bd
# https://rpm-software-management.github.io/rpm/manual/conditionalbuilds.html
6d8727
#################################################################################
6d8727
%global _hardened_build 1
6d8727
63eb2f
%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
70390d
%ifarch x86_64 ppc64le
70390d
%bcond_without system_pmdk
70390d
%else
70390d
%bcond_with system_pmdk
70390d
%endif
12fe4d
%bcond_without rbd_ssd_cache
5104bd
%ifarch x86_64
5104bd
%bcond_without rbd_rwl_cache
12fe4d
%else
12fe4d
%bcond_with rbd_rwl_cache
12fe4d
%endif
5104bd
%if 0%{?fedora} || 0%{?rhel}
5104bd
%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
6a6f94
%global luarocks_package_name luarocks
6a6f94
%bcond_without lua_packages
6d8727
%global _remote_tarball_prefix https://download.ceph.com/tarballs/
6d8727
%endif
6d8727
%if 0%{?suse_version}
5104bd
%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
6a6f94
#luarocks
6a6f94
%if 0%{?is_opensuse}
6a6f94
# openSUSE
6a6f94
%bcond_without lua_packages
6a6f94
%if 0%{?sle_version}
6a6f94
# openSUSE Leap
6a6f94
%global luarocks_package_name lua53-luarocks
6a6f94
%else
6a6f94
# openSUSE Tumbleweed
6a6f94
%global luarocks_package_name lua54-luarocks
6a6f94
%endif
6a6f94
%else
6a6f94
# SLE
6a6f94
%bcond_with lua_packages
6a6f94
%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
3bfd0b
%bcond_with system_arrow
155c06
%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
5104bd
%if ! 0%{?suse_version}
5104bd
# use multi-threaded xz compression: xz level 7 using ncpus threads
5104bd
%global _source_payload w7T%{_smp_build_ncpus}.xzdio
5104bd
%global _binary_payload w7T%{_smp_build_ncpus}.xzdio
5104bd
%endif
5104bd
5104bd
%define smp_limit_mem_per_job() %( \
5104bd
  kb_per_job=%1 \
5104bd
  kb_total=$(head -3 /proc/meminfo | sed -n 's/MemAvailable:\\s*\\(.*\\) kB.*/\\1/p') \
5104bd
  jobs=$(( $kb_total / $kb_per_job )) \
5104bd
  [ $jobs -lt 1 ] && jobs=1 \
5104bd
  echo $jobs )
5104bd
5104bd
%if 0%{?_smp_ncpus_max} == 0
5104bd
%if 0%{?__isa_bits} == 32
5104bd
# 32-bit builds can use 3G memory max, which is not enough even for -j2
5104bd
%global _smp_ncpus_max 1
5104bd
%else
5104bd
# 3.0 GiB mem per job
5104bd
# SUSE distros use limit_build in the place of smp_limit_mem_per_job, please
5104bd
# be sure to update it (in the build section, below) as well when changing this
5104bd
# number.
5104bd
%global _smp_ncpus_max %{smp_limit_mem_per_job 3000000}
5104bd
%endif
5104bd
%endif
6d8727
6d8727
#################################################################################
6d8727
# main package definition
6d8727
#################################################################################
6d8727
Name:		ceph
8bf9d1
Version:	17.2.0
8bf9d1
Release:	1%{?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
5104bd
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/
8bf9d1
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
5104bd
Patch0010:	0010-CET-Add-CET-marker-to-crc32c_intel_fast_zero_asm.s.patch
5104bd
Patch0011:	0011-isa-l-CET-Add-CET-marker-to-x86-64-crc32-assembly-co.patch
5104bd
Patch0012:	0012-spdk-isa-l-CET-Add-CET-marker-to-x86-64-crc32-assemb.patch
5104bd
Patch0016:	0016-src-tracing-patch
5104bd
Patch0017:	0017-gcc-12-omnibus.patch
5104bd
Patch0018:	0018-src-rgw-store-dbstore-CMakeLists.txt.patch
292e11
Patch0019:	0019-cmake-modules-CheckCxxAtomic.cmake.patch
155c06
Patch0020:	0020-src-arrow-cpp-cmake_modules-ThirdpartyToolchain.cmake.patch
292e11
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
5104bd
%if 0%{with seastar} && 0%{?rhel}
6fa4d7
BuildRequires:	gcc-toolset-9-gcc-c++ >= 9.2.1-2.3
6fa4d7
%else
6d8727
BuildRequires:	gcc-c++
6fa4d7
%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
5104bd
BuildRequires:	fmt-devel >= 6.2.1
12fe4d
%if 0%{?fedora}
12fe4d
BuildRequires:	rocksdb-devel
12fe4d
Requires:	rocksdb
12fe4d
%endif
5104bd
BuildRequires:	liburing-devel
6d8727
BuildRequires:	pkgconfig(libudev)
6d8727
BuildRequires:	libnl3-devel
6d8727
BuildRequires:	liboath-devel
6d8727
BuildRequires:	libtool
6d8727
BuildRequires:	libxml2-devel
6a6f94
BuildRequires:	libzstd-devel
5104bd
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
5104bd
BuildRequires:	python%{python3_pkgversion}-setuptools
5104bd
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
5104bd
%if 0%{with seastar} || 0%{with jaeger}
5104bd
BuildRequires:	yaml-cpp-devel >= 0.6
5104bd
%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}
5104bd
BuildRequires:	%{luarocks_package_name}
12fe4d
%endif
6d8727
%if 0%{with make_check}
5104bd
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}
5104bd
BuildRequires:	libzbd-devel
6d8727
%endif
155c06
BuildRequires:	thrift-devel >= 0.13.0
155c06
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
aefa10
%if 0%{with system_pmdk}
81fb12
BuildRequires:	libpmem-devel
81fb12
BuildRequires:	libpmemobj-devel
6d8727
%endif
155c06
%if 0%{with system_arrow}
155c06
BuildRequires:	libarrow-devel
155c06
BuildRequires:	parquet-libs-devel
155c06
%else
155c06
BuildRequires:	xsimd-devel
155c06
%endif
155c06
%if 0%{with system_utf8proc}
155c06
BuildRequires:	utf8proc-devel
155c06
%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
6fa4d7
%if 0%{?fedora}
6a6f94
BuildRequires:	libubsan
6a6f94
BuildRequires:	libasan
6a6f94
BuildRequires:	libatomic
6fa4d7
%endif
6fa4d7
%if 0%{?rhel}
6a6f94
BuildRequires:	gcc-toolset-9-annobin
6a6f94
BuildRequires:	gcc-toolset-9-libubsan-devel
6a6f94
BuildRequires:	gcc-toolset-9-libasan-devel
6a6f94
BuildRequires:	gcc-toolset-9-libatomic-devel
6fa4d7
%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
5104bd
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
5104bd
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
5104bd
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
5104bd
BuildRequires:	golang
6d8727
%if 0%{with make_check}
5104bd
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
aefa10
Recommends:	nvme-cli
aefa10
%if 0%{?suse_version}
aefa10
Requires:	smartmontools
aefa10
%else
aefa10
Recommends:	smartmontools
aefa10
%endif
6d8727
%endif
6d8727
%description base
6d8727
Base is the package that includes all the files shared amongst ceph servers
6d8727
b21405
%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}
5104bd
Requires:	openssh-server
5104bd
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.
b21405
%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
6a6f94
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}
5104bd
Requires:	python%{python3_pkgversion}-asyncssh
6fa4d7
Requires:	cephadm = %{_epoch_prefix}%{version}-%{release}
6d8727
%if 0%{?suse_version}
6d8727
Requires:	openssh
5104bd
Requires:	python%{python3_pkgversion}-CherryPy
cdd4fb
Requires:	python%{python3_pkgversion}-Jinja2
6d8727
%endif
6d8727
%if 0%{?rhel} || 0%{?fedora}
6d8727
Requires:	openssh-clients
5104bd
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
5104bd
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
5104bd
%if 0%{?weak_deps}
5104bd
Recommends:	ceph-volume = %{_epoch_prefix}%{version}-%{release}
5104bd
%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}
5104bd
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
5104bd
%package volume
5104bd
Summary: Ceph OSD deployment and inspection tool
5104bd
BuildArch: noarch
5104bd
%if 0%{?suse_version}
5104bd
Group: System/Filesystems
5104bd
%endif
5104bd
Requires: ceph-osd = %{_epoch_prefix}%{version}-%{release}
5104bd
Requires: cryptsetup
5104bd
Requires: e2fsprogs
5104bd
Requires: lvm2
5104bd
Requires: parted
5104bd
Requires: util-linux
5104bd
Requires: xfsprogs
5104bd
Requires: python%{python3_pkgversion}-setuptools
5104bd
Requires: python%{python3_pkgversion}-ceph-common = %{_epoch_prefix}%{version}-%{release}
5104bd
%description volume
5104bd
This package contains a tool to deploy OSD with different devices like
5104bd
lvm or physical disks, and trying to follow a predictable, and robust
5104bd
way of preparing, activating, and starting the deployed OSD.
5104bd
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
8bf9d1
%autosetup -p1
6d8727
6d8727
%build
5104bd
# Disable lto on systems that do not support symver attribute
5104bd
# See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200 for details
5104bd
%if ( 0%{?rhel} && 0%{?rhel} < 9 ) || ( 0%{?suse_version} && 0%{?suse_version} <= 1500 )
5104bd
 %define _lto_cflags %{nil}
5104bd
%endif
5104bd
6d8727
6fa4d7
%if 0%{with seastar} && 0%{?rhel}
6fa4d7
. /opt/rh/gcc-toolset-9/enable
6fa4d7
%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}
5104bd
%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')
155c06
# remove from CFLAGS too because it causes the arrow submodule to fail with:
155c06
#   warning _FORTIFY_SOURCE requires compiling with optimization (-O)
155c06
export CFLAGS=$(echo $RPM_OPT_FLAGS | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//g')
12fe4d
%endif
12fe4d
6d8727
env | sort
6d8727
5104bd
%{?!_vpath_builddir:%global _vpath_builddir %{_target_platform}}
5104bd
5104bd
# TODO: drop this step once we can use `cmake -B`
5104bd
mkdir -p %{_vpath_builddir}
5104bd
%{cmake} . \
5104bd
    -GNinja \
6d8727
    -DCMAKE_BUILD_TYPE=RelWithDebInfo \
6d8727
    -DBUILD_CONFIG=rpmbuild \
6d8727
    -DCMAKE_INSTALL_PREFIX=%{_prefix} \
5104bd
    -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \
5104bd
    -DCMAKE_INSTALL_LIBEXECDIR:PATH=%{_libexecdir} \
5104bd
    -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=%{_localstatedir} \
5104bd
    -DCMAKE_INSTALL_SYSCONFDIR:PATH=%{_sysconfdir} \
5104bd
    -DCMAKE_INSTALL_MANDIR:PATH=%{_mandir} \
5104bd
    -DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/ceph \
5104bd
    -DCMAKE_INSTALL_INCLUDEDIR:PATH=%{_includedir} \
5104bd
    -DSYSTEMD_SYSTEM_UNIT_DIR:PATH=%{_unitdir} \
5104bd
    -DWITH_MANPAGE:BOOL=ON \
5104bd
    -DWITH_PYTHON3:STRING=%{python3_version} \
5104bd
    -DWITH_MGR_DASHBOARD_FRONTEND:BOOL=OFF \
6d8727
%if 0%{without ceph_test_package}
5104bd
    -DWITH_TESTS:BOOL=OFF \
6d8727
%endif
6d8727
%if 0%{with cephfs_java}
5104bd
    -DWITH_CEPHFS_JAVA:BOOL=ON \
6d8727
%endif
6d8727
%if 0%{with selinux}
5104bd
    -DWITH_SELINUX:BOOL=ON \
6d8727
%endif
6d8727
%if %{with lttng}
5104bd
    -DWITH_LTTNG:BOOL=ON \
5104bd
    -DWITH_BABELTRACE:BOOL=ON \
6d8727
%else
5104bd
    -DWITH_LTTNG:BOOL=OFF \
5104bd
    -DWITH_BABELTRACE:BOOL=OFF \
6d8727
%endif
6d8727
    $CEPH_EXTRA_CMAKE_ARGS \
6d8727
%if 0%{with ocf}
5104bd
    -DWITH_OCF:BOOL=ON \
6d8727
%endif
12fe4d
%if 0%{?fedora}
6a6f94
    -DWITH_SYSTEM_ROCKSDB:BOOL=ON \
6d8727
%endif
5104bd
    -DWITH_SYSTEM_LIBURING:BOOL=ON \
6a6f94
    -DWITH_SYSTEM_BOOST:BOOL=ON \
6d8727
%if 0%{with cephfs_shell}
5104bd
    -DWITH_CEPHFS_SHELL:BOOL=ON \
6d8727
%endif
6d8727
%if 0%{with libradosstriper}
5104bd
    -DWITH_LIBRADOSSTRIPER:BOOL=ON \
6d8727
%else
5104bd
    -DWITH_LIBRADOSSTRIPER:BOOL=OFF \
6d8727
%endif
6d8727
%if 0%{with amqp_endpoint}
5104bd
    -DWITH_RADOSGW_AMQP_ENDPOINT:BOOL=ON \
6d8727
%else
5104bd
    -DWITH_RADOSGW_AMQP_ENDPOINT:BOOL=OFF \
6d8727
%endif
6d8727
%if 0%{with kafka_endpoint}
5104bd
    -DWITH_RADOSGW_KAFKA_ENDPOINT:BOOL=ON \
6d8727
%else
5104bd
    -DWITH_RADOSGW_KAFKA_ENDPOINT:BOOL=OFF \
6d8727
%endif
12fe4d
%if 0%{without lua_packages}
5104bd
    -DWITH_RADOSGW_LUA_PACKAGES:BOOL=OFF \
12fe4d
%endif
12fe4d
%if 0%{with zbd}
5104bd
    -DWITH_ZBD:BOOL=ON \
12fe4d
%endif
6d8727
%if 0%{with cmake_verbose_logging}
5104bd
    -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
6d8727
%endif
12fe4d
%if 0%{with rbd_rwl_cache}
5104bd
    -DWITH_RBD_RWL:BOOL=ON \
12fe4d
%endif
12fe4d
%if 0%{with rbd_ssd_cache}
5104bd
    -DWITH_RBD_SSD_CACHE:BOOL=ON \
12fe4d
%endif
aefa10
%if 0%{with system_pmdk}
12fe4d
    -DWITH_SYSTEM_PMDK:BOOL=ON \
12fe4d
%endif
5104bd
%if 0%{with jaeger}
5104bd
    -DWITH_JAEGER:BOOL=ON \
5104bd
%endif
5104bd
%if 0%{?suse_version}
5104bd
    -DBOOST_J:STRING=%{jobs} \
5104bd
%else
5104bd
    -DBOOST_J:STRING=%{_smp_build_ncpus} \
5104bd
%endif
5104bd
%if 0%{with ceph_test_package}
5104bd
    -DWITH_SYSTEM_GTEST:BOOL=ON \
5104bd
%endif
6a6f94
    -DWITH_SYSTEM_ZSTD:BOOL=ON \
6a6f94
%if 0%{?rhel}
6a6f94
    -DWITH_FMT_HEADER_ONLY:BOOL=ON \
6a6f94
%endif
155c06
%if 0%{with system_arrow}
155c06
    -DWITH_SYSTEM_ARROW:BOOL=ON \
155c06
%endif
155c06
%if 0%{with system_utf8proc}
155c06
    -DWITH_SYSTEM_UTF8PROC:BOOL=ON \
155c06
%endif
5104bd
    -DWITH_GRAFANA:BOOL=ON
6d8727
6d8727
%if %{with cmake_verbose_logging}
3bfd0b
#cat ./%{_vpath_builddir}/CMakeFiles/CMakeOutput.log
3bfd0b
#cat ./%{_vpath_builddir}/CMakeFiles/CMakeError.log
3bfd0b
#cd %{_vpath_builddir} && cmake -LA
6d8727
%endif
6d8727
6d8727
export VERBOSE=1
6d8727
export V=1
6fa4d7
export GCC_COLORS=
5104bd
%cmake_build
6d8727
6d8727
%if 0%{with make_check}
6d8727
%check
6d8727
# run in-tree unittests
5104bd
# cd %{_vpath_builddir}
6d8727
# ctest "$CEPH_MFLAGS_JOBS"
6d8727
%endif
6d8727
6d8727
%install
6fa4d7
%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
b21405
%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
b21405
%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
aefa10
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
5104bd
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
b21405
%if 0%{without cephadm}
b21405
rm -f %{buildroot}%{_mandir}/man8/cephadm.8*
b21405
%endif
b21405
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
aefa10
%{_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
b21405
%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
b21405
%endif
6d8727
b21405
%if 0%{with cephadm}
6d8727
%if ! 0%{?suse_version}
6d8727
%postun -n cephadm
6d8727
userdel -r cephadm || true
6d8727
exit 0
6d8727
%endif
b21405
%endif
6d8727
b21405
%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
b21405
%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
5104bd
%{_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
5104bd
%dir %{_libdir}/ceph/denc
5104bd
%{_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*
5104bd
%{_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
5104bd
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
5104bd
  /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}
5104bd
%service_del_preun ceph-osd@\*.service ceph-osd.target
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
5104bd
%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
5104bd
%files volume
5104bd
%{_sbindir}/ceph-volume
5104bd
%{_sbindir}/ceph-volume-systemd
5104bd
%dir %{python3_sitelib}/ceph_volume
5104bd
%{python3_sitelib}/ceph_volume/*
5104bd
%{python3_sitelib}/ceph_volume-*
5104bd
%{_mandir}/man8/ceph-volume.8*
5104bd
%{_mandir}/man8/ceph-volume-systemd.8*
5104bd
%{_unitdir}/ceph-volume@.service
5104bd
5104bd
%post volume
5104bd
%if 0%{?suse_version}
5104bd
if [ $1 -eq 1 ] ; then
5104bd
  /usr/bin/systemctl preset ceph-volume@\*.service >/dev/null 2>&1 || :
5104bd
fi
5104bd
%endif
5104bd
%if 0%{?fedora} || 0%{?rhel}
5104bd
%systemd_post ceph-volume@\*.service
5104bd
%endif
5104bd
5104bd
%preun volume
5104bd
%if 0%{?suse_version}
5104bd
%service_del_preun ceph-volume@\*.service
5104bd
%endif
5104bd
%if 0%{?fedora} || 0%{?rhel}
5104bd
%systemd_preun ceph-volume@\*.service
5104bd
%endif
5104bd
5104bd
%postun volume
5104bd
%systemd_postun ceph-volume@\*.service
5104bd
if [ $1 -ge 1 ] ; then
5104bd
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
5104bd
  # "yes". In any case: if units are not running, do not touch them.
5104bd
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
5104bd
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
5104bd
    source $SYSCONF_CEPH
5104bd
  fi
5104bd
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
5104bd
    /usr/bin/systemctl try-restart ceph-volume@\*.service > /dev/null 2>&1 || :
5104bd
  fi
5104bd
fi
5104bd
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
5104bd
%{_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
aefa10
# Stop ceph.target while relabeling if CEPH_AUTO_RESTART_ON_UPGRADE=yes
aefa10
SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
aefa10
if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
aefa10
    source $SYSCONF_CEPH
aefa10
fi
aefa10
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
aefa10
    if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
aefa10
        /usr/bin/systemctl stop ceph.target > /dev/null 2>&1
aefa10
    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
aefa10
    if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
aefa10
        /usr/bin/systemctl start ceph.target > /dev/null 2>&1 || :
aefa10
    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
aefa10
    # Stop ceph.target while relabeling if CEPH_AUTO_RESTART_ON_UPGRADE=yes
aefa10
    SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
aefa10
    if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
aefa10
        source $SYSCONF_CEPH
aefa10
    fi
aefa10
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
aefa10
        if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
aefa10
            /usr/bin/systemctl stop ceph.target > /dev/null 2>&1
aefa10
        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
aefa10
        if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
aefa10
           /usr/bin/systemctl start ceph.target > /dev/null 2>&1 || :
aefa10
        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
8bf9d1
* Wed Apr 20 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:17.2.0-1
8bf9d1
- 17.2.0 GA
8bf9d1
63eb2f
* Thu Apr 14 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:17.1.0-0.10.201.gcc420538
63eb2f
- 17.1.0 snapshot 201
63eb2f
155c06
* Fri Apr 8 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:17.1.0-0.9.175.g086c8f84
155c06
- 17.1.0 snapshot 175
155c06
155c06
* Tue Apr 5 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:17.1.0-0.8.123.g14f44feb
155c06
- 17.1.0 snapshot 123, again
155c06
155c06
* Mon Mar 28 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:17.1.0-0.7.123.g14f44feb
b26b3d
- 17.1.0 snapshot 123
b26b3d
292e11
* Mon Mar 21 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:17.1.0-0.5.56-g60fdd357
292e11
- 17.1.0 snapshot 56
292e11
b21405
* Wed Mar 2 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:17.1.0-0.3.rc1
b21405
- 17.1.0, w/o cephadm
b21405
c3d6a9
* Tue Mar 1 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:17.1.0-0.2.rc1
c3d6a9
- 17.1.0 revised patch
c3d6a9
5104bd
* Mon Feb 28 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:17.1.0-0.1.rc1
5104bd
- 17.1.0 RC1
5104bd
5104bd
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 2:16.2.7-10
5104bd
- Rebuilt for java-17-openjdk as system jdk
5104bd
5104bd
* Wed Feb 2 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.7-9
5104bd
- 16.2.7, python3.10 w/ __CHAR_UNSIGNED__ fix
5104bd
5104bd
* Thu Jan 27 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.7-8
5104bd
- 16.2.7, w/ modern linker (mold), x86_64 and aarch64, this time for real
5104bd
5104bd
* Wed Jan 26 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.7-7
5104bd
- 16.2.7, build with modern linker (mold), x86_64 and aarch64
5104bd
- reenable ppc64le
5104bd
5104bd
* Tue Jan 25 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.7-6
5104bd
- 16.2.7, more CET enablement, rhbz#2040091
5104bd
5104bd
* Thu Jan 20 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.7-5
5104bd
- 16.2.7, rebuild with gcc-12, exclude ppc64le until fmt on ppc64le is fixed
5104bd
5104bd
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2:16.2.7-4
5104bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
5104bd
5104bd
* Mon Jan 10 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.7-3
5104bd
- 16.2.7, rebuild with fmt-8.1.1
5104bd
5104bd
* Wed Dec 29 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.7-2
5104bd
- 16.2.7, LGPLv2.1 -> LGPLv2+, rhbz#2036035
5104bd
aefa10
* Tue Dec 7 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.7-1
aefa10
- 16.2.7 GA
aefa10
5104bd
* Tue Nov 02 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2:16.2.6-3
5104bd
- rebuild against new liblttng-ust
5104bd
5104bd
* Tue Oct 19 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.6-2
5104bd
- 16.2.6, rebuild with rocksdb 6.25
5104bd
6a6f94
* Fri Sep 17 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.6-1
6a6f94
- 16.2.6 GA
6a6f94
5104bd
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 2:16.2.5-11
5104bd
- Rebuilt with OpenSSL 3.0.0
5104bd
5104bd
* Mon Sep 6 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.5-10
5104bd
- Rebuilt for gtest 1.11.0
5104bd
5104bd
* Thu Aug 26 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.5-9
5104bd
- Rebuilt for rocksdb 6.22
5104bd
5104bd
* Tue Aug 17 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.5-8
5104bd
- build with ninja, -DWITH_SYSTEM_ZSTD, without gdbm
5104bd
5104bd
* Sun Aug 8 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.5-7
5104bd
- Rebuild for Boost 1.76 again
5104bd
5104bd
* Fri Aug 06 2021 Jonathan Wakely <jwakely@redhat.com> - 2:16.2.5-6
5104bd
- Rebuilt for Boost 1.76
5104bd
5104bd
* Thu Aug 5 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.5-5
5104bd
- Rebuild for leveldb-1.23-3 w/ reverted -fno-rtti
5104bd
5104bd
* Tue Aug 3 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.5-4
5104bd
- Rebuild for leveldb-1.23
5104bd
5104bd
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2:16.2.5-3
5104bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
5104bd
5104bd
* Thu Jul 8 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.5-2
5104bd
- Rebuild for new fmt version.
6a6f94
6a6f94
* Thu Jul 8 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.5-1
6a6f94
- 16.2.5 GA
6a6f94
5104bd
* Mon Jul 05 2021 Richard Shaw <hobbes1069@gmail.com> - 2:16.2.4-6
5104bd
- Rebuild for new fmt version.
5104bd
5104bd
* Fri Jun 11 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.4-5
5104bd
- https://src.fedoraproject.org/rpms/ceph/pull-request/3#
5104bd
5104bd
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2:16.2.4-4
5104bd
- Rebuilt for Python 3.10
5104bd
5104bd
* Wed May 26 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.4-3
5104bd
- 16.2.4, bz 1964858, snappy::uint32
5104bd
5104bd
* Wed May 19 2021 Pete Walter <pwalter@fedoraproject.org> - 2:16.2.4-2
5104bd
- Rebuild for ICU 69
5104bd
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
5104bd
* Wed Apr 14 2021 Richard W.M. Jones <rjones@redhat.com> - 2:16.2.0-3
5104bd
- Rebuild for updated liburing.
5104bd
6fa4d7
* Sat Apr 10 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.0-2
6fa4d7
- 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
6fa4d7
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 2:16.1.0-2
6fa4d7
- 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
6fa4d7
* 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
6fa4d7
* Sat Mar 20 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.1.0-0.7.snapshot
6fa4d7
- 16.1.0 RC (ceph-16.1.0-944-ge53ee8bd)
6fa4d7
6fa4d7
* Fri Mar 19 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.1.0-0.6.snapshot
6fa4d7
- 16.1.0 RC (ceph-16.1.0-308-gabe639eb)
6fa4d7
6fa4d7
* Fri Mar 5 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.1.0-0.5.snapshot
6fa4d7
- ceph 16.1.0 RC (ceph-16.1.0-308-gabe639eb)
6fa4d7
-  rpmbuild apparently unable to automatically derive 'Requires: rocksdb' from 'BuildRequires: rocksdb-devel' for librocksdb.so.6.13
6fa4d7
6fa4d7
* Sat Feb 20 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.1.0-0.4.snapshot
6fa4d7
- ceph 16.1.0 RC (ceph-16.1.0-308-gabe639eb)
6fa4d7
6fa4d7
* Thu Feb 4 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.1.0-0.3.snapshot
6fa4d7
- rocksdb not available in el8+, use bundled rocksdb
6fa4d7
6fa4d7
* Mon Feb 1 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.1.0-0.2.snapshot
6fa4d7
- libblk.so -> libblk.a
6fa4d7
- libneoradostest-support.so -> libneoradostest-support.a
6fa4d7
- w/ liburing-devel, -DWITH_SYSTEM_LIBURING=ON
6fa4d7
- w/ rocksdb-devel, -DWITH_SYSTEM_ROCKSDB=ON
6fa4d7
6fa4d7
* Fri Jan 29 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.1.0-0.1.snapshot
6fa4d7
- ceph 16.1.0 RC (ceph-16.1.0-43-g6b74fb5c)
6fa4d7
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