bcc7f22
# vim: set noexpandtab ts=8 sw=8 :
bde7d23
#
bde7d23
# spec file for package ceph
bde7d23
#
44c0bd8
# Copyright (C) 2004-2017 The Ceph Project Developers. See COPYING file
bde7d23
# at the top-level directory of this distribution and at
bde7d23
# https://github.com/ceph/ceph/blob/master/COPYING
bde7d23
#
bde7d23
# All modifications and additions to the file contributed by third parties
bde7d23
# remain the property of their copyright owners, unless otherwise agreed
bde7d23
# upon.
bde7d23
#
bde7d23
# This file is under the GNU Lesser General Public License, version 2.1
bde7d23
#
bde7d23
# Please submit bugfixes or comments via http://tracker.ceph.com/
565f975
#
565f975
%global _hardened_build 1
565f975
44c0bd8
%bcond_without ocf
673fccf
%ifnarch armv7hl
bcc7f22
%bcond_without cephfs_java
673fccf
%else
673fccf
%bcond_with cephfs_java
673fccf
%endif
44c0bd8
%if 0%{?suse_version}
44c0bd8
%bcond_with ceph_test_package
a5a738d
%else
44c0bd8
%bcond_without ceph_test_package
44c0bd8
%endif
44c0bd8
%bcond_with make_check
44c0bd8
%ifarch s390 s390x
a5a738d
%bcond_with tcmalloc
44c0bd8
%else
44c0bd8
%bcond_without tcmalloc
a5a738d
%endif
673fccf
%ifnarch armv7hl
bcc7f22
%bcond_with lowmem_builder
673fccf
%else
02830d2
%if 0%{?rhel}
02830d2
%ifnarch ppc64le
02830d2
%bcond_with lowmem_builder
02830d2
%else
673fccf
%bcond_without lowmem_builder
673fccf
%endif
02830d2
%else
02830d2
%bcond_without lowmem_builder
02830d2
%endif
02830d2
%endif
bcc7f22
%if 0%{?fedora} || 0%{?rhel}
bde7d23
%bcond_without selinux
bcc7f22
%endif
bcc7f22
%if 0%{?suse_version}
bcc7f22
%bcond_with selinux
bcc7f22
%endif
4be65c2
c342c97
# LTTng-UST enabled on Fedora, RHEL 6+, and SLE (not openSUSE)
c342c97
%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version}
c342c97
%if ! 0%{?is_opensuse}
bde7d23
%bcond_without lttng
bde7d23
%endif
c342c97
%endif
bcc7f22
bcc7f22
%if %{with selinux}
bcc7f22
# get selinux policy version
bcc7f22
%{!?_selinux_policy_version: %global _selinux_policy_version %(sed -e 's,.*selinux-policy-\\([^/]*\\)/.*,\\1,' /usr/share/selinux/devel/policyhelp 2>/dev/null || echo 0.0.0)}
bcc7f22
%endif
bcc7f22
bcc7f22
%{!?_udevrulesdir: %global _udevrulesdir /lib/udev/rules.d}
bde7d23
%{!?tmpfiles_create: %global tmpfiles_create systemd-tmpfiles --create}
44c0bd8
%{!?python3_pkgversion: %global python3_pkgversion 3}
bcc7f22
bde7d23
# unify libexec for all targets
bde7d23
%global _libexecdir %{_exec_prefix}/lib
bde7d23
44c0bd8
# disable dwz which compresses the debuginfo
44c0bd8
%global _find_debuginfo_dwz_opts %{nil}
2a0aaf9
7da9a82
%if ( 0%{?rhel} && 0%{?rhel} < 7 )
7da9a82
%global _rundir %{_localstatedir}/run
7da9a82
%else
7da9a82
%global _rundir /run
7da9a82
%endif
7da9a82
08b7207
#################################################################################
44c0bd8
# main package definition
08b7207
#################################################################################
08b7207
Name:		ceph
77bab0f
Version:	12.2.2
77bab0f
Release:	1%{?dist}
44c0bd8
%if 0%{?fedora} || 0%{?rhel}
08b7207
Epoch:		1
44c0bd8
%endif
44c0bd8
02830d2
# define %%_epoch_prefix macro which will expand to the empty string if %%epoch is undefined
44c0bd8
%global _epoch_prefix %{?epoch:%{epoch}:}
44c0bd8
08b7207
Summary:	User space components of the Ceph file system
44c0bd8
License:	LGPL-2.1 and CC-BY-SA-1.0 and GPL-2.0 and BSL-1.0 and BSD-3-Clause and MIT
bcc7f22
%if 0%{?suse_version}
44c0bd8
Group:		System/Filesystems
bcc7f22
%endif
08b7207
URL:		http://ceph.com/
e19d64c
Source0:	http://download.ceph.com/tarballs/%{name}-%{version}.tar.gz
4679556
# https://bugzilla.redhat.com/show_bug.cgi?id=1474773
4679556
Patch001:	0001-src-rocksdb-util-murmurhash.patch
13a1835
# https://bugzilla.redhat.com/show_bug.cgi?id=1474774
13a1835
Patch002:	0002-cmake-Support-ppc64.patch
8d319bc
%if 0%{?suse_version}
8d319bc
%if 0%{?is_opensuse}
96279e9
ExclusiveArch:	x86_64 aarch64 ppc64 ppc64le
8d319bc
%else
96279e9
ExclusiveArch:	x86_64 aarch64 ppc64le s390x
8d319bc
%endif
8d319bc
%endif
bcc7f22
#################################################################################
bcc7f22
# dependencies that apply across all distro families
bcc7f22
#################################################################################
44c0bd8
Requires:       ceph-osd = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:       ceph-mds = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:       ceph-mgr = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:       ceph-mon = %{_epoch_prefix}%{version}-%{release}
08b7207
Requires(post):	binutils
bcc7f22
%if 0%{with cephfs_java}
bcc7f22
BuildRequires:	java-devel
bcc7f22
BuildRequires:	sharutils
bcc7f22
%endif
bcc7f22
%if 0%{with selinux}
bcc7f22
BuildRequires:	checkpolicy
bcc7f22
BuildRequires:	selinux-policy-devel
77bab0f
BuildRequires:	selinux-policy-doc
bcc7f22
%endif
6d95105
%if 0%{with make_check}
6d95105
%if 0%{?fedora} || 0%{?rhel}
6d95105
BuildRequires: python-cherrypy
6d95105
BuildRequires: python-werkzeug
6d95105
%endif
6d95105
%if 0%{?suse_version}
6d95105
BuildRequires: python-CherryPy
6d95105
BuildRequires: python-Werkzeug
77bab0f
BuildRequires: python-numpy-devel
6d95105
%endif
6d95105
BuildRequires: python-pecan
6d95105
BuildRequires: socat
6d95105
%endif
44c0bd8
BuildRequires:	bc
44c0bd8
BuildRequires:	gperf
bcc7f22
BuildRequires:  cmake
2a379f1
BuildRequires:	cryptsetup
bcc7f22
BuildRequires:	fuse-devel
dadf49c
BuildRequires:	gcc-c++
08b7207
BuildRequires:	gdbm
8d319bc
%if 0%{with tcmalloc}
44c0bd8
BuildRequires:	gperftools-devel >= 2.4
8d319bc
%endif
44c0bd8
BuildRequires:  jq
bcc7f22
BuildRequires:	leveldb-devel > 1.2
08b7207
BuildRequires:	libaio-devel
08b7207
BuildRequires:	libblkid-devel >= 2.17
dadf49c
BuildRequires:	libcurl-devel
08b7207
BuildRequires:	libudev-devel
2a379f1
BuildRequires:	libtool
dadf49c
BuildRequires:	libxml2-devel
2a379f1
BuildRequires:	make
2a379f1
BuildRequires:	parted
44c0bd8
BuildRequires:	perl
2a379f1
BuildRequires:	pkgconfig
2a379f1
BuildRequires:	python
bde7d23
BuildRequires:	python-devel
2a379f1
BuildRequires:	python-nose
2a379f1
BuildRequires:	python-requests
2a379f1
BuildRequires:	python-virtualenv
bcc7f22
BuildRequires:	snappy-devel
c342c97
BuildRequires:	udev
2a379f1
BuildRequires:	util-linux
bde7d23
BuildRequires:	valgrind-devel
44c0bd8
BuildRequires:	which
2a379f1
BuildRequires:	xfsprogs
08b7207
BuildRequires:	xfsprogs-devel
2a379f1
BuildRequires:	xmlstarlet
84aa853
BuildRequires:	yasm
08b7207
08b7207
#################################################################################
bcc7f22
# distro-conditional dependencies
08b7207
#################################################################################
bcc7f22
%if 0%{?suse_version}
bcc7f22
BuildRequires:  pkgconfig(systemd)
bcc7f22
BuildRequires:	systemd-rpm-macros
bde7d23
BuildRequires:	systemd
bcc7f22
%{?systemd_requires}
bcc7f22
PreReq:		%fillup_prereq
bcc7f22
BuildRequires:	net-tools
bcc7f22
BuildRequires:	libbz2-devel
bde7d23
BuildRequires:  btrfsprogs
08b7207
BuildRequires:	mozilla-nss-devel
08b7207
BuildRequires:	keyutils-devel
bde7d23
BuildRequires:  libopenssl-devel
bde7d23
BuildRequires:  lsb-release
bde7d23
BuildRequires:  openldap2-devel
bde7d23
BuildRequires:	python-Cython
44c0bd8
BuildRequires:	python-PrettyTable
44c0bd8
BuildRequires:	python-Sphinx
44c0bd8
BuildRequires:  rdma-core-devel
bde7d23
%endif
565f975
%if 0%{?fedora} || 0%{?rhel}
bcc7f22
Requires:	systemd
dadf49c
BuildRequires:  boost-random
bde7d23
BuildRequires:	btrfs-progs
08b7207
BuildRequires:	nss-devel
08b7207
BuildRequires:	keyutils-libs-devel
3cac6fb
# RDMA is no longer built on 32-bit ARM: see #1484155
3cac6fb
%ifnarch %{arm}
3cac6fb
BuildRequires:	rdma-core-devel
3cac6fb
%endif
bde7d23
BuildRequires:  openldap-devel
bde7d23
BuildRequires:  openssl-devel
bde7d23
BuildRequires:  redhat-lsb-core
bde7d23
BuildRequires:	Cython
44c0bd8
BuildRequires:	python-prettytable
44c0bd8
BuildRequires:	python-sphinx
44c0bd8
%endif
44c0bd8
# python34-... for RHEL, python3-... for all other supported distros
bfadd1c
%if ( 0%{?rhel} && 0%{?rhel} <= 7 )
44c0bd8
BuildRequires:	python34-devel
44c0bd8
BuildRequires:	python34-setuptools
44c0bd8
BuildRequires:	python34-Cython
44c0bd8
%else
44c0bd8
BuildRequires:	python3-devel
44c0bd8
BuildRequires:	python3-setuptools
44c0bd8
BuildRequires:	python3-Cython
bcc7f22
%endif
bcc7f22
# lttng and babeltrace for rbd-replay-prep
bde7d23
%if %{with lttng}
bcc7f22
%if 0%{?fedora} || 0%{?rhel}
bcc7f22
BuildRequires:	lttng-ust-devel
bcc7f22
BuildRequires:	libbabeltrace-devel
bcc7f22
%endif
bcc7f22
%if 0%{?suse_version}
bcc7f22
BuildRequires:	lttng-ust-devel
bcc7f22
BuildRequires:  babeltrace-devel
bcc7f22
%endif
bcc7f22
%endif
bcc7f22
%if 0%{?suse_version}
bcc7f22
BuildRequires:	libexpat-devel
bcc7f22
%endif
bcc7f22
%if 0%{?rhel} || 0%{?fedora}
bcc7f22
BuildRequires:	expat-devel
bcc7f22
%endif
bde7d23
#hardened-cc1
bde7d23
%if 0%{?fedora} || 0%{?rhel}
bde7d23
BuildRequires:  redhat-rpm-config
bde7d23
%endif
5dd73cb
08b7207
%description
bcc7f22
Ceph is a massively scalable, open-source, distributed storage system that runs
bcc7f22
on commodity hardware and delivers object, block and file system storage.
9a1331d
d184580
08b7207
#################################################################################
44c0bd8
# subpackages
08b7207
#################################################################################
bde7d23
%package base
bde7d23
Summary:       Ceph Base Package
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:         System/Filesystems
44c0bd8
%endif
44c0bd8
Requires:      ceph-common = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:      librbd1 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:      librados2 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:      libcephfs2 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:      librgw2 = %{_epoch_prefix}%{version}-%{release}
bde7d23
%if 0%{with selinux}
44c0bd8
Requires:      ceph-selinux = %{_epoch_prefix}%{version}-%{release}
bde7d23
%endif
bde7d23
Requires:      python
bde7d23
Requires:      python-requests
bde7d23
Requires:      python-setuptools
bde7d23
Requires:      grep
bde7d23
Requires:      xfsprogs
bde7d23
Requires:      logrotate
bde7d23
Requires:      util-linux
bde7d23
Requires:      cryptsetup
bde7d23
Requires:      findutils
44c0bd8
Requires:      psmisc
bde7d23
Requires:      which
bde7d23
%if 0%{?suse_version}
dadf49c
Recommends:    ntp-daemon
bde7d23
%endif
bde7d23
%description base
bde7d23
Base is the package that includes all the files shared amongst ceph servers
bde7d23
08b7207
%package -n ceph-common
08b7207
Summary:	Ceph Common
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		System/Filesystems
44c0bd8
%endif
44c0bd8
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:	libcephfs2 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:	python-rados = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:	python-rbd = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:	python-cephfs = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:	python-rgw = %{_epoch_prefix}%{version}-%{release}
44c0bd8
%if 0%{?fedora} || 0%{?rhel}
44c0bd8
Requires:	python-prettytable
44c0bd8
%endif
44c0bd8
%if 0%{?suse_version}
44c0bd8
Requires:	python-PrettyTable
44c0bd8
%endif
08b7207
Requires:	python-requests
bcc7f22
%{?systemd_requires}
bcc7f22
%if 0%{?suse_version}
bcc7f22
Requires(pre):	pwdutils
bcc7f22
%endif
08b7207
%description -n ceph-common
2a379f1
Common utilities to mount and interact with a ceph storage cluster.
bde7d23
Comprised of files that are common to Ceph clients and servers.
bde7d23
bde7d23
%package mds
bde7d23
Summary:	Ceph Metadata Server Daemon
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		System/Filesystems
44c0bd8
%endif
44c0bd8
Requires:	ceph-base = %{_epoch_prefix}%{version}-%{release}
bde7d23
%description mds
bde7d23
ceph-mds is the metadata server daemon for the Ceph distributed file system.
bde7d23
One or more instances of ceph-mds collectively manage the file system
bde7d23
namespace, coordinating access to the shared OSD cluster.
bde7d23
bde7d23
%package mon
bde7d23
Summary:	Ceph Monitor Daemon
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		System/Filesystems
44c0bd8
%endif
44c0bd8
Requires:	ceph-base = %{_epoch_prefix}%{version}-%{release}
bde7d23
# For ceph-rest-api
bde7d23
%if 0%{?fedora} || 0%{?rhel}
bde7d23
Requires:      python-flask
bde7d23
%endif
bde7d23
%if 0%{?suse_version}
bde7d23
Requires:      python-Flask
bde7d23
%endif
bde7d23
%description mon
bde7d23
ceph-mon is the cluster monitor daemon for the Ceph distributed file
bde7d23
system. One or more instances of ceph-mon form a Paxos part-time
bde7d23
parliament cluster that provides extremely reliable and durable storage
bde7d23
of cluster membership, configuration, and state.
08b7207
44c0bd8
%package mgr
44c0bd8
Summary:        Ceph Manager Daemon
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:          System/Filesystems
44c0bd8
%endif
44c0bd8
Requires:       ceph-base = %{_epoch_prefix}%{version}-%{release}
44c0bd8
%if 0%{?fedora} || 0%{?rhel}
44c0bd8
Requires:       python-cherrypy
44c0bd8
Requires:       python-werkzeug
44c0bd8
Requires:       pyOpenSSL
44c0bd8
%endif
44c0bd8
%if 0%{?suse_version}
44c0bd8
Requires: 	python-CherryPy
44c0bd8
Requires:       python-Werkzeug
44c0bd8
Requires:       python-pyOpenSSL
44c0bd8
%endif
44c0bd8
Requires:       python-pecan
44c0bd8
%description mgr
44c0bd8
ceph-mgr enables python modules that provide services (such as the REST
44c0bd8
module derived from Calamari) and expose CLI hooks.  ceph-mgr gathers
44c0bd8
the cluster maps, the daemon metadata, and performance counters, and
44c0bd8
exposes all these to the python modules.
44c0bd8
08b7207
%package fuse
08b7207
Summary:	Ceph fuse-based client
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		System/Filesystems
44c0bd8
%endif
629de10
Requires:	fuse
08b7207
%description fuse
5dd73cb
FUSE based client for Ceph distributed network file system
5dd73cb
08b7207
%package -n rbd-fuse
08b7207
Summary:	Ceph fuse-based client
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		System/Filesystems
44c0bd8
%endif
44c0bd8
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
08b7207
%description -n rbd-fuse
08b7207
FUSE based client to map Ceph rbd images to files
08b7207
bde7d23
%package -n rbd-mirror
bde7d23
Summary:	Ceph daemon for mirroring RBD images
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		System/Filesystems
44c0bd8
%endif
44c0bd8
Requires:	ceph-common = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
bde7d23
%description -n rbd-mirror
bde7d23
Daemon for mirroring RBD images between Ceph clusters, streaming
bde7d23
changes asynchronously.
bde7d23
bde7d23
%package -n rbd-nbd
bde7d23
Summary:	Ceph RBD client base on NBD
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		System/Filesystems
44c0bd8
%endif
44c0bd8
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
bde7d23
%description -n rbd-nbd
bde7d23
NBD based client to map Ceph rbd images to local device
bde7d23
Josef Bacik ca6b4d7
%package radosgw
08b7207
Summary:	Rados REST gateway
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		System/Filesystems
44c0bd8
%endif
44c0bd8
Requires:	ceph-common = %{_epoch_prefix}%{version}-%{release}
bcc7f22
%if 0%{with selinux}
44c0bd8
Requires:	ceph-selinux = %{_epoch_prefix}%{version}-%{release}
bcc7f22
%endif
44c0bd8
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:	librgw2 = %{_epoch_prefix}%{version}-%{release}
bcc7f22
%if 0%{?rhel} || 0%{?fedora}
bcc7f22
Requires:	mailcap
08b7207
%endif
Josef Bacik ca6b4d7
%description radosgw
bde7d23
RADOS is a distributed object store used by the Ceph distributed
bde7d23
storage system.  This package provides a REST gateway to the
bde7d23
object store that aims to implement a superset of Amazon's S3
bde7d23
service as well as the OpenStack Object Storage ("Swift") API.
Josef Bacik ca6b4d7
08b7207
%if %{with ocf}
08b7207
%package resource-agents
08b7207
Summary:	OCF-compliant resource agents for Ceph daemons
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		System/Filesystems
44c0bd8
%endif
44c0bd8
Requires:	ceph-base = %{_epoch_prefix}%{version}
08b7207
Requires:	resource-agents
08b7207
%description resource-agents
08b7207
Resource agents for monitoring and managing Ceph daemons
08b7207
under Open Cluster Framework (OCF) compliant resource
08b7207
managers such as Pacemaker.
08b7207
%endif
9a1331d
bde7d23
%package osd
bde7d23
Summary:	Ceph Object Storage Daemon
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		System/Filesystems
44c0bd8
%endif
44c0bd8
Requires:	ceph-base = %{_epoch_prefix}%{version}-%{release}
bde7d23
# for sgdisk, used by ceph-disk
bde7d23
%if 0%{?fedora} || 0%{?rhel}
bde7d23
Requires:	gdisk
bde7d23
%endif
bde7d23
%if 0%{?suse_version}
bde7d23
Requires:	gptfdisk
bde7d23
%endif
8d319bc
Requires:       parted
bde7d23
%description osd
bde7d23
ceph-osd is the object storage daemon for the Ceph distributed file
bde7d23
system.  It is responsible for storing objects on a local file system
bde7d23
and providing access to them over the network.
bde7d23
08b7207
%package -n librados2
08b7207
Summary:	RADOS distributed object store client library
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		System/Libraries
44c0bd8
%endif
bcc7f22
%if 0%{?rhel} || 0%{?fedora}
44c0bd8
Obsoletes:	ceph-libs < %{_epoch_prefix}%{version}-%{release}
a262d18
Obsoletes:	ceph-libs-compat < %{_epoch_prefix}%{version}-%{release}
9a1331d
%endif
08b7207
%description -n librados2
08b7207
RADOS is a reliable, autonomic distributed object storage cluster
08b7207
developed as part of the Ceph distributed storage system. This is a
08b7207
shared library allowing applications to access the distributed object
08b7207
store using a simple file-like interface.
08b7207
c342c97
%package -n librados-devel
7da3554
Summary:	RADOS headers
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		Development/Libraries/C and C++
44c0bd8
%endif
44c0bd8
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
44c0bd8
Provides:	librados2-devel = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Obsoletes:	librados2-devel < %{_epoch_prefix}%{version}-%{release}
c342c97
%description -n librados-devel
7da3554
This package contains libraries and headers needed to develop programs
7da3554
that use RADOS object store.
7da3554
bde7d23
%package -n librgw2
bde7d23
Summary:	RADOS gateway client library
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		System/Libraries
44c0bd8
%endif
44c0bd8
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
bde7d23
%description -n librgw2
bde7d23
This package provides a library implementation of the RADOS gateway
bde7d23
(distributed object store with S3 and Swift personalities).
bde7d23
c342c97
%package -n librgw-devel
bde7d23
Summary:	RADOS gateway client library
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		Development/Libraries/C and C++
44c0bd8
%endif
44c0bd8
Requires:	librados-devel = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:	librgw2 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Provides:	librgw2-devel = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Obsoletes:	librgw2-devel < %{_epoch_prefix}%{version}-%{release}
c342c97
%description -n librgw-devel
bde7d23
This package contains libraries and headers needed to develop programs
bde7d23
that use RADOS gateway client library.
bde7d23
44c0bd8
%package -n python-rgw
44c0bd8
Summary:	Python 2 libraries for the RADOS gateway
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		Development/Languages/Python
44c0bd8
%endif
44c0bd8
Requires:	librgw2 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:	python-rados = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Obsoletes:	python-ceph < %{_epoch_prefix}%{version}-%{release}
44c0bd8
%description -n python-rgw
44c0bd8
This package contains Python 2 libraries for interacting with Cephs RADOS
44c0bd8
gateway.
44c0bd8
44c0bd8
%package -n python%{python3_pkgversion}-rgw
44c0bd8
Summary:	Python 3 libraries for the RADOS gateway
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		Development/Languages/Python
44c0bd8
%endif
44c0bd8
Requires:	librgw2 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:	python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
44c0bd8
%description -n python%{python3_pkgversion}-rgw
44c0bd8
This package contains Python 3 libraries for interacting with Cephs RADOS
44c0bd8
gateway.
44c0bd8
7da3554
%package -n python-rados
44c0bd8
Summary:	Python 2 libraries for the RADOS object store
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		Development/Languages/Python
44c0bd8
%endif
44c0bd8
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Obsoletes:	python-ceph < %{_epoch_prefix}%{version}-%{release}
7da3554
%description -n python-rados
44c0bd8
This package contains Python 2 libraries for interacting with Cephs RADOS
44c0bd8
object store.
44c0bd8
44c0bd8
%package -n python%{python3_pkgversion}-rados
44c0bd8
Summary:	Python 3 libraries for the RADOS object store
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		Development/Languages/Python
44c0bd8
%endif
44c0bd8
Requires:	python%{python3_pkgversion}
44c0bd8
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
%description -n python%{python3_pkgversion}-rados
44c0bd8
This package contains Python 3 libraries for interacting with Cephs RADOS
7da3554
object store.
7da3554
3b0b0e0
%package -n libradosstriper1
d8048b5
Summary:	RADOS striping interface
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		System/Libraries
44c0bd8
%endif
44c0bd8
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
3b0b0e0
%description -n libradosstriper1
3b0b0e0
Striping interface built on top of the rados library, allowing
3b0b0e0
to stripe bigger objects onto several standard rados objects using
3b0b0e0
an interface very similar to the rados one.
3b0b0e0
c342c97
%package -n libradosstriper-devel
d8048b5
Summary:	RADOS striping interface headers
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		Development/Libraries/C and C++
44c0bd8
%endif
44c0bd8
Requires:	libradosstriper1 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:	librados-devel = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
44c0bd8
Provides:	libradosstriper1-devel = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Obsoletes:	libradosstriper1-devel < %{_epoch_prefix}%{version}-%{release}
c342c97
%description -n libradosstriper-devel
3b0b0e0
This package contains libraries and headers needed to develop programs
3b0b0e0
that use RADOS striping interface.
3b0b0e0
08b7207
%package -n librbd1
08b7207
Summary:	RADOS block device client library
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		System/Libraries
44c0bd8
%endif
44c0bd8
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
%if 0%{?suse_version}
44c0bd8
Requires(post): coreutils
44c0bd8
%endif
bcc7f22
%if 0%{?rhel} || 0%{?fedora}
44c0bd8
Obsoletes:	ceph-libs < %{_epoch_prefix}%{version}-%{release}
a262d18
Obsoletes:	ceph-libs-compat < %{_epoch_prefix}%{version}-%{release}
9a1331d
%endif
08b7207
%description -n librbd1
08b7207
RBD is a block device striped across multiple distributed objects in
08b7207
RADOS, a reliable, autonomic distributed object storage cluster
08b7207
developed as part of the Ceph distributed storage system. This is a
08b7207
shared library allowing applications to manage these block devices.
9a1331d
c342c97
%package -n librbd-devel
7da3554
Summary:	RADOS block device headers
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		Development/Libraries/C and C++
44c0bd8
%endif
44c0bd8
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:	librados-devel = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
44c0bd8
Provides:	librbd1-devel = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Obsoletes:	librbd1-devel < %{_epoch_prefix}%{version}-%{release}
c342c97
%description -n librbd-devel
7da3554
This package contains libraries and headers needed to develop programs
7da3554
that use RADOS block device.
7da3554
7da3554
%package -n python-rbd
44c0bd8
Summary:	Python 2 libraries for the RADOS block device
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		Development/Languages/Python
44c0bd8
%endif
44c0bd8
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:	python-rados = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Obsoletes:	python-ceph < %{_epoch_prefix}%{version}-%{release}
7da3554
%description -n python-rbd
44c0bd8
This package contains Python 2 libraries for interacting with Cephs RADOS
7da3554
block device.
7da3554
44c0bd8
%package -n python%{python3_pkgversion}-rbd
44c0bd8
Summary:	Python 3 libraries for the RADOS block device
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		Development/Languages/Python
44c0bd8
%endif
44c0bd8
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:	python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
44c0bd8
%description -n python%{python3_pkgversion}-rbd
44c0bd8
This package contains Python 3 libraries for interacting with Cephs RADOS
44c0bd8
block device.
44c0bd8
44c0bd8
%package -n libcephfs2
08b7207
Summary:	Ceph distributed file system client library
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		System/Libraries
44c0bd8
%endif
44c0bd8
Obsoletes:	libcephfs1
bcc7f22
%if 0%{?rhel} || 0%{?fedora}
44c0bd8
Obsoletes:	ceph-libs < %{_epoch_prefix}%{version}-%{release}
a262d18
Obsoletes:	ceph-libs-compat < %{_epoch_prefix}%{version}-%{release}
bcc7f22
Obsoletes:	ceph-libcephfs
4be65c2
%endif
44c0bd8
%description -n libcephfs2
08b7207
Ceph is a distributed network file system designed to provide excellent
08b7207
performance, reliability, and scalability. This is a shared library
08b7207
allowing applications to access a Ceph distributed file system via a
08b7207
POSIX-like interface.
08b7207
c342c97
%package -n libcephfs-devel
7da3554
Summary:	Ceph distributed file system headers
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		Development/Libraries/C and C++
44c0bd8
%endif
44c0bd8
Requires:	libcephfs2 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:	librados-devel = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
44c0bd8
Provides:	libcephfs2-devel = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Obsoletes:	libcephfs2-devel < %{_epoch_prefix}%{version}-%{release}
c342c97
%description -n libcephfs-devel
7da3554
This package contains libraries and headers needed to develop programs
7da3554
that use Cephs distributed file system.
7da3554
7da3554
%package -n python-cephfs
44c0bd8
Summary:	Python 2 libraries for Ceph distributed file system
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		Development/Languages/Python
44c0bd8
%endif
44c0bd8
Requires:	libcephfs2 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
%if 0%{?suse_version}
44c0bd8
Recommends: python-rados = %{_epoch_prefix}%{version}-%{release}
44c0bd8
%endif
44c0bd8
Obsoletes:	python-ceph < %{_epoch_prefix}%{version}-%{release}
7da3554
%description -n python-cephfs
44c0bd8
This package contains Python 2 libraries for interacting with Cephs distributed
44c0bd8
file system.
44c0bd8
44c0bd8
%package -n python%{python3_pkgversion}-cephfs
44c0bd8
Summary:	Python 3 libraries for Ceph distributed file system
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		Development/Languages/Python
44c0bd8
%endif
44c0bd8
Requires:	libcephfs2 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:	python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
44c0bd8
%description -n python%{python3_pkgversion}-cephfs
44c0bd8
This package contains Python 3 libraries for interacting with Cephs distributed
7da3554
file system.
08b7207
44c0bd8
%package -n python%{python3_pkgversion}-ceph-argparse
44c0bd8
Summary:	Python 3 utility libraries for Ceph CLI
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		Development/Languages/Python
44c0bd8
%endif
44c0bd8
%description -n python%{python3_pkgversion}-ceph-argparse
44c0bd8
This package contains types and routines for Python 3 used by the Ceph CLI as
44c0bd8
well as the RESTful interface. These have to do with querying the daemons for
44c0bd8
command-description information, validating user command input against those
44c0bd8
descriptions, and submitting the command to the appropriate daemon.
44c0bd8
44c0bd8
%if 0%{with ceph_test_package}
b318545
%package -n ceph-test
b318545
Summary:	Ceph benchmarks and test tools
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		System/Benchmark
44c0bd8
%endif
bcc7f22
Requires:	ceph-common
bcc7f22
Requires:	xmlstarlet
44c0bd8
Requires:	jq
6d95105
Requires:	socat
b318545
%description -n ceph-test
b318545
This package contains Ceph benchmarks and test tools.
44c0bd8
%endif
b318545
bcc7f22
%if 0%{with cephfs_java}
bcc7f22
b318545
%package -n libcephfs_jni1
bcc7f22
Summary:	Java Native Interface library for CephFS Java bindings
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		System/Libraries
44c0bd8
%endif
b318545
Requires:	java
44c0bd8
Requires:	libcephfs2 = %{_epoch_prefix}%{version}-%{release}
b318545
%description -n libcephfs_jni1
b318545
This package contains the Java Native Interface library for CephFS Java
b318545
bindings.
b318545
c342c97
%package -n libcephfs_jni-devel
bcc7f22
Summary:	Development files for CephFS Java Native Interface library
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		Development/Libraries/Java
44c0bd8
%endif
7da3554
Requires:	java
44c0bd8
Requires:	libcephfs_jni1 = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
44c0bd8
Provides:	libcephfs_jni1-devel = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Obsoletes:	libcephfs_jni1-devel < %{_epoch_prefix}%{version}-%{release}
c342c97
%description -n libcephfs_jni-devel
7da3554
This package contains the development files for CephFS Java Native Interface
7da3554
library.
7da3554
b318545
%package -n cephfs-java
bcc7f22
Summary:	Java libraries for the Ceph File System
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		System/Libraries
44c0bd8
%endif
b318545
Requires:	java
44c0bd8
Requires:	libcephfs_jni1 = %{_epoch_prefix}%{version}-%{release}
2a379f1
Requires:       junit
2a379f1
BuildRequires:  junit
b318545
%description -n cephfs-java
b318545
This package contains the Java libraries for the Ceph File System.
b318545
bcc7f22
%endif
bcc7f22
44c0bd8
%package -n rados-objclass-devel
44c0bd8
Summary:        RADOS object class development kit
44c0bd8
Group:          Development/Libraries
44c0bd8
Requires:       librados2-devel = %{_epoch_prefix}%{version}-%{release}
44c0bd8
%description -n rados-objclass-devel
44c0bd8
This package contains libraries and headers needed to develop RADOS object
44c0bd8
class plugins.
44c0bd8
bcc7f22
%if 0%{with selinux}
bcc7f22
bcc7f22
%package selinux
bcc7f22
Summary:	SELinux support for Ceph MON, OSD and MDS
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		System/Filesystems
44c0bd8
%endif
44c0bd8
Requires:	ceph-base = %{_epoch_prefix}%{version}-%{release}
bcc7f22
Requires:	policycoreutils, libselinux-utils
44c0bd8
Requires(post):	ceph-base = %{_epoch_prefix}%{version}-%{release}
bcc7f22
Requires(post): selinux-policy-base >= %{_selinux_policy_version}, policycoreutils, gawk
bcc7f22
Requires(postun): policycoreutils
bcc7f22
%description selinux
bcc7f22
This package contains SELinux support for Ceph MON, OSD and MDS. The package
bcc7f22
also performs file-system relabelling which can take a long time on heavily
bcc7f22
populated file-systems.
bcc7f22
bcc7f22
%endif
bcc7f22
7da3554
%package -n python-ceph-compat
7da3554
Summary:	Compatibility package for Cephs python libraries
44c0bd8
%if 0%{?suse_version}
44c0bd8
Group:		Development/Languages/Python
44c0bd8
%endif
7da3554
Obsoletes:	python-ceph
44c0bd8
Requires:	python-rados = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:	python-rbd = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:	python-cephfs = %{_epoch_prefix}%{version}-%{release}
44c0bd8
Requires:	python-rgw = %{_epoch_prefix}%{version}-%{release}
7da3554
Provides:	python-ceph
7da3554
%description -n python-ceph-compat
7da3554
This is a compatibility package to accommodate python-ceph split into
44c0bd8
python-rados, python-rbd, python-rgw and python-cephfs. Packages still
44c0bd8
depending on python-ceph should be fixed to depend on python-rados,
44c0bd8
python-rbd, python-rgw or python-cephfs instead.
7da3554
08b7207
#################################################################################
08b7207
# common
08b7207
#################################################################################
08b7207
%prep
bba7f9c
%autosetup -p1 -n %{name}-%{version}
08b7207
08b7207
%build
bcc7f22
%if 0%{with cephfs_java}
08b7207
# Find jni.h
08b7207
for i in /usr/{lib64,lib}/jvm/java/include{,/linux}; do
08b7207
    [ -d $i ] && java_inc="$java_inc -I$i"
08b7207
done
bcc7f22
%endif
08b7207
bcc7f22
%if %{with lowmem_builder}
bcc7f22
RPM_OPT_FLAGS="$RPM_OPT_FLAGS --param ggc-min-expand=20 --param ggc-min-heapsize=32768"
5311ad2
%endif
673fccf
%ifnarch armv7hl
bcc7f22
export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed -e 's/i386/i486/'`
673fccf
%else
673fccf
export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed -e 's/i386/i486/' -e 's/-pipe//g'`
673fccf
%endif
44c0bd8
44c0bd8
export CPPFLAGS="$java_inc"
44c0bd8
export CFLAGS="$RPM_OPT_FLAGS"
44c0bd8
export CXXFLAGS="$RPM_OPT_FLAGS"
44c0bd8
44c0bd8
env | sort
44c0bd8
44c0bd8
%if %{with lowmem_builder}
673fccf
%ifnarch armv7hl
44c0bd8
%if 0%{?jobs} > 8
44c0bd8
%define _smp_mflags -j8
44c0bd8
%endif
673fccf
%else
673fccf
%define _smp_mflags -j1
673fccf
%endif
a5a738d
%endif
5311ad2
44c0bd8
# unlimit _smp_mflags in system macro if not set above
44c0bd8
%define _smp_ncpus_max 0
44c0bd8
# extract the number of processors for use with cmake
44c0bd8
%define _smp_ncpus %(echo %{_smp_mflags} | sed 's/-j//')
44c0bd8
44c0bd8
mkdir build
44c0bd8
cd build
44c0bd8
cmake .. \
44c0bd8
    -DCMAKE_INSTALL_PREFIX=%{_prefix} \
44c0bd8
    -DCMAKE_INSTALL_LIBDIR=%{_libdir} \
44c0bd8
    -DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir} \
44c0bd8
    -DCMAKE_INSTALL_LOCALSTATEDIR=%{_localstatedir} \
44c0bd8
    -DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} \
44c0bd8
    -DCMAKE_INSTALL_MANDIR=%{_mandir} \
44c0bd8
    -DCMAKE_INSTALL_DOCDIR=%{_docdir}/ceph \
6d95105
    -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} \
44c0bd8
    -DWITH_EMBEDDED=OFF \
44c0bd8
    -DWITH_MANPAGE=ON \
44c0bd8
    -DWITH_PYTHON3=ON \
44c0bd8
    -DWITH_SYSTEMD=ON \
bfadd1c
%if ( ( 0%{?rhel} && 0%{?rhel} <= 7) && ! 0%{?centos} )
44c0bd8
    -DWITH_SUBMAN=ON \
bcc7f22
%endif
44c0bd8
%if 0%{without ceph_test_package}
44c0bd8
    -DWITH_TESTS=OFF \
bcc7f22
%endif
44c0bd8
%if 0%{with cephfs_java}
44c0bd8
    -DWITH_CEPHFS_JAVA=ON \
bde7d23
%endif
44c0bd8
%if 0%{with selinux}
44c0bd8
    -DWITH_SELINUX=ON \
20b0b2e
%endif
44c0bd8
%if %{with lttng}
44c0bd8
    -DWITH_LTTNG=ON \
673fccf
    -DWITH_BABELTRACE=ON \
44c0bd8
%else
44c0bd8
    -DWITH_LTTNG=OFF \
673fccf
    -DWITH_BABELTRACE=OFF \
44c0bd8
%endif
44c0bd8
    $CEPH_EXTRA_CMAKE_ARGS \
44c0bd8
%if 0%{with ocf}
44c0bd8
    -DWITH_OCF=ON \
bde7d23
%endif
44c0bd8
%ifarch aarch64 armv7hl mips mipsel ppc ppc64 ppc64le %{ix86} x86_64
44c0bd8
    -DWITH_RADOSGW_BEAST_FRONTEND=ON \
44c0bd8
%else
44c0bd8
    -DWITH_RADOSGW_BEAST_FRONTEND=OFF \
bde7d23
%endif
bcc0c89
%ifnarch %{arm}
bcc0c89
    -DWITH_RDMA=OFF \
bcc0c89
%endif
44c0bd8
    -DBOOST_J=%{_smp_ncpus}
bcc7f22
bcc7f22
make %{?_smp_mflags}
bcc7f22
bcc7f22
44c0bd8
%if 0%{with make_check}
bcc7f22
%check
bcc7f22
# run in-tree unittests
44c0bd8
cd build
44c0bd8
ctest %{?_smp_mflags}
08b7207
560f971
%endif
Jonathan Dieter 0f5f195
bcc7f22
5dd73cb
5dd73cb
%install
44c0bd8
pushd build
dadf49c
make DESTDIR=%{buildroot} install
44c0bd8
# we have dropped sysvinit bits
44c0bd8
rm -f %{buildroot}/%{_sysconfdir}/init.d/ceph
44c0bd8
popd
44c0bd8
install -m 0644 -D src/etc-rbdmap %{buildroot}%{_sysconfdir}/ceph/rbdmap
bcc7f22
%if 0%{?fedora} || 0%{?rhel}
dadf49c
install -m 0644 -D etc/sysconfig/ceph %{buildroot}%{_sysconfdir}/sysconfig/ceph
bcc7f22
%endif
bcc7f22
%if 0%{?suse_version}
dadf49c
install -m 0644 -D etc/sysconfig/ceph %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}
bcc7f22
%endif
dadf49c
install -m 0644 -D systemd/ceph.tmpfiles.d %{buildroot}%{_tmpfilesdir}/ceph-common.conf
dadf49c
install -m 0755 -D systemd/ceph %{buildroot}%{_sbindir}/rcceph
dadf49c
install -m 0644 -D systemd/50-ceph.preset %{buildroot}%{_libexecdir}/systemd/system-preset/50-ceph.preset
dadf49c
mkdir -p %{buildroot}%{_sbindir}
dadf49c
install -m 0644 -D src/logrotate.conf %{buildroot}%{_sysconfdir}/logrotate.d/ceph
dadf49c
chmod 0644 %{buildroot}%{_docdir}/ceph/sample.ceph.conf
44c0bd8
install -m 0644 -D COPYING %{buildroot}%{_docdir}/ceph/COPYING
77bab0f
install -m 0644 -D src/90-ceph-osd.conf %{buildroot}%{_sysctldir}/90-ceph-osd.conf
08b7207
8d319bc
# firewall templates and /sbin/mount.ceph symlink
bcc7f22
%if 0%{?suse_version}
bcc7f22
install -m 0644 -D etc/sysconfig/SuSEfirewall2.d/services/ceph-mon %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ceph-mon
bcc7f22
install -m 0644 -D etc/sysconfig/SuSEfirewall2.d/services/ceph-osd-mds %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ceph-osd-mds
8d319bc
mkdir -p %{buildroot}/sbin
8d319bc
ln -sf %{_sbindir}/mount.ceph %{buildroot}/sbin/mount.ceph
08b7207
%endif
08b7207
bcc7f22
# udev rules
dadf49c
install -m 0644 -D udev/50-rbd.rules %{buildroot}%{_udevrulesdir}/50-rbd.rules
8d319bc
install -m 0644 -D udev/60-ceph-by-parttypeuuid.rules %{buildroot}%{_udevrulesdir}/60-ceph-by-parttypeuuid.rules
dadf49c
install -m 0644 -D udev/95-ceph-osd.rules %{buildroot}%{_udevrulesdir}/95-ceph-osd.rules
08b7207
08b7207
#set up placeholder directories
dadf49c
mkdir -p %{buildroot}%{_sysconfdir}/ceph
7da9a82
mkdir -p %{buildroot}%{_rundir}/ceph
dadf49c
mkdir -p %{buildroot}%{_localstatedir}/log/ceph
dadf49c
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/tmp
dadf49c
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/mon
dadf49c
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/osd
dadf49c
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/mds
44c0bd8
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/mgr
dadf49c
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/radosgw
dadf49c
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-osd
dadf49c
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-mds
dadf49c
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rgw
44c0bd8
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-mgr
565f975
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rbd
44c0bd8
44c0bd8
%if 0%{?suse_version}
44c0bd8
# create __pycache__ directories and their contents
44c0bd8
%py3_compile %{buildroot}%{python3_sitelib}
44c0bd8
%endif
08b7207
08b7207
%clean
dadf49c
rm -rf %{buildroot}
Jonathan Dieter f32a9e4
bde7d23
#################################################################################
bde7d23
# files and systemd scriptlets
bde7d23
#################################################################################
bde7d23
%files
bde7d23
bde7d23
%files base
bde7d23
%{_bindir}/crushtool
bde7d23
%{_bindir}/monmaptool
bde7d23
%{_bindir}/osdmaptool
bde7d23
%{_bindir}/ceph-run
bde7d23
%{_bindir}/ceph-detect-init
e5a890a
%{_libexecdir}/systemd/system-preset/50-ceph.preset
bde7d23
%{_sbindir}/ceph-create-keys
44c0bd8
%{_sbindir}/ceph-disk
565f975
%{_sbindir}/ceph-volume
565f975
%{_sbindir}/ceph-volume-systemd
bde7d23
%{_sbindir}/rcceph
bde7d23
%dir %{_libexecdir}/ceph
bde7d23
%{_libexecdir}/ceph/ceph_common.sh
bde7d23
%dir %{_libdir}/rados-classes
bde7d23
%{_libdir}/rados-classes/*
bde7d23
%dir %{_libdir}/ceph
bde7d23
%dir %{_libdir}/ceph/erasure-code
bde7d23
%{_libdir}/ceph/erasure-code/libec_*.so*
bde7d23
%dir %{_libdir}/ceph/compressor
bde7d23
%{_libdir}/ceph/compressor/libceph_*.so*
44c0bd8
%ifarch x86_64
44c0bd8
%dir %{_libdir}/ceph/crypto
44c0bd8
%{_libdir}/ceph/crypto/libceph_*.so*
44c0bd8
%endif
bde7d23
%if %{with lttng}
bde7d23
%{_libdir}/libos_tp.so*
bde7d23
%{_libdir}/libosd_tp.so*
bde7d23
%endif
bde7d23
%config(noreplace) %{_sysconfdir}/logrotate.d/ceph
bde7d23
%if 0%{?fedora} || 0%{?rhel}
bde7d23
%config(noreplace) %{_sysconfdir}/sysconfig/ceph
bde7d23
%endif
bde7d23
%if 0%{?suse_version}
bde7d23
%{_localstatedir}/adm/fillup-templates/sysconfig.*
bde7d23
%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ceph-mon
bde7d23
%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ceph-osd-mds
bde7d23
%endif
44c0bd8
%{_unitdir}/ceph-disk@.service
565f975
%{_unitdir}/ceph-volume@.service
bde7d23
%{_unitdir}/ceph.target
bde7d23
%{python_sitelib}/ceph_detect_init*
bde7d23
%{python_sitelib}/ceph_disk*
565f975
%dir %{python_sitelib}/ceph_volume
565f975
%{python_sitelib}/ceph_volume/*
565f975
%{python_sitelib}/ceph_volume-*
bde7d23
%{_mandir}/man8/ceph-deploy.8*
bde7d23
%{_mandir}/man8/ceph-detect-init.8*
bde7d23
%{_mandir}/man8/ceph-create-keys.8*
44c0bd8
%{_mandir}/man8/ceph-disk.8*
6d3068e
%{_mandir}/man8/ceph-volume.8*
6d3068e
%{_mandir}/man8/ceph-volume-systemd.8*
bde7d23
%{_mandir}/man8/ceph-run.8*
bde7d23
%{_mandir}/man8/crushtool.8*
bde7d23
%{_mandir}/man8/osdmaptool.8*
bde7d23
%{_mandir}/man8/monmaptool.8*
bde7d23
#set up placeholder directories
bde7d23
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/tmp
bde7d23
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-osd
bde7d23
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-mds
bde7d23
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-rgw
44c0bd8
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-mgr
565f975
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-rbd
bde7d23
bde7d23
%post base
08b7207
/sbin/ldconfig
e5a890a
%if 0%{?suse_version}
e5a890a
%fillup_only
44c0bd8
if [ $1 -eq 1 ] ; then
44c0bd8
  /usr/bin/systemctl preset ceph-disk@\*.service ceph.target >/dev/null 2>&1 || :
e5a890a
fi
bcc7f22
%endif
e5a890a
%if 0%{?fedora} || 0%{?rhel}
44c0bd8
%systemd_post ceph-disk@\*.service ceph.target
6d3068e
%systemd_post ceph-volume@\*.service ceph.target
e5a890a
%endif
44c0bd8
if [ $1 -eq 1 ] ; then
e5a890a
/usr/bin/systemctl start ceph.target >/dev/null 2>&1 || :
44c0bd8
fi
5dd73cb
bde7d23
%preun base
e5a890a
%if 0%{?suse_version}
44c0bd8
%service_del_preun ceph-disk@\*.service ceph.target
e5a890a
%endif
e5a890a
%if 0%{?fedora} || 0%{?rhel}
44c0bd8
%systemd_preun ceph-disk@\*.service ceph.target
565f975
%systemd_preun ceph-volume@\*.service ceph.target
08b7207
%endif
5dd73cb
bde7d23
%postun base
08b7207
/sbin/ldconfig
44c0bd8
test -n "$FIRST_ARG" || FIRST_ARG=$1
e5a890a
%if 0%{?suse_version}
e5a890a
DISABLE_RESTART_ON_UPDATE="yes"
44c0bd8
%service_del_postun ceph-disk@\*.service ceph.target
e5a890a
%endif
e5a890a
%if 0%{?fedora} || 0%{?rhel}
44c0bd8
%systemd_postun ceph-disk@\*.service ceph.target
08b7207
%endif
44c0bd8
if [ $FIRST_ARG -ge 1 ] ; then
44c0bd8
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
44c0bd8
  # "yes". In any case: if units are not running, do not touch them.
44c0bd8
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
44c0bd8
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
44c0bd8
    source $SYSCONF_CEPH
44c0bd8
  fi
44c0bd8
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
565f975
    /usr/bin/systemctl try-restart ceph-disk@\*.service ceph-volume@\*.service > /dev/null 2>&1 || :
44c0bd8
  fi
44c0bd8
fi
5dd73cb
bde7d23
%files common
44c0bd8
%dir %{_docdir}/ceph
44c0bd8
%doc %{_docdir}/ceph/sample.ceph.conf
44c0bd8
%doc %{_docdir}/ceph/COPYING
08b7207
%{_bindir}/ceph
08b7207
%{_bindir}/ceph-authtool
08b7207
%{_bindir}/ceph-conf
08b7207
%{_bindir}/ceph-dencoder
2a379f1
%{_bindir}/ceph-rbdnamer
08b7207
%{_bindir}/ceph-syn
08b7207
%{_bindir}/ceph-crush-location
bde7d23
%{_bindir}/cephfs-data-scan
bde7d23
%{_bindir}/cephfs-journal-tool
bde7d23
%{_bindir}/cephfs-table-tool
08b7207
%{_bindir}/rados
44c0bd8
%{_bindir}/radosgw-admin
08b7207
%{_bindir}/rbd
bcc7f22
%{_bindir}/rbd-replay
bcc7f22
%{_bindir}/rbd-replay-many
bde7d23
%{_bindir}/rbdmap
8d319bc
%{_sbindir}/mount.ceph
8d319bc
%if 0%{?suse_version}
8d319bc
/sbin/mount.ceph
8d319bc
%endif
bde7d23
%if %{with lttng}
bcc7f22
%{_bindir}/rbd-replay-prep
bcc7f22
%endif
08b7207
%{_bindir}/ceph-post-file
08b7207
%{_bindir}/ceph-brag
bcc7f22
%{_tmpfilesdir}/ceph-common.conf
08b7207
%{_mandir}/man8/ceph-authtool.8*
08b7207
%{_mandir}/man8/ceph-conf.8*
9a1331d
%{_mandir}/man8/ceph-dencoder.8*
2a379f1
%{_mandir}/man8/ceph-rbdnamer.8*
08b7207
%{_mandir}/man8/ceph-syn.8*
9a1331d
%{_mandir}/man8/ceph-post-file.8*
08b7207
%{_mandir}/man8/ceph.8*
8d319bc
%{_mandir}/man8/mount.ceph.8*
08b7207
%{_mandir}/man8/rados.8*
44c0bd8
%{_mandir}/man8/radosgw-admin.8*
08b7207
%{_mandir}/man8/rbd.8*
bde7d23
%{_mandir}/man8/rbdmap.8*
bcc7f22
%{_mandir}/man8/rbd-replay.8*
bcc7f22
%{_mandir}/man8/rbd-replay-many.8*
bcc7f22
%{_mandir}/man8/rbd-replay-prep.8*
bde7d23
%dir %{_datadir}/ceph/
9a1331d
%{_datadir}/ceph/known_hosts_drop.ceph.com
c342c97
%{_datadir}/ceph/id_rsa_drop.ceph.com
c342c97
%{_datadir}/ceph/id_rsa_drop.ceph.com.pub
08b7207
%dir %{_sysconfdir}/ceph/
44c0bd8
%config %{_sysconfdir}/bash_completion.d/ceph
08b7207
%config %{_sysconfdir}/bash_completion.d/rados
08b7207
%config %{_sysconfdir}/bash_completion.d/rbd
44c0bd8
%config %{_sysconfdir}/bash_completion.d/radosgw-admin
08b7207
%config(noreplace) %{_sysconfdir}/ceph/rbdmap
bde7d23
%{_unitdir}/rbdmap.service
7da3554
%{python_sitelib}/ceph_argparse.py*
bcc7f22
%{python_sitelib}/ceph_daemon.py*
c342c97
%dir %{_udevrulesdir}
bcc7f22
%{_udevrulesdir}/50-rbd.rules
bcc7f22
%attr(3770,ceph,ceph) %dir %{_localstatedir}/log/ceph/
bcc7f22
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/
bcc7f22
bde7d23
%pre common
bde7d23
CEPH_GROUP_ID=167
bde7d23
CEPH_USER_ID=167
bcc7f22
%if 0%{?rhel} || 0%{?fedora}
dadf49c
/usr/sbin/groupadd ceph -g $CEPH_GROUP_ID -o -r 2>/dev/null || :
dadf49c
/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 || :
bcc7f22
%endif
bcc7f22
%if 0%{?suse_version}
bde7d23
if ! getent group ceph >/dev/null ; then
bde7d23
    CEPH_GROUP_ID_OPTION=""
bde7d23
    getent group $CEPH_GROUP_ID >/dev/null || CEPH_GROUP_ID_OPTION="-g $CEPH_GROUP_ID"
bde7d23
    groupadd ceph $CEPH_GROUP_ID_OPTION -r 2>/dev/null || :
bde7d23
fi
bde7d23
if ! getent passwd ceph >/dev/null ; then
bde7d23
    CEPH_USER_ID_OPTION=""
bde7d23
    getent passwd $CEPH_USER_ID >/dev/null || CEPH_USER_ID_OPTION="-u $CEPH_USER_ID"
dadf49c
    useradd ceph $CEPH_USER_ID_OPTION -r -g ceph -s /sbin/nologin 2>/dev/null || :
bde7d23
fi
dadf49c
usermod -c "Ceph storage service" \
44c0bd8
        -d %{_localstatedir}/lib/ceph \
dadf49c
        -g ceph \
dadf49c
        -s /sbin/nologin \
dadf49c
        ceph
bcc7f22
%endif
bcc7f22
exit 0
bcc7f22
bde7d23
%post common
bde7d23
%tmpfiles_create %{_tmpfilesdir}/ceph-common.conf
Josef Bacik 8f23225
bde7d23
%postun common
08b7207
# Package removal cleanup
08b7207
if [ "$1" -eq "0" ] ; then
dadf49c
    rm -rf %{_localstatedir}/log/ceph
dadf49c
    rm -rf %{_sysconfdir}/ceph
08b7207
fi
Josef Bacik 8f23225
bde7d23
%files mds
bde7d23
%{_bindir}/ceph-mds
bde7d23
%{_mandir}/man8/ceph-mds.8*
bde7d23
%{_unitdir}/ceph-mds@.service
bde7d23
%{_unitdir}/ceph-mds.target
bde7d23
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/mds
bde7d23
e5a890a
%post mds
e5a890a
%if 0%{?suse_version}
44c0bd8
if [ $1 -eq 1 ] ; then
e5a890a
  /usr/bin/systemctl preset ceph-mds@\*.service ceph-mds.target >/dev/null 2>&1 || :
e5a890a
fi
e5a890a
%endif
e5a890a
%if 0%{?fedora} || 0%{?rhel}
e5a890a
%systemd_post ceph-mds@\*.service ceph-mds.target
e5a890a
%endif
44c0bd8
if [ $1 -eq 1 ] ; then
e5a890a
/usr/bin/systemctl start ceph-mds.target >/dev/null 2>&1 || :
44c0bd8
fi
e5a890a
e5a890a
%preun mds
e5a890a
%if 0%{?suse_version}
e5a890a
%service_del_preun ceph-mds@\*.service ceph-mds.target
e5a890a
%endif
e5a890a
%if 0%{?fedora} || 0%{?rhel}
e5a890a
%systemd_preun ceph-mds@\*.service ceph-mds.target
e5a890a
%endif
e5a890a
e5a890a
%postun mds
e5a890a
test -n "$FIRST_ARG" || FIRST_ARG=$1
e5a890a
%if 0%{?suse_version}
e5a890a
DISABLE_RESTART_ON_UPDATE="yes"
e5a890a
%service_del_postun ceph-mds@\*.service ceph-mds.target
e5a890a
%endif
e5a890a
%if 0%{?fedora} || 0%{?rhel}
e5a890a
%systemd_postun ceph-mds@\*.service ceph-mds.target
e5a890a
%endif
e5a890a
if [ $FIRST_ARG -ge 1 ] ; then
e5a890a
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
e5a890a
  # "yes". In any case: if units are not running, do not touch them.
dadf49c
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
e5a890a
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
e5a890a
    source $SYSCONF_CEPH
e5a890a
  fi
e5a890a
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
e5a890a
    /usr/bin/systemctl try-restart ceph-mds@\*.service > /dev/null 2>&1 || :
e5a890a
  fi
e5a890a
fi
e5a890a
44c0bd8
%files mgr
44c0bd8
%{_bindir}/ceph-mgr
44c0bd8
%{_libdir}/ceph/mgr
44c0bd8
%{_unitdir}/ceph-mgr@.service
44c0bd8
%{_unitdir}/ceph-mgr.target
44c0bd8
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/mgr
44c0bd8
44c0bd8
%post mgr
44c0bd8
%if 0%{?suse_version}
44c0bd8
if [ $1 -eq 1 ] ; then
44c0bd8
  /usr/bin/systemctl preset ceph-mgr@\*.service ceph-mgr.target >/dev/null 2>&1 || :
44c0bd8
fi
44c0bd8
%endif
44c0bd8
%if 0%{?fedora} || 0%{?rhel}
44c0bd8
%systemd_post ceph-mgr@\*.service ceph-mgr.target
44c0bd8
%endif
44c0bd8
if [ $1 -eq 1 ] ; then
44c0bd8
/usr/bin/systemctl start ceph-mgr.target >/dev/null 2>&1 || :
44c0bd8
fi
44c0bd8
44c0bd8
%preun mgr
44c0bd8
%if 0%{?suse_version}
44c0bd8
%service_del_preun ceph-mgr@\*.service ceph-mgr.target
44c0bd8
%endif
44c0bd8
%if 0%{?fedora} || 0%{?rhel}
44c0bd8
%systemd_preun ceph-mgr@\*.service ceph-mgr.target
44c0bd8
%endif
44c0bd8
44c0bd8
%postun mgr
44c0bd8
test -n "$FIRST_ARG" || FIRST_ARG=$1
44c0bd8
%if 0%{?suse_version}
44c0bd8
DISABLE_RESTART_ON_UPDATE="yes"
44c0bd8
%service_del_postun ceph-mgr@\*.service ceph-mgr.target
44c0bd8
%endif
44c0bd8
%if 0%{?fedora} || 0%{?rhel}
44c0bd8
%systemd_postun ceph-mgr@\*.service ceph-mgr.target
44c0bd8
%endif
44c0bd8
if [ $FIRST_ARG -ge 1 ] ; then
44c0bd8
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
44c0bd8
  # "yes". In any case: if units are not running, do not touch them.
44c0bd8
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
44c0bd8
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
44c0bd8
    source $SYSCONF_CEPH
44c0bd8
  fi
44c0bd8
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
44c0bd8
    /usr/bin/systemctl try-restart ceph-mgr@\*.service > /dev/null 2>&1 || :
44c0bd8
  fi
44c0bd8
fi
44c0bd8
bde7d23
%files mon
bde7d23
%{_bindir}/ceph-mon
bde7d23
%{_bindir}/ceph-rest-api
bde7d23
%{_mandir}/man8/ceph-mon.8*
bde7d23
%{_mandir}/man8/ceph-rest-api.8*
bde7d23
%{python_sitelib}/ceph_rest_api.py*
bde7d23
%{_unitdir}/ceph-mon@.service
bde7d23
%{_unitdir}/ceph-mon.target
bde7d23
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/mon
bde7d23
e5a890a
%post mon
e5a890a
%if 0%{?suse_version}
44c0bd8
if [ $1 -eq 1 ] ; then
44c0bd8
  /usr/bin/systemctl preset ceph-mon@\*.service ceph-mon.target >/dev/null 2>&1 || :
e5a890a
fi
e5a890a
%endif
e5a890a
%if 0%{?fedora} || 0%{?rhel}
44c0bd8
%systemd_post ceph-mon@\*.service ceph-mon.target
e5a890a
%endif
44c0bd8
if [ $1 -eq 1 ] ; then
e5a890a
/usr/bin/systemctl start ceph-mon.target >/dev/null 2>&1 || :
44c0bd8
fi
e5a890a
e5a890a
%preun mon
e5a890a
%if 0%{?suse_version}
44c0bd8
%service_del_preun ceph-mon@\*.service ceph-mon.target
e5a890a
%endif
e5a890a
%if 0%{?fedora} || 0%{?rhel}
44c0bd8
%systemd_preun ceph-mon@\*.service ceph-mon.target
e5a890a
%endif
e5a890a
e5a890a
%postun mon
e5a890a
test -n "$FIRST_ARG" || FIRST_ARG=$1
e5a890a
%if 0%{?suse_version}
e5a890a
DISABLE_RESTART_ON_UPDATE="yes"
44c0bd8
%service_del_postun ceph-mon@\*.service ceph-mon.target
e5a890a
%endif
e5a890a
%if 0%{?fedora} || 0%{?rhel}
44c0bd8
%systemd_postun ceph-mon@\*.service ceph-mon.target
e5a890a
%endif
e5a890a
if [ $FIRST_ARG -ge 1 ] ; then
e5a890a
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
e5a890a
  # "yes". In any case: if units are not running, do not touch them.
dadf49c
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
e5a890a
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
e5a890a
    source $SYSCONF_CEPH
e5a890a
  fi
e5a890a
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
44c0bd8
    /usr/bin/systemctl try-restart ceph-mon@\*.service > /dev/null 2>&1 || :
e5a890a
  fi
e5a890a
fi
e5a890a
5dd73cb
%files fuse
David Nalley d10f18b
%{_bindir}/ceph-fuse
9a1331d
%{_mandir}/man8/ceph-fuse.8*
08b7207
%{_sbindir}/mount.fuse.ceph
44c0bd8
%{_unitdir}/ceph-fuse@.service
44c0bd8
%{_unitdir}/ceph-fuse.target
08b7207
08b7207
%files -n rbd-fuse
08b7207
%{_bindir}/rbd-fuse
Josef Bacik 7d1f840
%{_mandir}/man8/rbd-fuse.8*
5dd73cb
bde7d23
%files -n rbd-mirror
bde7d23
%{_bindir}/rbd-mirror
bde7d23
%{_mandir}/man8/rbd-mirror.8*
bde7d23
%{_unitdir}/ceph-rbd-mirror@.service
bde7d23
%{_unitdir}/ceph-rbd-mirror.target
bde7d23
e5a890a
%post -n rbd-mirror
e5a890a
%if 0%{?suse_version}
44c0bd8
if [ $1 -eq 1 ] ; then
e5a890a
  /usr/bin/systemctl preset ceph-rbd-mirror@\*.service ceph-rbd-mirror.target >/dev/null 2>&1 || :
e5a890a
fi
e5a890a
%endif
e5a890a
%if 0%{?fedora} || 0%{?rhel}
e5a890a
%systemd_post ceph-rbd-mirror@\*.service ceph-rbd-mirror.target
e5a890a
%endif
44c0bd8
if [ $1 -eq 1 ] ; then
e5a890a
/usr/bin/systemctl start ceph-rbd-mirror.target >/dev/null 2>&1 || :
44c0bd8
fi
e5a890a
e5a890a
%preun -n rbd-mirror
e5a890a
%if 0%{?suse_version}
e5a890a
%service_del_preun ceph-rbd-mirror@\*.service ceph-rbd-mirror.target
e5a890a
%endif
e5a890a
%if 0%{?fedora} || 0%{?rhel}
e5a890a
%systemd_preun ceph-rbd-mirror@\*.service ceph-rbd-mirror.target
e5a890a
%endif
e5a890a
e5a890a
%postun -n rbd-mirror
e5a890a
test -n "$FIRST_ARG" || FIRST_ARG=$1
e5a890a
%if 0%{?suse_version}
e5a890a
DISABLE_RESTART_ON_UPDATE="yes"
e5a890a
%service_del_postun ceph-rbd-mirror@\*.service ceph-rbd-mirror.target
e5a890a
%endif
e5a890a
%if 0%{?fedora} || 0%{?rhel}
e5a890a
%systemd_postun ceph-rbd-mirror@\*.service ceph-rbd-mirror.target
e5a890a
%endif
e5a890a
if [ $FIRST_ARG -ge 1 ] ; then
e5a890a
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
e5a890a
  # "yes". In any case: if units are not running, do not touch them.
dadf49c
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
e5a890a
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
e5a890a
    source $SYSCONF_CEPH
e5a890a
  fi
e5a890a
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
e5a890a
    /usr/bin/systemctl try-restart ceph-rbd-mirror@\*.service > /dev/null 2>&1 || :
e5a890a
  fi
e5a890a
fi
e5a890a
bde7d23
%files -n rbd-nbd
bde7d23
%{_bindir}/rbd-nbd
bde7d23
%{_mandir}/man8/rbd-nbd.8*
bde7d23
Josef Bacik ca6b4d7
%files radosgw
Josef Bacik ca6b4d7
%{_bindir}/radosgw
bde7d23
%{_bindir}/radosgw-token
44c0bd8
%{_bindir}/radosgw-es
bcc7f22
%{_bindir}/radosgw-object-expirer
08b7207
%{_mandir}/man8/radosgw.8*
bcc7f22
%dir %{_localstatedir}/lib/ceph/radosgw
bde7d23
%{_unitdir}/ceph-radosgw@.service
bde7d23
%{_unitdir}/ceph-radosgw.target
08b7207
08b7207
%post radosgw
bcc7f22
%if 0%{?suse_version}
44c0bd8
if [ $1 -eq 1 ] ; then
e5a890a
  /usr/bin/systemctl preset ceph-radosgw@\*.service ceph-radosgw.target >/dev/null 2>&1 || :
e5a890a
fi
e5a890a
%endif
e5a890a
%if 0%{?fedora} || 0%{?rhel}
e5a890a
%systemd_post ceph-radosgw@\*.service ceph-radosgw.target
08b7207
%endif
44c0bd8
if [ $1 -eq 1 ] ; then
e5a890a
/usr/bin/systemctl start ceph-radosgw.target >/dev/null 2>&1 || :
44c0bd8
fi
08b7207
08b7207
%preun radosgw
e5a890a
%if 0%{?suse_version}
e5a890a
%service_del_preun ceph-radosgw@\*.service ceph-radosgw.target
e5a890a
%endif
e5a890a
%if 0%{?fedora} || 0%{?rhel}
e5a890a
%systemd_preun ceph-radosgw@\*.service ceph-radosgw.target
08b7207
%endif
08b7207
08b7207
%postun radosgw
e5a890a
test -n "$FIRST_ARG" || FIRST_ARG=$1
e5a890a
%if 0%{?suse_version}
e5a890a
DISABLE_RESTART_ON_UPDATE="yes"
e5a890a
%service_del_postun ceph-radosgw@\*.service ceph-radosgw.target
08b7207
%endif
e5a890a
%if 0%{?fedora} || 0%{?rhel}
e5a890a
%systemd_postun ceph-radosgw@\*.service ceph-radosgw.target
e5a890a
%endif
e5a890a
if [ $FIRST_ARG -ge 1 ] ; then
e5a890a
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
e5a890a
  # "yes". In any case: if units are not running, do not touch them.
dadf49c
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
e5a890a
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
e5a890a
    source $SYSCONF_CEPH
e5a890a
  fi
e5a890a
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
e5a890a
    /usr/bin/systemctl try-restart ceph-radosgw@\*.service > /dev/null 2>&1 || :
e5a890a
  fi
e5a890a
fi
08b7207
bde7d23
%files osd
bde7d23
%{_bindir}/ceph-clsinfo
44c0bd8
%{_bindir}/ceph-bluestore-tool
bde7d23
%{_bindir}/ceph-objectstore-tool
bde7d23
%{_bindir}/ceph-osd
bde7d23
%{_libexecdir}/ceph/ceph-osd-prestart.sh
c342c97
%dir %{_udevrulesdir}
8d319bc
%{_udevrulesdir}/60-ceph-by-parttypeuuid.rules
bde7d23
%{_udevrulesdir}/95-ceph-osd.rules
bde7d23
%{_mandir}/man8/ceph-clsinfo.8*
bde7d23
%{_mandir}/man8/ceph-osd.8*
77bab0f
%{_mandir}/man8/ceph-bluestore-tool.8*
bfadd1c
%if ( ( 0%{?rhel} && 0%{?rhel} <= 7) && ! 0%{?centos} )
44c0bd8
%attr(0755,-,-) %{_sysconfdir}/cron.hourly/subman
bde7d23
%endif
bde7d23
%{_unitdir}/ceph-osd@.service
bde7d23
%{_unitdir}/ceph-osd.target
bde7d23
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/osd
77bab0f
%config(noreplace) %{_sysctldir}/90-ceph-osd.conf
bde7d23
e5a890a
%post osd
e5a890a
%if 0%{?suse_version}
44c0bd8
if [ $1 -eq 1 ] ; then
44c0bd8
  /usr/bin/systemctl preset ceph-osd@\*.service ceph-osd.target >/dev/null 2>&1 || :
e5a890a
fi
77bab0f
%if 0%{?sysctl_apply}
77bab0f
    %sysctl_apply 90-ceph-osd.conf
77bab0f
%else
77bab0f
    /usr/lib/systemd/systemd-sysctl %{_sysctldir}/90-ceph-osd.conf > /dev/null 2>&1 || :
77bab0f
%endif
e5a890a
%endif
e5a890a
%if 0%{?fedora} || 0%{?rhel}
44c0bd8
%systemd_post ceph-osd@\*.service ceph-osd.target
e5a890a
%endif
44c0bd8
if [ $1 -eq 1 ] ; then
e5a890a
/usr/bin/systemctl start ceph-osd.target >/dev/null 2>&1 || :
44c0bd8
fi
e5a890a
e5a890a
%preun osd
e5a890a
%if 0%{?suse_version}
44c0bd8
%service_del_preun ceph-osd@\*.service ceph-osd.target
e5a890a
%endif
e5a890a
%if 0%{?fedora} || 0%{?rhel}
44c0bd8
%systemd_preun ceph-osd@\*.service ceph-osd.target
e5a890a
%endif
e5a890a
e5a890a
%postun osd
e5a890a
test -n "$FIRST_ARG" || FIRST_ARG=$1
e5a890a
%if 0%{?suse_version}
e5a890a
DISABLE_RESTART_ON_UPDATE="yes"
44c0bd8
%service_del_postun ceph-osd@\*.service ceph-osd.target
e5a890a
%endif
e5a890a
%if 0%{?fedora} || 0%{?rhel}
44c0bd8
%systemd_postun ceph-osd@\*.service ceph-osd.target
e5a890a
%endif
e5a890a
if [ $FIRST_ARG -ge 1 ] ; then
e5a890a
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
e5a890a
  # "yes". In any case: if units are not running, do not touch them.
dadf49c
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
e5a890a
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
e5a890a
    source $SYSCONF_CEPH
e5a890a
  fi
e5a890a
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
44c0bd8
    /usr/bin/systemctl try-restart ceph-osd@\*.service > /dev/null 2>&1 || :
e5a890a
  fi
e5a890a
fi
e5a890a
08b7207
%if %{with ocf}
bde7d23
08b7207
%files resource-agents
bde7d23
%dir %{_prefix}/lib/ocf
bde7d23
%dir %{_prefix}/lib/ocf/resource.d
bde7d23
%dir %{_prefix}/lib/ocf/resource.d/ceph
bde7d23
%{_prefix}/lib/ocf/resource.d/ceph/rbd
bde7d23
08b7207
%endif
08b7207
08b7207
%files -n librados2
08b7207
%{_libdir}/librados.so.*
44c0bd8
%dir %{_libdir}/ceph
44c0bd8
%{_libdir}/ceph/libceph-common.so*
bde7d23
%if %{with lttng}
bcc7f22
%{_libdir}/librados_tp.so.*
bcc7f22
%endif
08b7207
44c0bd8
%post -n librados2 -p /sbin/ldconfig
08b7207
44c0bd8
%postun -n librados2 -p /sbin/ldconfig
08b7207
c342c97
%files -n librados-devel
7da3554
%dir %{_includedir}/rados
7da3554
%{_includedir}/rados/librados.h
7da3554
%{_includedir}/rados/librados.hpp
7da3554
%{_includedir}/rados/buffer.h
bde7d23
%{_includedir}/rados/buffer_fwd.h
44c0bd8
%{_includedir}/rados/inline_memory.h
7da3554
%{_includedir}/rados/page.h
7da3554
%{_includedir}/rados/crc32c.h
7da3554
%{_includedir}/rados/rados_types.h
7da3554
%{_includedir}/rados/rados_types.hpp
7da3554
%{_includedir}/rados/memory.h
7da3554
%{_libdir}/librados.so
bde7d23
%if %{with lttng}
bcc7f22
%{_libdir}/librados_tp.so
bcc7f22
%endif
bde7d23
%{_bindir}/librados-config
bde7d23
%{_mandir}/man8/librados-config.8*
7da3554
7da3554
%files -n python-rados
bde7d23
%{python_sitearch}/rados.so
bde7d23
%{python_sitearch}/rados-*.egg-info
7da3554
44c0bd8
%files -n python%{python3_pkgversion}-rados
44c0bd8
%{python3_sitearch}/rados.cpython*.so
44c0bd8
%{python3_sitearch}/rados-*.egg-info
44c0bd8
3b0b0e0
%files -n libradosstriper1
3b0b0e0
%{_libdir}/libradosstriper.so.*
3b0b0e0
44c0bd8
%post -n libradosstriper1 -p /sbin/ldconfig
3b0b0e0
44c0bd8
%postun -n libradosstriper1 -p /sbin/ldconfig
3b0b0e0
c342c97
%files -n libradosstriper-devel
3b0b0e0
%dir %{_includedir}/radosstriper
3b0b0e0
%{_includedir}/radosstriper/libradosstriper.h
3b0b0e0
%{_includedir}/radosstriper/libradosstriper.hpp
3b0b0e0
%{_libdir}/libradosstriper.so
3b0b0e0
08b7207
%files -n librbd1
08b7207
%{_libdir}/librbd.so.*
bde7d23
%if %{with lttng}
bcc7f22
%{_libdir}/librbd_tp.so.*
bcc7f22
%endif
08b7207
629de10
%post -n librbd1 -p /sbin/ldconfig
08b7207
44c0bd8
%postun -n librbd1 -p /sbin/ldconfig
08b7207
c342c97
%files -n librbd-devel
7da3554
%dir %{_includedir}/rbd
7da3554
%{_includedir}/rbd/librbd.h
7da3554
%{_includedir}/rbd/librbd.hpp
7da3554
%{_includedir}/rbd/features.h
7da3554
%{_libdir}/librbd.so
bde7d23
%if %{with lttng}
bcc7f22
%{_libdir}/librbd_tp.so
bcc7f22
%endif
7da3554
bde7d23
%files -n librgw2
bde7d23
%{_libdir}/librgw.so.*
bde7d23
44c0bd8
%post -n librgw2 -p /sbin/ldconfig
bde7d23
44c0bd8
%postun -n librgw2 -p /sbin/ldconfig
bde7d23
c342c97
%files -n librgw-devel
bde7d23
%dir %{_includedir}/rados
bde7d23
%{_includedir}/rados/librgw.h
bde7d23
%{_includedir}/rados/rgw_file.h
bde7d23
%{_libdir}/librgw.so
bde7d23
44c0bd8
%files -n python-rgw
44c0bd8
%{python_sitearch}/rgw.so
44c0bd8
%{python_sitearch}/rgw-*.egg-info
44c0bd8
44c0bd8
%files -n python%{python3_pkgversion}-rgw
44c0bd8
%{python3_sitearch}/rgw.cpython*.so
44c0bd8
%{python3_sitearch}/rgw-*.egg-info
44c0bd8
7da3554
%files -n python-rbd
bde7d23
%{python_sitearch}/rbd.so
bde7d23
%{python_sitearch}/rbd-*.egg-info
7da3554
44c0bd8
%files -n python%{python3_pkgversion}-rbd
44c0bd8
%{python3_sitearch}/rbd.cpython*.so
44c0bd8
%{python3_sitearch}/rbd-*.egg-info
44c0bd8
44c0bd8
%files -n libcephfs2
08b7207
%{_libdir}/libcephfs.so.*
08b7207
44c0bd8
%post -n libcephfs2 -p /sbin/ldconfig
08b7207
44c0bd8
%postun -n libcephfs2 -p /sbin/ldconfig
08b7207
c342c97
%files -n libcephfs-devel
7da3554
%dir %{_includedir}/cephfs
7da3554
%{_includedir}/cephfs/libcephfs.h
44c0bd8
%{_includedir}/cephfs/ceph_statx.h
7da3554
%{_libdir}/libcephfs.so
7da3554
7da3554
%files -n python-cephfs
bde7d23
%{python_sitearch}/cephfs.so
bde7d23
%{python_sitearch}/cephfs-*.egg-info
bde7d23
%{python_sitelib}/ceph_volume_client.py*
08b7207
44c0bd8
%files -n python%{python3_pkgversion}-cephfs
44c0bd8
%{python3_sitearch}/cephfs.cpython*.so
44c0bd8
%{python3_sitearch}/cephfs-*.egg-info
44c0bd8
%{python3_sitelib}/ceph_volume_client.py
44c0bd8
%{python3_sitelib}/__pycache__/ceph_volume_client.cpython*.py*
44c0bd8
44c0bd8
%files -n python%{python3_pkgversion}-ceph-argparse
44c0bd8
%{python3_sitelib}/ceph_argparse.py
44c0bd8
%{python3_sitelib}/__pycache__/ceph_argparse.cpython*.py*
44c0bd8
%{python3_sitelib}/ceph_daemon.py
44c0bd8
%{python3_sitelib}/__pycache__/ceph_daemon.cpython*.py*
44c0bd8
44c0bd8
%if 0%{with ceph_test_package}
b318545
%files -n ceph-test
44c0bd8
%{_bindir}/ceph-client-debug
b318545
%{_bindir}/ceph_bench_log
b318545
%{_bindir}/ceph_kvstorebench
b318545
%{_bindir}/ceph_multi_stress_watch
b318545
%{_bindir}/ceph_erasure_code
b318545
%{_bindir}/ceph_erasure_code_benchmark
b318545
%{_bindir}/ceph_omapbench
bcc7f22
%{_bindir}/ceph_objectstore_bench
bcc7f22
%{_bindir}/ceph_perf_objectstore
bcc7f22
%{_bindir}/ceph_perf_local
bcc7f22
%{_bindir}/ceph_perf_msgr_client
bcc7f22
%{_bindir}/ceph_perf_msgr_server
b318545
%{_bindir}/ceph_psim
b318545
%{_bindir}/ceph_radosacl
b318545
%{_bindir}/ceph_rgw_jsonparser
b318545
%{_bindir}/ceph_rgw_multiparser
b318545
%{_bindir}/ceph_scratchtool
b318545
%{_bindir}/ceph_scratchtoolpp
b318545
%{_bindir}/ceph_smalliobench
b318545
%{_bindir}/ceph_smalliobenchdumb
b318545
%{_bindir}/ceph_smalliobenchfs
b318545
%{_bindir}/ceph_smalliobenchrbd
b318545
%{_bindir}/ceph_test_*
b318545
%{_bindir}/ceph_tpbench
b318545
%{_bindir}/ceph_xattr_bench
bde7d23
%{_bindir}/ceph-coverage
b318545
%{_bindir}/ceph-monstore-tool
b318545
%{_bindir}/ceph-osdomap-tool
b318545
%{_bindir}/ceph-kvstore-tool
bde7d23
%{_bindir}/ceph-debugpack
bde7d23
%{_mandir}/man8/ceph-debugpack.8*
bcc7f22
%dir %{_libdir}/ceph
bcc7f22
%{_libdir}/ceph/ceph-monstore-update-crush.sh
44c0bd8
%endif
b318545
bcc7f22
%if 0%{with cephfs_java}
b318545
%files -n libcephfs_jni1
b318545
%{_libdir}/libcephfs_jni.so.*
b318545
44c0bd8
%post -n libcephfs_jni1 -p /sbin/ldconfig
bcc7f22
44c0bd8
%postun -n libcephfs_jni1 -p /sbin/ldconfig
bcc7f22
c342c97
%files -n libcephfs_jni-devel
7da3554
%{_libdir}/libcephfs_jni.so
7da3554
b318545
%files -n cephfs-java
b318545
%{_javadir}/libcephfs.jar
bcc7f22
%{_javadir}/libcephfs-test.jar
bcc7f22
%endif
b318545
44c0bd8
%files -n rados-objclass-devel
44c0bd8
%dir %{_includedir}/rados
44c0bd8
%{_includedir}/rados/objclass.h
44c0bd8
bcc7f22
%if 0%{with selinux}
bcc7f22
%files selinux
bcc7f22
%attr(0600,root,root) %{_datadir}/selinux/packages/ceph.pp
bcc7f22
%{_datadir}/selinux/devel/include/contrib/ceph.if
bcc7f22
%{_mandir}/man8/ceph_selinux.8*
bcc7f22
bcc7f22
%post selinux
dadf49c
# backup file_contexts before update
dadf49c
. /etc/selinux/config
dadf49c
FILE_CONTEXT=/etc/selinux/${SELINUXTYPE}/contexts/files/file_contexts
dadf49c
cp ${FILE_CONTEXT} ${FILE_CONTEXT}.pre
dadf49c
bcc7f22
# Install the policy
dadf49c
/usr/sbin/semodule -i %{_datadir}/selinux/packages/ceph.pp
bcc7f22
bcc7f22
# Load the policy if SELinux is enabled
dadf49c
if ! /usr/sbin/selinuxenabled; then
bcc7f22
    # Do not relabel if selinux is not enabled
bcc7f22
    exit 0
bcc7f22
fi
bcc7f22
dadf49c
if diff ${FILE_CONTEXT} ${FILE_CONTEXT}.pre > /dev/null 2>&1; then
dadf49c
   # Do not relabel if file contexts did not change
bcc7f22
   exit 0
bcc7f22
fi
bcc7f22
bcc7f22
# Check whether the daemons are running
dadf49c
/usr/bin/systemctl status ceph.target > /dev/null 2>&1
bcc7f22
STATUS=$?
bcc7f22
bcc7f22
# Stop the daemons if they were running
bcc7f22
if test $STATUS -eq 0; then
bcc7f22
    /usr/bin/systemctl stop ceph.target > /dev/null 2>&1
bcc7f22
fi
bcc7f22
44c0bd8
# Relabel the files
44c0bd8
# Use ceph-disk fix for first package install and fixfiles otherwise
44c0bd8
if [ "$1" = "1" ]; then
44c0bd8
    /usr/sbin/ceph-disk fix --selinux
44c0bd8
else
44c0bd8
    /usr/sbin/fixfiles -C ${FILE_CONTEXT}.pre restore 2> /dev/null
44c0bd8
fi
44c0bd8
dadf49c
rm -f ${FILE_CONTEXT}.pre
dadf49c
# The fixfiles command won't fix label for /var/run/ceph
7da9a82
/usr/sbin/restorecon -R %{_rundir}/ceph > /dev/null 2>&1
bcc7f22
bcc7f22
# Start the daemons iff they were running before
bcc7f22
if test $STATUS -eq 0; then
bcc7f22
    /usr/bin/systemctl start ceph.target > /dev/null 2>&1 || :
bcc7f22
fi
bcc7f22
exit 0
bcc7f22
bcc7f22
%postun selinux
bcc7f22
if [ $1 -eq 0 ]; then
dadf49c
    # backup file_contexts before update
dadf49c
    . /etc/selinux/config
dadf49c
    FILE_CONTEXT=/etc/selinux/${SELINUXTYPE}/contexts/files/file_contexts
dadf49c
    cp ${FILE_CONTEXT} ${FILE_CONTEXT}.pre
dadf49c
bcc7f22
    # Remove the module
dadf49c
    /usr/sbin/semodule -n -r ceph > /dev/null 2>&1
bcc7f22
bcc7f22
    # Reload the policy if SELinux is enabled
dadf49c
    if ! /usr/sbin/selinuxenabled ; then
bcc7f22
        # Do not relabel if SELinux is not enabled
bcc7f22
        exit 0
bcc7f22
    fi
bcc7f22
bcc7f22
    # Check whether the daemons are running
dadf49c
    /usr/bin/systemctl status ceph.target > /dev/null 2>&1
bcc7f22
    STATUS=$?
bcc7f22
bcc7f22
    # Stop the daemons if they were running
bcc7f22
    if test $STATUS -eq 0; then
bcc7f22
        /usr/bin/systemctl stop ceph.target > /dev/null 2>&1
bcc7f22
    fi
bcc7f22
dadf49c
    /usr/sbin/fixfiles -C ${FILE_CONTEXT}.pre restore 2> /dev/null
dadf49c
    rm -f ${FILE_CONTEXT}.pre
dadf49c
    # The fixfiles command won't fix label for /var/run/ceph
7da9a82
    /usr/sbin/restorecon -R %{_rundir}/ceph > /dev/null 2>&1
bcc7f22
bcc7f22
    # Start the daemons if they were running before
bcc7f22
    if test $STATUS -eq 0; then
bcc7f22
	/usr/bin/systemctl start ceph.target > /dev/null 2>&1 || :
bcc7f22
    fi
bcc7f22
fi
bcc7f22
exit 0
bcc7f22
bcc7f22
%endif # with selinux
bcc7f22
628a5cf
%files -n python-ceph-compat
2a379f1
# We need an empty %%files list for python-ceph-compat, to tell rpmbuild to
2a379f1
# actually build this meta package.
628a5cf
bde7d23
5dd73cb
%changelog
77bab0f
* Tue Dec 5 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.2-1
77bab0f
- New release (1:12.2.2-1)
77bab0f
a262d18
* Thu Oct 05 2017 Boris Ranto <branto@redhat.com> - 1:12.2.1-2
a262d18
- Obsolete ceph-libs-compat package
a262d18
629de10
* Wed Sep 27 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.1-1
629de10
- New release (1:12.2.1-1)
629de10
6d3068e
* Tue Aug 29 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.0-1
6d3068e
- New release (1:12.2.0-1)
6d3068e
23bb1c9
* Thu Aug 24 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.4-5
23bb1c9
- libibverbs(-devel) is superceded by rdma-core(-devel), again
23bb1c9
7dfd488
* Thu Aug 24 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.4-4
7dfd488
- libibverbs(-devel) is superceded by rdma-core(-devel)
7dfd488
bcc0c89
* Tue Aug 22 2017 Adam Williamson <awilliam@redhat.com> - 1:12.1.4-3
bcc0c89
- Disable RDMA support on 32-bit ARM (#1484155)
bcc0c89
02830d2
* Thu Aug 17 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.4-2
02830d2
- fix %%epoch in comment, ppc64le lowmem_builder
02830d2
597c68f
* Wed Aug 16 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.4-1
597c68f
- New release (1:12.1.4-1)
597c68f
565f975
* Sat Aug 12 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.3-1
565f975
- New release (1:12.1.3-1)
565f975
7da9a82
* Fri Aug 11 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.2-3
7da9a82
- rebuild with librpm.so.7
7da9a82
5867ad7
* Thu Aug 10 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.2-2
5867ad7
- Fix 32-bit alignment
5867ad7
6d95105
* Thu Aug 3 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.2-1
6d95105
- New release (1:12.1.2-1)
6d95105
13a1835
* Tue Aug 1 2017 Boris Ranto <branto@redhat.com> - 1:12.1.1-8
13a1835
- Fix ppc64 build
13a1835
bfadd1c
* Tue Aug 1 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-7
bfadd1c
- python34 and other nits
bfadd1c
- still no fix for ppc64
bfadd1c
16715d6
* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 1:12.1.1-6
16715d6
- Reenable ppc64le, with binutils fix for ppc64le (#1475636)
16715d6
b401956
* Fri Jul 28 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-5
b401956
- ppc64le disabled until bz #1475636 resolution
b401956
673fccf
* Fri Jul 28 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-4
673fccf
- 12.1.1 w/ hacks for armv7hl: low mem, no java jni
673fccf
- WTIH_BABELTRACE -> WITH_BABELTRACE for all archs
673fccf
- still no fix for ppc64
673fccf
0cd5051
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:12.1.1-3
0cd5051
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0cd5051
4679556
* Sat Jul 22 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-2
54e2055
- 12.1.1 w/ rocksdb patch (i686)
4679556
96279e9
* Sat Jul 22 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-1
491a579
- New release (1:12.1.1-1)
44c0bd8
96279e9
* Fri Jul 21 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-0
96279e9
- New release (1:12.1.1-0)
96279e9
8d76713
* Fri Jul 21 2017 Kalev Lember <klember@redhat.com> - 1:10.2.7-3
8d76713
- Rebuilt for Boost 1.64
8d76713
81bac1c
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.2.7-2
81bac1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
81bac1c
44c0bd8
* Mon Apr 17 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:10.2.7-1
8acb7f2
- New release (1:10.2.7-1)
8acb7f2
ffa151c
* Wed Feb 08 2017 Boris Ranto <branto@redhat.com> - 1:10.2.5-2
ffa151c
- New release (1:10.2.5-2)
2288029
a2502bd
* Fri Jan 13 2017 Boris Ranto <branto@redhat.com> - 1:10.2.5-1
a2502bd
- New release (1:10.2.5-1)
a2502bd
- hack: do not test for libxfs, assume it is present
a2502bd
7fc18b8
* Wed Dec 14 2016 Boris Ranto <branto@redhat.com> - 1:10.2.4-2
7fc18b8
- New version (1:10.2.4-2)
7fc18b8
- This syncs up with the upstream 10.2.5
7fc18b8
- Doing it this way because of broken lookaside cache
7fc18b8
- Fix the -devel obsoletes
7fc18b8
c342c97
* Thu Dec 08 2016 Boris Ranto <branto@redhat.com> - 1:10.2.4-1
c342c97
- New version (1:10.2.4-1)
c342c97
- Disable erasure_codelib neon build
c342c97
- Use newer -devel package format
c342c97
- Sync up the spec file
c342c97
680c925
* Wed Oct 26 2016 Ken Dreyer <ktdreyer@ktdreyer.com> 1:10.2.3-4
680c925
- librgw: add API version defines for librgw and rgw_file
680c925
ceab65b
* Wed Oct 26 2016 Ken Dreyer <ktdreyer@ktdreyer.com> 1:10.2.3-3
ceab65b
- update patches style for rdopkg
ceab65b
fa9e04a
* Thu Sep 29 2016 Boris Ranto <branto@redhat.com> - 1:10.2.3-2
fa9e04a
- New release (1:10.2.3-2)
fa9e04a
- common: instantiate strict_si_cast<long> not
fa9e04a
8d319bc
* Thu Sep 29 2016 Boris Ranto <branto@redhat.com> - 1:10.2.3-1
8d319bc
- New version (1:10.2.3-1)
8d319bc
- Disable erasure_codelib neon build
8d319bc
Igor Gnatenko f3e716b
* Sun Aug 07 2016 Igor Gnatenko <ignatenko@redhat.com> - 1:10.2.2-4
Igor Gnatenko f3e716b
- Rebuild for LevelDB 1.18
Igor Gnatenko f3e716b
50ab9b5
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.2.2-3
50ab9b5
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
50ab9b5
20b0b2e
* Tue Jun 21 2016 Boris Ranto <branto@redhat.com> - 1:10.2.2-2
20b0b2e
- New release (1:10.2.2-2)
20b0b2e
- fix tcmalloc handling in spec file
20b0b2e
dadf49c
* Mon Jun 20 2016 Boris Ranto <branto@redhat.com> - 1:10.2.2-1
dadf49c
- New version (1:10.2.2-1)
dadf49c
- Disable erasure_codelib neon build
dadf49c
- Do not use -momit-leaf-frame-pointer flag
dadf49c
e5a890a
* Mon May 16 2016 Boris Ranto <branto@redhat.com> - 1:10.2.1-1
e5a890a
- New version (1:10.2.1-1)
e5a890a
- Disable erasure_codelib neon build
e5a890a
- Do not use -momit-leaf-frame-pointer flag
e5a890a
a5a738d
* Fri May 06 2016 Dan Horák <dan[at]danny.cz> - 10.2.0-3
a5a738d
- fix build on s390(x) - gperftools/tcmalloc not available there
a5a738d
9ca188d
* Fri Apr 22 2016 Boris Ranto <branto@redhat.com> - 10.2.0-2
9ca188d
- Do not use -momit-leaf-frame-pointer flag
9ca188d
bde7d23
* Fri Apr 22 2016 Boris Ranto <branto@redhat.com> - -
bde7d23
- Rebase to version 10.2.0
bde7d23
- Disable erasure_codelib neon build
bde7d23
6d2e42e
* Mon Apr 11 2016 Richard W.M. Jones <rjones@redhat.com> - 1:9.2.0-5
6d2e42e
- Fix large startup times of processes linking to -lrbd.
6d2e42e
  Backport upstream commit 1c2831a2, fixes RHBZ#1319483.
b32301b
- Add workaround for XFS header brokenness.
6d2e42e
5e7cff5
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:9.2.0-4
5e7cff5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
5e7cff5
9206f82
* Thu Jan 14 2016 Jonathan Wakely <jwakely@redhat.com> - 1:9.2.0-3
9206f82
- Rebuilt for Boost 1.60
9206f82
22d0a9b
* Mon Dec 14 2015 Dan Horák <dan[at]danny.cz> - 1:9.2.0-2
22d0a9b
- fix build on s390(x) - gperftools/tcmalloc not available there
22d0a9b
bcc7f22
* Tue Nov 10 2015 Boris Ranto <branto@redhat.com> - 1:9.2.0-1
bcc7f22
- Rebase to latest stable upstream version (9.2.0 - infernalis)
bcc7f22
- Use upstream spec file
bcc7f22
3d553af
* Tue Oct 27 2015 Boris Ranto <branto@redhat.com> - 1:0.94.5-1
3d553af
- Rebase to latest upstream version
3d553af
8d2c0a0
* Tue Oct 20 2015 Boris Ranto <branto@redhat.com> - 1:0.94.4-1
8d2c0a0
- Rebase to latest upstream version
8d2c0a0
- The rtdsc patch got merged upstream and is already present in the release
8d2c0a0
7e0cdd8
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 1:0.94.3-2
7e0cdd8
- Rebuilt for Boost 1.59
7e0cdd8
ac5a29a
* Thu Aug 27 2015 Boris Ranto <branto@redhat.com> - 1:0.94.3-1
ac5a29a
- Rebase to latest upstream version
ac5a29a
- The boost patch got merged upstream and is already present in the release
ac5a29a
222abd2
* Fri Jul 31 2015 Richard W.M. Jones <rjones@redhat.com> - 1:0.94.2-4
222abd2
- Fix build against boost 1.58 (http://tracker.ceph.com/issues/11576).
222abd2
bb85c64
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.94.2-3
bb85c64
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
bb85c64
09905ca
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 1:0.94.2-2
09905ca
- rebuild for Boost 1.58
09905ca
b7119dd
* Thu Jul 16 2015 Boris Ranto <branto@redhat.com> - 1:0.94.2-1
b7119dd
- Rebase to latest upstream version
b7119dd
9b5287b
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.94.1-5
9b5287b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9b5287b
94d715c
* Mon Jun 08 2015 Dan Horák <dan[at]danny.cz> - 1:0.94.1-4
94d715c
- fix build on s390(x) - no gperftools there
94d715c
c767eaf
* Thu May 21 2015 Boris Ranto <branto@redhat.com> - 1:0.94.1-3
c767eaf
- Disable lttng support (rhbz#1223319)
c767eaf
3005097
* Mon May 18 2015 Boris Ranto <branto@redhat.com> - 1:0.94.1-2
3005097
- Fix arm linking issue (rhbz#1222286)
3005097
2a379f1
* Tue Apr 14 2015 Boris Ranto <branto@redhat.com> - 1:0.94.1-1
2a379f1
- Rebase to latest upstream version and sync-up the spec file
bedf031
- Add arm compilation patches
2a379f1
a6871cb
* Wed Apr 01 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 1:0.87.1-3
a6871cb
- add version numbers to Obsoletes (RHBZ #1193182)
a6871cb
2a0aaf9
* Wed Mar 4 2015 Boris Ranto <branto@redhat.com> - 1:0.87.1-2
2a0aaf9
- Perform a hardened build
2a0aaf9
- Use git-formatted patches
2a0aaf9
- Add patch for pthreads rwlock unlock problem
2a0aaf9
- Do not remove conf files on uninstall
2a0aaf9
- Remove the cleanup function, it is only necessary for f20 and f21
2a0aaf9
84aa853
* Wed Feb 25 2015 Boris Ranto <branto@redhat.com> - 1:0.87.1-1
84aa853
- Rebase to latest upstream
84aa853
- Remove boost patch, it is in upstream tarball
84aa853
- Build with yasm, tarball contains fix for the SELinux issue
84aa853
Petr Machata c130ff2
* Thu Jan 29 2015 Petr Machata <pmachata@redhat.com> - 1:0.87-2
Petr Machata c485e3a
- Rebuild for boost 1.57.0
Petr Machata c130ff2
- Include <boost/optional/optional_io.hpp> instead of
Petr Machata c130ff2
  <boost/optional.hpp>.  Keep the old dumping behavior in
Petr Machata c130ff2
  osd/ECBackend.cc (ceph-0.87-boost157.patch)
Petr Machata c485e3a
3b0b0e0
* Mon Nov 3 2014 Boris Ranto <branto@redhat.com> - 1:0.87-1
3b0b0e0
- Rebase to latest major version (firefly -> giant)
3b0b0e0
290a036
* Thu Oct 16 2014 Boris Ranto 
290a036
- Rebase to latest upstream version
290a036
a4d87e6
* Sat Oct 11 2014 Boris Ranto <branto@redhat.com> - 1:0.80.6-3
a4d87e6
- Fix a typo in librados-devel vs librados2-devel dependency
a4d87e6
628a5cf
* Fri Oct 10 2014 Boris Ranto <branto@redhat.com> - 1:0.80.6-2
628a5cf
- Provide empty file list for python-ceph-compat and ceph-devel-compat
628a5cf
7da3554
* Fri Oct 10 2014 Boris Ranto <branto@redhat.com> - 1:0.80.6-1
7da3554
- Rebase to 0.80.6
7da3554
- Split ceph-devel and python-ceph packages
7da3554
34495d4
* Tue Sep 9 2014 Dan Horák <dan[at]danny.cz> - 1:0.80.5-10
34495d4
- update Requires for s390(x)
34495d4
273aebe
* Wed Sep 3 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-9
273aebe
- Symlink librd.so.1 to /usr/lib64/qemu only on rhel6+ x86_64 (1136811)
273aebe
ac3de9e
* Thu Aug 21 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-8
e46d0f1
- Revert the previous change
e46d0f1
- Fix bz 1118504, second attempt (yasm appears to be the package that caused this
ac3de9e
- Fix bogus dates
e46d0f1
ac3de9e
* Wed Aug 20 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-7
e46d0f1
- Several more merges from file to try to fix the selinux issue (1118504)
e46d0f1
25b47f3
* Sun Aug 17 2014 Kalev Lember <kalevlember@gmail.com> - 1:0.80.5-6
25b47f3
- Obsolete ceph-libcephfs
25b47f3
e44806f
* Sat Aug 16 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-5
e44806f
- Do not require xfsprogs/xfsprogs-devel for el6
e44806f
- Require gperftools-devel for non-ppc*/s390* architectures only
e44806f
- Do not require junit -- no need to build libcephfs-test.jar
e44806f
- Build without libxfs for el6
e44806f
- Build without tcmalloc for ppc*/s390* architectures
e44806f
- Location of mkcephfs must depend on a rhel release
e44806f
- Use epoch in the Requires fields [1130700]
e44806f
830e99f
* Sat Aug 16 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-4
830e99f
- Use the proper version name in Obsoletes
830e99f
c81d313
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.80.5-3
c81d313
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c81d313
a236dbb
* Fri Aug 15 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-2
5311ad2
- Add the arm pthread hack
5311ad2
08b7207
* Fri Aug 15 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-1
08b7207
- Bump the Epoch, we need to keep the latest stable, not development, ceph version in fedora
08b7207
- Use the upstream spec file with the ceph-libs split
08b7207
- Add libs-compat subpackage [1116546]
08b7207
- use fedora in rhel 7 checks
08b7207
- obsolete libcephfs [1116614]
08b7207
- depend on redhat-lsb-core for the initscript [1108696]
08b7207
d184580
* Wed Aug 13 2014 Kalev Lember <kalevlember@gmail.com> - 0.81.0-6
d184580
- Add obsoletes to keep the upgrade path working (#1118510)
d184580
9a1331d
* Mon Jul 7 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-5
9a1331d
- revert to old spec until after f21 branch
9a1331d
ed8d9af
* Fri Jul 4 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
ed8d9af
- temporary exclude f21/armv7hl. N.B. it builds fine on f20/armv7hl.
ed8d9af
4be65c2
* Fri Jul 4 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-4
4be65c2
- upstream ceph.spec file
4be65c2
10fcd5e
* Tue Jul 1 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-3
10fcd5e
- upstream ceph.spec file
10fcd5e
e605c9c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.81.0-2
e605c9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e605c9c
cca983b
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
560f971
- el6 ppc64 likewise for tcmalloc, merge from origin/el6
560f971
560f971
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
cca983b
- el6 ppc64 does not have gperftools, merge from origin/el6
cca983b
6c2f2c4
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-1
6c2f2c4
- ceph-0.81.0
6c2f2c4
9c82455
* Wed Jun  4 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.80.1-5
9c82455
- gperftools now available on aarch64/ppc64
9c82455
Petr Machata e579d55
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.80.1-4
Petr Machata e579d55
- Rebuild for boost 1.55.0
Petr Machata e579d55
aac817e
* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 0.80.1-3
aac817e
- rebuild for boost 1.55.0
aac817e
c28233e
* Wed May 14 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.80.1-2
c28233e
- build epel-6
c28233e
- exclude %%{_libdir}/ceph/erasure-code in base package
c28233e
f082c04
* Tue May 13 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.80.1-1
f082c04
- Update to latest stable upstream release, BZ 1095201
f082c04
- PIE, _hardened_build, BZ 955174
f082c04
4c912ae
* Thu Feb 06 2014 Ken Dreyer <ken.dreyer@inktank.com> - 0.72.2-2
4c912ae
- Move plugins from -devel into -libs package (#891993). Thanks Michael
4c912ae
  Schwendt.
4c912ae
c523b37
* Mon Jan 06 2014 Ken Dreyer <ken.dreyer@inktank.com> 0.72.2-1
c523b37
- Update to latest stable upstream release
c523b37
- Use HTTPS for URLs
c523b37
- Submit Automake 1.12 patch upstream
c523b37
- Move unversioned shared libs from ceph-libs into ceph-devel
c523b37
a69f025
* Wed Dec 18 2013 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> 0.67.3-4
a69f025
- build without tcmalloc on aarch64 (no gperftools)
a69f025
975579a
* Sat Nov 30 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.67.3-3
975579a
- gperftools not currently available on aarch64
975579a
52a2b9b
* Mon Oct 07 2013 Dan Horák <dan[at]danny.cz> - 0.67.3-2
52a2b9b
- fix build on non-x86_64 64-bit arches
52a2b9b
Josef Bacik 7d8598d
* Wed Sep 11 2013 Josef Bacik <josef@toxicpanda.com> - 0.67.3-1
Josef Bacik 7d8598d
- update to 0.67.3
Josef Bacik 7d8598d
f6f6a62
* Wed Sep 11 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 0.61.7-3
f6f6a62
- let base package include all its documentation files via %%doc magic,
f6f6a62
  so for Fedora 20 Unversioned Docdirs no files are included accidentally
f6f6a62
- include the sample config files again (instead of just an empty docdir
f6f6a62
  that has been added for #846735)
f6f6a62
- don't include librbd.so.1 also in -devel package (#1003202)
f6f6a62
- move one misplaced rados plugin from -devel into -libs package (#891993)
f6f6a62
- include missing directories in -devel and -libs packages
f6f6a62
- move librados-config into the -devel pkg where its manual page is, too
f6f6a62
- add %%_isa to subpackage dependencies
f6f6a62
- don't use %%defattr anymore
f6f6a62
- add V=1 to make invocation for verbose build output
f6f6a62
fc25307
* Wed Jul 31 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.61.7-2
fc25307
- re-enable tmalloc on arm now gperftools is fixed
fc25307
Josef Bacik 7d1f840
* Mon Jul 29 2013 Josef Bacik <josef@toxicpanda.com> - 0.61.7-1
Josef Bacik 7d1f840
- Update to 0.61.7
Josef Bacik 7d1f840
Petr Machata 6bb58e5
* Sat Jul 27 2013 pmachata@redhat.com - 0.56.4-2
Petr Machata 6bb58e5
- Rebuild for boost 1.54.0
Petr Machata 6bb58e5
Josef Bacik 514a2a1
* Fri Mar 29 2013 Josef Bacik <josef@toxicpanda.com> - 0.56.4-1
Josef Bacik 514a2a1
- Update to 0.56.4
Josef Bacik 514a2a1
- Add upstream d02340d90c9d30d44c962bea7171db3fe3bfba8e to fix logrotate
Josef Bacik 514a2a1
Josef Bacik 3991b7a
* Wed Feb 20 2013 Josef Bacik <josef@toxicpanda.com> - 0.56.3-1
Josef Bacik 3991b7a
- Update to 0.56.3
Josef Bacik 3991b7a
ffa978b
* Mon Feb 11 2013 Richard W.M. Jones <rjones@redhat.com> - 0.53-2
ffa978b
- Rebuilt to try to fix boost dependency problem in Rawhide.
ffa978b
Josef Bacik f5c462a
* Thu Nov  1 2012 Josef Bacik <josef@toxicpanda.com> - 0.53-1
Josef Bacik f5c462a
- Update to 0.53
Josef Bacik f5c462a
Jonathan Dieter 9855df9
* Mon Sep 24 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.51-3
Jonathan Dieter 9855df9
- Fix automake 1.12 error
Jonathan Dieter 0521dc9
- Rebuild after buildroot was messed up
Jonathan Dieter 9855df9
Jonathan Dieter ff794c7
* Tue Sep 18 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.51-2
Jonathan Dieter ff794c7
- Use system leveldb
Jonathan Dieter ff794c7
David Nalley 6449f95
* Fri Sep 07 2012 David Nalley <david@gnsa.us> - 0.51-1
David Nalley 6449f95
- Updating to 0.51
565f975
- Updated url and source url.
David Nalley 6449f95
19726c1
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.46-2
19726c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
19726c1
Josef Bacik 8f23225
* Wed May  9 2012 Josef Bacik <josef@toxicpanda.com> - 0.46-1
Josef Bacik 8f23225
- updated to upstream 0.46
Josef Bacik 8f23225
- broke out libcephfs (rhbz# 812975)
Josef Bacik 8f23225
ba92463
* Mon Apr 23 2012 Dan Horák <dan[at]danny.cz> - 0.45-2
ba92463
- fix detection of C++11 atomic header
ba92463
Josef Bacik 50e073a
* Thu Apr 12 2012 Josef Bacik <josef@toxicpanda.com> - 0.45-1
Josef Bacik 50e073a
- updating to upstream 0.45
Josef Bacik 50e073a
563583e
* Wed Apr  4 2012 Niels de Vos <devos@fedoraproject.org> - 0.44-5
563583e
- Add LDFLAGS=-lpthread on any ARM architecture
563583e
- Add CFLAGS=-DAO_USE_PTHREAD_DEFS on ARMv5tel
563583e
6eb8fdf
* Mon Mar 26 2012 Dan Horák <dan[at]danny.cz> 0.44-4
6eb8fdf
- gperftools not available also on ppc
6eb8fdf
Jonathan Dieter 0f5f195
* Mon Mar 26 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.44-3
Jonathan Dieter 0f5f195
- Remove unneeded patch
Jonathan Dieter 0f5f195
Jonathan Dieter 0f5f195
* Sun Mar 25 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.44-2
Jonathan Dieter 0f5f195
- Update to 0.44
Jonathan Dieter 0f5f195
- Fix build problems
Jonathan Dieter 0f5f195
Jonathan Dieter f32a9e4
* Mon Mar  5 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.43-1
Jonathan Dieter f32a9e4
- Update to 0.43
Jonathan Dieter f32a9e4
- Remove upstreamed compile fixes patch
Jonathan Dieter f32a9e4
- Remove obsoleted dump_pop patch
Jonathan Dieter f32a9e4
3cf1ae6
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.41-2
3cf1ae6
- Rebuilt for c++ ABI breakage
3cf1ae6
dc8a12b
* Thu Feb 16 2012 Tom Callaway <spot@fedoraproject.org> 0.41-1
dc8a12b
- update to 0.41
dc8a12b
- fix issues preventing build
dc8a12b
- rebuild against gperftools
dc8a12b
David Nalley c0a0a52
* Sat Dec 03 2011 David Nalley <david@gnsa.us> 0.38-1
David Nalley c0a0a52
- updating to upstream 0.39
David Nalley 36be982
David Nalley d10f18b
* Sat Nov 05 2011 David Nalley <david@gnsa.us> 0.37-1
David Nalley d10f18b
- create /etc/ceph - bug 745462
David Nalley d10f18b
- upgrading to 0.37, fixing 745460, 691033
David Nalley d10f18b
- fixing various logrotate bugs 748930, 747101
David Nalley d10f18b
b89a3dc
* Fri Aug 19 2011 Dan Horák <dan[at]danny.cz> 0.31-4
b89a3dc
- google-perftools not available also on s390(x)
b89a3dc
fd6c2fa
* Mon Jul 25 2011 Karsten Hopp <karsten@redhat.com> 0.31-3
b89a3dc
- build without tcmalloc on ppc64, BR google-perftools is not available there
fd6c2fa
Josef Bacik 454e443
* Tue Jul 12 2011 Josef Bacik <josef@toxicpanda.com> 0.31-2
Josef Bacik 454e443
- Remove curl/types.h include since we don't use it anymore
Josef Bacik 454e443
Josef Bacik 9b4a6bb
* Tue Jul 12 2011 Josef Bacik <josef@toxicpanda.com> 0.31-1
Josef Bacik 9b4a6bb
- Update to 0.31
Josef Bacik 9b4a6bb
Josef Bacik 81c2739
* Tue Apr  5 2011 Josef Bacik <josef@toxicpanda.com> 0.26-2
Josef Bacik 81c2739
- Add the compile fix patch
Josef Bacik 81c2739
Josef Bacik 555889f
* Tue Apr  5 2011 Josef Bacik <josef@toxicpanda.com> 0.26
Josef Bacik 555889f
- Update to 0.26
Josef Bacik 555889f
Josef Bacik ca6b4d7
* Tue Mar 22 2011 Josef Bacik <josef@toxicpanda.com> 0.25.1-1
Josef Bacik ca6b4d7
- Update to 0.25.1
Josef Bacik ca6b4d7
10fd17e
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21.3-2
10fd17e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
10fd17e
Steven Pritchard 3dcda9e
* Wed Sep 29 2010 Steven Pritchard <steve@kspei.com> 0.21.3-1
Steven Pritchard 3dcda9e
- Update to 0.21.3.
Steven Pritchard 3dcda9e
Steven Pritchard bfda65c
* Mon Aug 30 2010 Steven Pritchard <steve@kspei.com> 0.21.2-1
Steven Pritchard bfda65c
- Update to 0.21.2.
Steven Pritchard bfda65c
Steven Pritchard cf2b700
* Thu Aug 26 2010 Steven Pritchard <steve@kspei.com> 0.21.1-1
Steven Pritchard cf2b700
- Update to 0.21.1.
Steven Pritchard cf2b700
- Sample configs moved to /usr/share/doc/ceph/.
Steven Pritchard cf2b700
- Added cclass, rbd, and cclsinfo.
Steven Pritchard cf2b700
- Dropped mkmonfs and rbdtool.
Steven Pritchard cf2b700
- mkcephfs moved to /sbin.
Steven Pritchard cf2b700
- Add libcls_rbd.so.
Steven Pritchard cf2b700
a48a736
* Tue Jul  6 2010 Josef Bacik <josef@toxicpanda.com> 0.20.2-1
a48a736
- update to 0.20.2
a48a736
5dd73cb
* Wed May  5 2010 Josef Bacik <josef@toxicpanda.com> 0.20-1
5dd73cb
- update to 0.20
5dd73cb
- disable hadoop building
5dd73cb
- remove all the test binaries properly
5dd73cb
5dd73cb
* Fri Apr 30 2010 Sage Weil <sage@newdream.net> 0.19.1-5
5dd73cb
- Remove java deps (no need to build hadoop by default)
5dd73cb
- Include all required librados helpers
5dd73cb
- Include fetch_config sample
5dd73cb
- Include rbdtool
5dd73cb
- Remove misc debugging, test binaries
5dd73cb
Josef Bacik 7d1f840
* Fri Apr 30 2010 Josef Bacik <josef@toxicpanda.com> 0.19.1-4
5dd73cb
- Add java-devel and java tricks to get hadoop to build
5dd73cb
5dd73cb
* Mon Apr 26 2010 Josef Bacik <josef@toxicpanda.com> 0.19.1-3
5dd73cb
- Move the rados and cauthtool man pages into the base package
5dd73cb
5dd73cb
* Sun Apr 25 2010 Jonathan Dieter <jdieter@lesbg.com> 0.19.1-2
5dd73cb
- Add missing libhadoopcephfs.so* to file list
5dd73cb
- Add COPYING to all subpackages
5dd73cb
- Fix ownership of /usr/lib[64]/ceph
5dd73cb
- Enhance description of fuse client
5dd73cb
5dd73cb
* Tue Apr 20 2010 Josef Bacik <josef@toxicpanda.com> 0.19.1-1
5dd73cb
- Update to 0.19.1
5dd73cb
5dd73cb
* Mon Feb  8 2010 Josef Bacik <josef@toxicpanda.com> 0.18-1
5dd73cb
- Initial spec file creation, based on the template provided in the ceph src