f81482
# vim: set noexpandtab ts=8 sw=8 :
f81482
#
f81482
# spec file for package ceph
f81482
#
f81482
# Copyright (C) 2004-2017 The Ceph Project Developers. See COPYING file
f81482
# at the top-level directory of this distribution and at
f81482
# https://github.com/ceph/ceph/blob/master/COPYING
f81482
#
f81482
# All modifications and additions to the file contributed by third parties
f81482
# remain the property of their copyright owners, unless otherwise agreed
f81482
# upon.
f81482
#
f81482
# This file is under the GNU Lesser General Public License, version 2.1
f81482
#
f81482
# Please submit bugfixes or comments via http://tracker.ceph.com/
f81482
#
f81482
%global _hardened_build 1
f81482
f81482
%bcond_with ocf
f81482
%bcond_with tcmalloc
f81482
%bcond_with lowmem_builder
f81482
%bcond_with lttng
f81482
f81482
%{!?_udevrulesdir: %global _udevrulesdir /lib/udev/rules.d}
f81482
%{!?tmpfiles_create: %global tmpfiles_create systemd-tmpfiles --create}
f81482
%{!?python3_pkgversion: %global python3_pkgversion 3}
f81482
f81482
# unify libexec for all targets
f81482
%global _libexecdir %{_exec_prefix}/lib
f81482
f81482
# disable dwz which compresses the debuginfo
f81482
%global _find_debuginfo_dwz_opts %{nil}
f81482
f81482
%if ( 0%{?rhel} && 0%{?rhel} < 7 )
f81482
%global _rundir %{_localstatedir}/run
f81482
%else
f81482
%global _rundir /run
f81482
%endif
f81482
f81482
#################################################################################
f81482
# main package definition
f81482
#################################################################################
f81482
Name:		ceph
f81482
Version:	12.2.7
f81482
Release:	9%{?dist}
f81482
%if 0%{?fedora} || 0%{?rhel}
f81482
Epoch:		1
f81482
%endif
f81482
f81482
# define %%_epoch_prefix macro which will expand to the empty string if %%epoch is undefined
f81482
%global _epoch_prefix %{?epoch:%{epoch}:}
f81482
f81482
Summary:	User space components of the Ceph file system
f81482
License:	LGPL-2.1 and CC-BY-SA-1.0 and GPL-2.0 and BSL-1.0 and BSD-3-Clause and MIT
f81482
%if 0%{?suse_version}
f81482
Group:		System/Filesystems
f81482
%endif
f81482
URL:		http://ceph.com/
f81482
Source0:	http://download.ceph.com/tarballs/%{name}-%{version}.tar.gz
f81482
# https://bugzilla.redhat.com/show_bug.cgi?id=1474773
f81482
Patch001:	0001-src-rocksdb-util-murmurhash.patch
f81482
# https://bugzilla.redhat.com/show_bug.cgi?id=1474774
f81482
Patch002:	0002-cmake-Support-ppc64.patch
f81482
Patch003:	0003-librbd-Conditionally-import-TrimRequest.cc.patch
f81482
Patch004:	0004-mount-Enlarge-buffer-to-fix-overflow-warning.patch
f81482
Patch005:	0005-Disable-rocksdb-Werror.patch
f81482
Patch006:	0006-python-to-python3.patch
f81482
Patch007:	0007-Strip-away-python2.patch
f81482
Patch008:	0008-Fix-python-executable.patch
f81482
%if 0%{?suse_version}
f81482
%if 0%{?is_opensuse}
f81482
ExclusiveArch:	x86_64 aarch64 ppc64 ppc64le
f81482
%else
f81482
ExclusiveArch:	x86_64 aarch64 ppc64le s390x
f81482
%endif
f81482
%endif
f81482
#################################################################################
f81482
# dependencies that apply across all distro families
f81482
#################################################################################
f81482
BuildRequires:	bc
f81482
BuildRequires:	gperf
f81482
BuildRequires:  cmake
f81482
BuildRequires:	cryptsetup
f81482
BuildRequires:	fuse-devel
f81482
BuildRequires:	gcc-c++
f81482
BuildRequires:	gdbm
f81482
%if 0%{with tcmalloc}
f81482
BuildRequires:	gperftools-devel >= 2.4
f81482
%endif
f81482
BuildRequires:	libaio-devel
f81482
BuildRequires:	libblkid-devel >= 2.17
f81482
BuildRequires:	libcurl-devel
f81482
BuildRequires:	libudev-devel
f81482
BuildRequires:	libtool
f81482
BuildRequires:	libxml2-devel
f81482
BuildRequires:	make
f81482
BuildRequires:	parted
f81482
BuildRequires:	perl
f81482
BuildRequires:	pkgconfig
f81482
BuildRequires:	python3
f81482
BuildRequires:	python3-devel
f81482
BuildRequires:	python3-nose
f81482
BuildRequires:	python3-requests
f81482
BuildRequires:	snappy-devel
f81482
BuildRequires:	udev
f81482
BuildRequires:	util-linux
f81482
%ifarch %{valgrind_arches}
f81482
BuildRequires:	valgrind-devel
f81482
%endif
f81482
BuildRequires:	which
f81482
BuildRequires:	xfsprogs
f81482
BuildRequires:	xfsprogs-devel
f81482
f81482
#################################################################################
f81482
# distro-conditional dependencies
f81482
#################################################################################
f81482
BuildRequires:  boost-random
f81482
BuildRequires:  boost-devel
f81482
BuildRequires:	nss-devel
f81482
BuildRequires:	keyutils-libs-devel
f81482
# RDMA is no longer built on 32-bit ARM: see #1484155
f81482
%ifnarch %{arm}
f81482
BuildRequires:	rdma-core-devel
f81482
%endif
f81482
BuildRequires:  openldap-devel
f81482
BuildRequires:  openssl-devel
f81482
BuildRequires:  redhat-lsb-core
f81482
BuildRequires:	python3-prettytable
f81482
BuildRequires:	python3-sphinx
f81482
BuildRequires:	python3-devel
f81482
BuildRequires:	python3-setuptools
f81482
BuildRequires:	python3-Cython
f81482
# lttng and babeltrace for rbd-replay-prep
f81482
%if %{with lttng}
f81482
%if 0%{?fedora} || 0%{?rhel}
f81482
BuildRequires:	lttng-ust-devel
f81482
BuildRequires:	libbabeltrace-devel
f81482
%endif
f81482
%if 0%{?suse_version}
f81482
BuildRequires:	lttng-ust-devel
f81482
BuildRequires:  babeltrace-devel
f81482
%endif
f81482
%endif
f81482
%if 0%{?suse_version}
f81482
BuildRequires:	libexpat-devel
f81482
%endif
f81482
%if 0%{?rhel} || 0%{?fedora}
f81482
BuildRequires:	expat-devel
f81482
%endif
f81482
#hardened-cc1
f81482
%if 0%{?fedora} || 0%{?rhel}
f81482
BuildRequires:  redhat-rpm-config
f81482
%endif
f81482
f81482
%description
f81482
Ceph is a massively scalable, open-source, distributed storage system that runs
f81482
on commodity hardware and delivers object, block and file system storage.
f81482
f81482
f81482
#################################################################################
f81482
# subpackages
f81482
#################################################################################
f81482
f81482
%package -n ceph-common
f81482
Summary:	Ceph Common
f81482
%if 0%{?suse_version}
f81482
Group:		System/Filesystems
f81482
%endif
f81482
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
f81482
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
f81482
Requires:	libcephfs2 = %{_epoch_prefix}%{version}-%{release}
f81482
Requires:	python3-rados = %{_epoch_prefix}%{version}-%{release}
f81482
Requires:	python3-rbd = %{_epoch_prefix}%{version}-%{release}
f81482
Requires:	python3-cephfs = %{_epoch_prefix}%{version}-%{release}
f81482
Requires:	python3-prettytable
f81482
Requires:	python3-requests
f81482
%{?systemd_requires}
f81482
%description -n ceph-common
f81482
Common utilities to mount and interact with a ceph storage cluster.
f81482
Comprised of files that are common to Ceph clients and servers.
f81482
f81482
%if %{with ocf}
f81482
%package resource-agents
f81482
Summary:	OCF-compliant resource agents for Ceph daemons
f81482
%if 0%{?suse_version}
f81482
Group:		System/Filesystems
f81482
%endif
f81482
Requires:	ceph-base = %{_epoch_prefix}%{version}
f81482
Requires:	resource-agents
f81482
%description resource-agents
f81482
Resource agents for monitoring and managing Ceph daemons
f81482
under Open Cluster Framework (OCF) compliant resource
f81482
managers such as Pacemaker.
f81482
%endif
f81482
f81482
%package -n librados2
f81482
Summary:	RADOS distributed object store client library
f81482
%if 0%{?suse_version}
f81482
Group:		System/Libraries
f81482
%endif
f81482
%if 0%{?rhel} || 0%{?fedora}
f81482
Obsoletes:	ceph-libs < %{_epoch_prefix}%{version}-%{release}
f81482
Obsoletes:	ceph-libs-compat < %{_epoch_prefix}%{version}-%{release}
f81482
%endif
f81482
%description -n librados2
f81482
RADOS is a reliable, autonomic distributed object storage cluster
f81482
developed as part of the Ceph distributed storage system. This is a
f81482
shared library allowing applications to access the distributed object
f81482
store using a simple file-like interface.
f81482
f81482
%package -n librados-devel
f81482
Summary:	RADOS headers
f81482
%if 0%{?suse_version}
f81482
Group:		Development/Libraries/C and C++
f81482
%endif
f81482
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
f81482
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
f81482
Provides:	librados2-devel = %{_epoch_prefix}%{version}-%{release}
f81482
Obsoletes:	librados2-devel < %{_epoch_prefix}%{version}-%{release}
f81482
%description -n librados-devel
f81482
This package contains libraries and headers needed to develop programs
f81482
that use RADOS object store.
f81482
f81482
%package -n python%{python3_pkgversion}-rados
f81482
Summary:	Python 3 libraries for the RADOS object store
f81482
%if 0%{?suse_version}
f81482
Group:		Development/Languages/Python
f81482
%endif
f81482
Requires:	%{__python3}
f81482
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
f81482
%description -n python%{python3_pkgversion}-rados
f81482
This package contains Python 3 libraries for interacting with Cephs RADOS
f81482
object store.
f81482
f81482
%package -n libradosstriper1
f81482
Summary:       RADOS striping interface
f81482
%if 0%{?suse_version}
f81482
Group:         System/Libraries
f81482
%endif
f81482
Requires:      librados2 = %{_epoch_prefix}%{version}-%{release}
f81482
%description -n libradosstriper1
f81482
Striping interface built on top of the rados library, allowing
f81482
to stripe bigger objects onto several standard rados objects using
f81482
an interface very similar to the rados one.
f81482
f81482
%package -n libradosstriper-devel
f81482
Summary:       RADOS striping interface headers
f81482
%if 0%{?suse_version}
f81482
Group:         Development/Libraries/C and C++
f81482
%endif
f81482
Requires:      libradosstriper1 = %{_epoch_prefix}%{version}-%{release}
f81482
Requires:      librados-devel = %{_epoch_prefix}%{version}-%{release}
f81482
Obsoletes:     ceph-devel < %{_epoch_prefix}%{version}-%{release}
f81482
Provides:      libradosstriper1-devel = %{_epoch_prefix}%{version}-%{release}
f81482
Obsoletes:     libradosstriper1-devel < %{_epoch_prefix}%{version}-%{release}
f81482
%description -n libradosstriper-devel
f81482
This package contains libraries and headers needed to develop programs
f81482
that use RADOS striping interface.
f81482
f81482
%package -n librbd1
f81482
Summary:	RADOS block device client library
f81482
%if 0%{?suse_version}
f81482
Group:		System/Libraries
f81482
%endif
f81482
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
f81482
%if 0%{?suse_version}
f81482
Requires(post): coreutils
f81482
%endif
f81482
%if 0%{?rhel} || 0%{?fedora}
f81482
Obsoletes:	ceph-libs < %{_epoch_prefix}%{version}-%{release}
f81482
Obsoletes:	ceph-libs-compat < %{_epoch_prefix}%{version}-%{release}
f81482
%endif
f81482
%description -n librbd1
f81482
RBD is a block device striped across multiple distributed objects in
f81482
RADOS, a reliable, autonomic distributed object storage cluster
f81482
developed as part of the Ceph distributed storage system. This is a
f81482
shared library allowing applications to manage these block devices.
f81482
f81482
%package -n librbd-devel
f81482
Summary:	RADOS block device headers
f81482
%if 0%{?suse_version}
f81482
Group:		Development/Libraries/C and C++
f81482
%endif
f81482
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
f81482
Requires:	librados-devel = %{_epoch_prefix}%{version}-%{release}
f81482
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
f81482
Provides:	librbd1-devel = %{_epoch_prefix}%{version}-%{release}
f81482
Obsoletes:	librbd1-devel < %{_epoch_prefix}%{version}-%{release}
f81482
%description -n librbd-devel
f81482
This package contains libraries and headers needed to develop programs
f81482
that use RADOS block device.
f81482
f81482
%package -n python%{python3_pkgversion}-rbd
f81482
Summary:	Python 3 libraries for the RADOS block device
f81482
%if 0%{?suse_version}
f81482
Group:		Development/Languages/Python
f81482
%endif
f81482
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
f81482
Requires:	python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
f81482
%description -n python%{python3_pkgversion}-rbd
f81482
This package contains Python 3 libraries for interacting with Cephs RADOS
f81482
block device.
f81482
f81482
%package -n libcephfs2
f81482
Summary:	Ceph distributed file system client library
f81482
%if 0%{?suse_version}
f81482
Group:		System/Libraries
f81482
%endif
f81482
Obsoletes:	libcephfs1
f81482
%if 0%{?rhel} || 0%{?fedora}
f81482
Obsoletes:	ceph-libs < %{_epoch_prefix}%{version}-%{release}
f81482
Obsoletes:	ceph-libs-compat < %{_epoch_prefix}%{version}-%{release}
f81482
Obsoletes:	ceph-libcephfs
f81482
%endif
f81482
%description -n libcephfs2
f81482
Ceph is a distributed network file system designed to provide excellent
f81482
performance, reliability, and scalability. This is a shared library
f81482
allowing applications to access a Ceph distributed file system via a
f81482
POSIX-like interface.
f81482
f81482
%package -n libcephfs-devel
f81482
Summary:	Ceph distributed file system headers
f81482
%if 0%{?suse_version}
f81482
Group:		Development/Libraries/C and C++
f81482
%endif
f81482
Requires:	libcephfs2 = %{_epoch_prefix}%{version}-%{release}
f81482
Requires:	librados-devel = %{_epoch_prefix}%{version}-%{release}
f81482
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
f81482
Provides:	libcephfs2-devel = %{_epoch_prefix}%{version}-%{release}
f81482
Obsoletes:	libcephfs2-devel < %{_epoch_prefix}%{version}-%{release}
f81482
%description -n libcephfs-devel
f81482
This package contains libraries and headers needed to develop programs
f81482
that use Cephs distributed file system.
f81482
f81482
%package -n python%{python3_pkgversion}-cephfs
f81482
Summary:	Python 3 libraries for Ceph distributed file system
f81482
%if 0%{?suse_version}
f81482
Group:		Development/Languages/Python
f81482
%endif
f81482
Requires:	libcephfs2 = %{_epoch_prefix}%{version}-%{release}
f81482
Requires:	python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
f81482
%description -n python%{python3_pkgversion}-cephfs
f81482
This package contains Python 3 libraries for interacting with Cephs distributed
f81482
file system.
f81482
f81482
#################################################################################
f81482
# common
f81482
#################################################################################
f81482
%prep
f81482
%autosetup -p1 -n %{name}-%{version}
f81482
f81482
%build
f81482
%if %{with lowmem_builder}
f81482
RPM_OPT_FLAGS="$RPM_OPT_FLAGS --param ggc-min-expand=20 --param ggc-min-heapsize=32768"
f81482
%endif
f81482
%ifnarch armv7hl
f81482
export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed -e 's/i386/i486/'`
f81482
%else
f81482
export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed -e 's/i386/i486/' -e 's/-pipe//g'`
f81482
%endif
f81482
f81482
export CPPFLAGS="$java_inc"
f81482
export CFLAGS="$RPM_OPT_FLAGS"
f81482
export CXXFLAGS="$RPM_OPT_FLAGS"
f81482
export LDFLAGS="$RPM_LD_FLAGS"
f81482
f81482
env | sort
f81482
f81482
%if %{with lowmem_builder}
f81482
%ifnarch armv7hl
f81482
%if 0%{?jobs} > 8
f81482
%define _smp_mflags -j8
f81482
%endif
f81482
%else
f81482
%define _smp_mflags -j1
f81482
%endif
f81482
%endif
f81482
f81482
# unlimit _smp_mflags in system macro if not set above
f81482
# Brew cannot handle -j24 here
f81482
%define _smp_ncpus_max 16
f81482
# extract the number of processors for use with cmake
f81482
%define _smp_ncpus %(echo %{_smp_mflags} | sed 's/-j//')
f81482
f81482
mkdir build
f81482
cd build
f81482
cmake .. \
f81482
    -DCMAKE_INSTALL_PREFIX=%{_prefix} \
f81482
    -DCMAKE_INSTALL_LIBDIR=%{_libdir} \
f81482
    -DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir} \
f81482
    -DCMAKE_INSTALL_LOCALSTATEDIR=%{_localstatedir} \
f81482
    -DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} \
f81482
    -DCMAKE_INSTALL_MANDIR=%{_mandir} \
f81482
    -DCMAKE_INSTALL_DOCDIR=%{_docdir}/ceph \
f81482
    -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} \
f81482
    -DWITH_MGR=OFF \
f81482
    -DWITH_EMBEDDED=OFF \
f81482
    -DWITH_MANPAGE=ON \
f81482
    -DWITH_PYTHON3=ON \
f81482
    -DWITH_SYSTEMD=ON \
f81482
    -DWITH_SYSTEM_BOOST=ON \
f81482
    -DWITH_SPDK=OFF \
f81482
    -DWITH_PMEM=OFF \
f81482
    -DWITH_BLUESTORE=OFF \
f81482
    -DWITH_BOOST_CONTEXT=OFF \
f81482
    -DWITH_LEVELDB=OFF \
f81482
    -DWITH_RADOSGW=OFF \
f81482
%if ( ( 0%{?rhel} && 0%{?rhel} <= 7) && ! 0%{?centos} )
f81482
    -DWITH_SUBMAN=ON \
f81482
%endif
f81482
    -DWITH_TESTS=OFF \
f81482
%if %{with lttng}
f81482
    -DWITH_LTTNG=ON \
f81482
    -DWITH_BABELTRACE=ON \
f81482
%else
f81482
    -DWITH_LTTNG=OFF \
f81482
    -DWITH_BABELTRACE=OFF \
f81482
%endif
f81482
    $CEPH_EXTRA_CMAKE_ARGS \
f81482
%if 0%{with ocf}
f81482
    -DWITH_OCF=ON \
f81482
%endif
f81482
%ifarch aarch64 armv7hl mips mipsel ppc ppc64 ppc64le %{ix86} x86_64
f81482
    -DWITH_RADOSGW_BEAST_FRONTEND=ON \
f81482
%else
f81482
    -DWITH_RADOSGW_BEAST_FRONTEND=OFF \
f81482
%endif
f81482
%ifnarch %{arm}
f81482
    -DWITH_RDMA=OFF \
f81482
%endif
f81482
    -DBOOST_J=%{_smp_ncpus}
f81482
f81482
make %{?_smp_mflags}
f81482
f81482
f81482
%install
f81482
pushd build
f81482
make DESTDIR=%{buildroot} install
f81482
# we have dropped sysvinit bits
f81482
rm -f %{buildroot}/%{_sysconfdir}/init.d/ceph
f81482
popd
f81482
install -m 0644 -D src/etc-rbdmap %{buildroot}%{_sysconfdir}/ceph/rbdmap
f81482
install -m 0644 -D systemd/ceph.tmpfiles.d %{buildroot}%{_tmpfilesdir}/ceph-common.conf
f81482
mkdir -p %{buildroot}%{_sbindir}
f81482
chmod 0644 %{buildroot}%{_docdir}/ceph/sample.ceph.conf
f81482
install -m 0644 -D COPYING %{buildroot}%{_docdir}/ceph/COPYING
f81482
f81482
# firewall templates and /sbin/mount.ceph symlink
f81482
%if 0%{?suse_version}
f81482
mkdir -p %{buildroot}/sbin
f81482
ln -sf %{_sbindir}/mount.ceph %{buildroot}/sbin/mount.ceph
f81482
%endif
f81482
f81482
# udev rules
f81482
install -m 0644 -D udev/50-rbd.rules %{buildroot}%{_udevrulesdir}/50-rbd.rules
f81482
f81482
#set up placeholder directories
f81482
mkdir -p %{buildroot}%{_sysconfdir}/ceph
f81482
mkdir -p %{buildroot}%{_rundir}/ceph
f81482
mkdir -p %{buildroot}%{_localstatedir}/log/ceph
f81482
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph
f81482
f81482
# Remove the rbd/fuse bits
f81482
rm -f %{buildroot}%{_bindir}/ceph-fuse
f81482
rm -f %{buildroot}%{_mandir}/man8/ceph-fuse.8*
f81482
rm -f %{buildroot}%{_sbindir}/mount.fuse.ceph
f81482
rm -f %{buildroot}%{_unitdir}/ceph-fuse@.service
f81482
rm -f %{buildroot}%{_unitdir}/ceph-fuse.target
f81482
rm -f %{buildroot}%{_bindir}/rbd-fuse
f81482
rm -f %{buildroot}%{_mandir}/man8/rbd-fuse.8*
f81482
f81482
# Remove the ceph-base package
f81482
rm -f %{buildroot}%{_bindir}/crushtool
f81482
rm -f %{buildroot}%{_bindir}/monmaptool
f81482
rm -f %{buildroot}%{_bindir}/osdmaptool
f81482
rm -f %{buildroot}%{_bindir}/ceph-run
f81482
rm -f %{buildroot}%{_bindir}/ceph-detect-init
f81482
rm -f %{buildroot}%{_sbindir}/ceph-create-keys
f81482
rm -f %{buildroot}%{_sbindir}/ceph-disk
f81482
rm -f %{buildroot}%{_sbindir}/ceph-volume
f81482
rm -f %{buildroot}%{_sbindir}/ceph-volume-systemd
f81482
rm -f %{buildroot}%{_libexecdir}/ceph/ceph_common.sh
f81482
rm -rf %{buildroot}%{_libdir}/rados-classes
f81482
rm -f %{buildroot}%{_libdir}/rados-classes/*
f81482
rm -rf %{buildroot}%{_libdir}/ceph/erasure-code
f81482
rm -f %{buildroot}%{_libdir}/ceph/erasure-code/libec_*.so*
f81482
rm -rf %{buildroot}%{_libdir}/ceph/compressor
f81482
rm -f %{buildroot}%{_libdir}/ceph/compressor/libceph_*.so*
f81482
rm -rf %{buildroot}%{_libdir}/ceph/crypto
f81482
rm -f %{buildroot}%{_libdir}/ceph/crypto/libceph_*.so*
f81482
rm -f %{buildroot}%{_libdir}/libos_tp.so*
f81482
rm -f %{buildroot}%{_libdir}/libosd_tp.so*
f81482
rm -f %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.*
f81482
rm -f %{buildroot}%{_unitdir}/ceph-disk@.service
f81482
rm -f %{buildroot}%{_unitdir}/ceph-volume@.service
f81482
rm -f %{buildroot}%{_unitdir}/ceph.target
f81482
rm -rf %{buildroot}%{python_sitelib}/ceph_detect_init*
f81482
rm -rf %{buildroot}%{python_sitelib}/ceph_disk*
f81482
rm -rf %{buildroot}%{python_sitelib}/ceph_volume/*
f81482
rm -rf %{buildroot}%{python_sitelib}/ceph_volume-*
f81482
rm -f %{buildroot}%{_mandir}/man8/ceph-deploy.8*
f81482
rm -f %{buildroot}%{_mandir}/man8/ceph-detect-init.8*
f81482
rm -f %{buildroot}%{_mandir}/man8/ceph-create-keys.8*
f81482
rm -f %{buildroot}%{_mandir}/man8/ceph-disk.8*
f81482
rm -f %{buildroot}%{_mandir}/man8/ceph-volume.8*
f81482
rm -f %{buildroot}%{_mandir}/man8/ceph-volume-systemd.8*
f81482
rm -f %{buildroot}%{_mandir}/man8/ceph-run.8*
f81482
rm -f %{buildroot}%{_mandir}/man8/crushtool.8*
f81482
rm -f %{buildroot}%{_mandir}/man8/osdmaptool.8*
f81482
rm -f %{buildroot}%{_mandir}/man8/monmaptool.8*
f81482
f81482
# Remove the ceph-mds package
f81482
rm -f %{buildroot}%{_bindir}/ceph-mds
f81482
rm -f %{buildroot}%{_mandir}/man8/ceph-mds.8*
f81482
rm -f %{buildroot}%{_unitdir}/ceph-mds@.service
f81482
rm -f %{buildroot}%{_unitdir}/ceph-mds.target
f81482
f81482
# Remove the ceph-mgr package
f81482
rm -f %{buildroot}%{_bindir}/ceph-mgr
f81482
rm -rf %{buildroot}%{_libdir}/ceph/mgr
f81482
rm -f %{buildroot}%{_unitdir}/ceph-mgr@.service
f81482
rm -f %{buildroot}%{_unitdir}/ceph-mgr.target
f81482
f81482
# Remove the ceph-mon package
f81482
rm -f %{buildroot}%{_bindir}/ceph-mon
f81482
rm -f %{buildroot}%{_bindir}/ceph-rest-api
f81482
rm -f %{buildroot}%{_mandir}/man8/ceph-mon.8*
f81482
rm -f %{buildroot}%{_mandir}/man8/ceph-rest-api.8*
f81482
rm -f %{buildroot}%{python3_sitelib}/__pycache__/ceph_rest_api.*
f81482
rm -f %{buildroot}%{python3_sitelib}/ceph_rest_api.py*
f81482
rm -f %{buildroot}%{_unitdir}/ceph-mon@.service
f81482
rm -f %{buildroot}%{_unitdir}/ceph-mon.target
f81482
f81482
# Remove the ceph-radosgw package
f81482
rm -f %{buildroot}%{_bindir}/radosgw
f81482
rm -f %{buildroot}%{_bindir}/radosgw-token
f81482
rm -f %{buildroot}%{_bindir}/radosgw-es
f81482
rm -f %{buildroot}%{_bindir}/radosgw-object-expirer
f81482
rm -f %{buildroot}%{_mandir}/man8/radosgw.8*
f81482
rm -f %{buildroot}%{_unitdir}/ceph-radosgw@.service
f81482
rm -f %{buildroot}%{_unitdir}/ceph-radosgw.target
f81482
f81482
# Remove the ceph-osd package
f81482
rm -f %{buildroot}%{_bindir}/ceph-clsinfo
f81482
rm -f %{buildroot}%{_bindir}/ceph-bluestore-tool
f81482
rm -f %{buildroot}%{_bindir}/ceph-objectstore-tool
f81482
rm -f %{buildroot}%{_bindir}/ceph-osd
f81482
rm -f %{buildroot}%{_libexecdir}/ceph/ceph-osd-prestart.sh
f81482
#rm -rf %{buildroot}%dir %{_udevrulesdir}
f81482
rm -f %{buildroot}%{_mandir}/man8/ceph-clsinfo.8*
f81482
rm -f %{buildroot}%{_mandir}/man8/ceph-osd.8*
f81482
rm -f %{buildroot}%{_mandir}/man8/ceph-bluestore-tool.8*
f81482
rm -f %{buildroot}%{_unitdir}/ceph-osd@.service
f81482
rm -f %{buildroot}%{_unitdir}/ceph-osd.target
f81482
f81482
# Remove debuginfo for server bits
f81482
rm -f %{buildroot}/usr/lib/debug/%{_bindir}/ceph-fuse-*
f81482
rm -f %{buildroot}/usr/lib/debug/%{_bindir}/rbd-fuse-*
f81482
f81482
# Remove incorrectly installed man page
f81482
rm -f %{buildroot}%{_mandir}/man8/ceph-kvstore-tool.8*
f81482
f81482
# Make sure radosgw bits do not exist
f81482
rm -f %{buildroot}%{_bindir}/radosgw-admin
f81482
rm -f %{buildroot}%{_mandir}/man8/radosgw-admin.8*
f81482
rm -f %{buildroot}%{_sysconfdir}/bash_completion.d/radosgw-admin
f81482
f81482
# Remove rbd-mirror
f81482
rm -f %{buildroot}%{_bindir}/rbd-mirror
f81482
rm -f %{buildroot}%{_mandir}/man8/rbd-mirror.8*
f81482
rm -f %{buildroot}%{_unitdir}/ceph-rbd-mirror@.service
f81482
rm -f %{buildroot}%{_unitdir}/ceph-rbd-mirror.target
f81482
f81482
# Remove rbd-nbd
f81482
rm -f %{buildroot}%{_bindir}/rbd-nbd
f81482
rm -f %{buildroot}%{_mandir}/man8/rbd-nbd.8*
f81482
f81482
# Remove rados-objclass-devel
f81482
rm -f %{buildroot}%{_includedir}/rados/objclass.h
f81482
f81482
%clean
f81482
rm -rf %{buildroot}
f81482
f81482
#################################################################################
f81482
# files and systemd scriptlets
f81482
#################################################################################
f81482
%files common
f81482
%dir %{_docdir}/ceph
f81482
%doc %{_docdir}/ceph/sample.ceph.conf
f81482
%doc %{_docdir}/ceph/COPYING
f81482
%{_bindir}/ceph
f81482
%{_bindir}/ceph-authtool
f81482
%{_bindir}/ceph-conf
f81482
%{_bindir}/ceph-dencoder
f81482
%{_bindir}/ceph-rbdnamer
f81482
%{_bindir}/ceph-syn
f81482
%{_bindir}/ceph-crush-location
f81482
%{_bindir}/cephfs-data-scan
f81482
%{_bindir}/cephfs-journal-tool
f81482
%{_bindir}/cephfs-table-tool
f81482
%{_bindir}/rados
f81482
%{_bindir}/rbd
f81482
%{_bindir}/rbd-replay
f81482
%{_bindir}/rbd-replay-many
f81482
%{_bindir}/rbdmap
f81482
%{_sbindir}/mount.ceph
f81482
%if 0%{?suse_version}
f81482
/sbin/mount.ceph
f81482
%endif
f81482
%if %{with lttng}
f81482
%{_bindir}/rbd-replay-prep
f81482
%endif
f81482
%{_bindir}/ceph-post-file
f81482
%{_bindir}/ceph-brag
f81482
%{_tmpfilesdir}/ceph-common.conf
f81482
%{_mandir}/man8/ceph-authtool.8*
f81482
%{_mandir}/man8/ceph-conf.8*
f81482
%{_mandir}/man8/ceph-dencoder.8*
f81482
%{_mandir}/man8/ceph-rbdnamer.8*
f81482
%{_mandir}/man8/ceph-syn.8*
f81482
%{_mandir}/man8/ceph-post-file.8*
f81482
%{_mandir}/man8/ceph.8*
f81482
%{_mandir}/man8/mount.ceph.8*
f81482
%{_mandir}/man8/rados.8*
f81482
%{_mandir}/man8/rbd.8*
f81482
%{_mandir}/man8/rbdmap.8*
f81482
%{_mandir}/man8/rbd-replay.8*
f81482
%{_mandir}/man8/rbd-replay-many.8*
f81482
%{_mandir}/man8/rbd-replay-prep.8*
f81482
%dir %{_datadir}/ceph/
f81482
%{_datadir}/ceph/known_hosts_drop.ceph.com
f81482
%{_datadir}/ceph/id_rsa_drop.ceph.com
f81482
%{_datadir}/ceph/id_rsa_drop.ceph.com.pub
f81482
%dir %{_sysconfdir}/ceph/
f81482
%config %{_sysconfdir}/bash_completion.d/ceph
f81482
%config %{_sysconfdir}/bash_completion.d/rados
f81482
%config %{_sysconfdir}/bash_completion.d/rbd
f81482
%config(noreplace) %{_sysconfdir}/ceph/rbdmap
f81482
%{_unitdir}/rbdmap.service
f81482
%{python3_sitelib}/ceph_argparse.py*
f81482
%{python3_sitelib}/__pycache__/ceph_argparse.cpython*.py*
f81482
%{python3_sitelib}/ceph_daemon.py*
f81482
%{python3_sitelib}/__pycache__/ceph_daemon.cpython*.py*
f81482
%dir %{_udevrulesdir}
f81482
%{_udevrulesdir}/50-rbd.rules
f81482
%attr(3770,ceph,ceph) %dir %{_localstatedir}/log/ceph/
f81482
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/
f81482
f81482
%pre common
f81482
CEPH_GROUP_ID=167
f81482
CEPH_USER_ID=167
f81482
%if 0%{?rhel} || 0%{?fedora}
f81482
/usr/sbin/groupadd ceph -g $CEPH_GROUP_ID -o -r 2>/dev/null || :
f81482
/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 || :
f81482
%endif
f81482
%if 0%{?suse_version}
f81482
if ! getent group ceph >/dev/null ; then
f81482
    CEPH_GROUP_ID_OPTION=""
f81482
    getent group $CEPH_GROUP_ID >/dev/null || CEPH_GROUP_ID_OPTION="-g $CEPH_GROUP_ID"
f81482
    groupadd ceph $CEPH_GROUP_ID_OPTION -r 2>/dev/null || :
f81482
fi
f81482
if ! getent passwd ceph >/dev/null ; then
f81482
    CEPH_USER_ID_OPTION=""
f81482
    getent passwd $CEPH_USER_ID >/dev/null || CEPH_USER_ID_OPTION="-u $CEPH_USER_ID"
f81482
    useradd ceph $CEPH_USER_ID_OPTION -r -g ceph -s /sbin/nologin 2>/dev/null || :
f81482
fi
f81482
usermod -c "Ceph storage service" \
f81482
        -d %{_localstatedir}/lib/ceph \
f81482
        -g ceph \
f81482
        -s /sbin/nologin \
f81482
        ceph
f81482
%endif
f81482
exit 0
f81482
f81482
%post common
f81482
%tmpfiles_create %{_tmpfilesdir}/ceph-common.conf
f81482
f81482
%postun common
f81482
# Package removal cleanup
f81482
if [ "$1" -eq "0" ] ; then
f81482
    rm -rf %{_localstatedir}/log/ceph
f81482
    rm -rf %{_sysconfdir}/ceph
f81482
fi
f81482
f81482
%if %{with ocf}
f81482
f81482
%files resource-agents
f81482
%dir %{_prefix}/lib/ocf
f81482
%dir %{_prefix}/lib/ocf/resource.d
f81482
%dir %{_prefix}/lib/ocf/resource.d/ceph
f81482
%{_prefix}/lib/ocf/resource.d/ceph/rbd
f81482
f81482
%endif
f81482
f81482
%files -n librados2
f81482
%{_libdir}/librados.so.*
f81482
%dir %{_libdir}/ceph
f81482
%{_libdir}/ceph/libceph-common.so*
f81482
%if %{with lttng}
f81482
%{_libdir}/librados_tp.so.*
f81482
%endif
f81482
f81482
%post -n librados2 -p /sbin/ldconfig
f81482
f81482
%postun -n librados2 -p /sbin/ldconfig
f81482
f81482
%files -n librados-devel
f81482
%dir %{_includedir}/rados
f81482
%{_includedir}/rados/librados.h
f81482
%{_includedir}/rados/librados.hpp
f81482
%{_includedir}/rados/buffer.h
f81482
%{_includedir}/rados/buffer_fwd.h
f81482
%{_includedir}/rados/inline_memory.h
f81482
%{_includedir}/rados/page.h
f81482
%{_includedir}/rados/crc32c.h
f81482
%{_includedir}/rados/rados_types.h
f81482
%{_includedir}/rados/rados_types.hpp
f81482
%{_includedir}/rados/memory.h
f81482
%{_libdir}/librados.so
f81482
%if %{with lttng}
f81482
%{_libdir}/librados_tp.so
f81482
%endif
f81482
%{_bindir}/librados-config
f81482
%{_mandir}/man8/librados-config.8*
f81482
f81482
%files -n python%{python3_pkgversion}-rados
f81482
%{python3_sitearch}/rados.cpython*.so
f81482
%{python3_sitearch}/rados-*.egg-info
f81482
f81482
%files -n libradosstriper1
f81482
%{_libdir}/libradosstriper.so.*
f81482
f81482
%post -n libradosstriper1 -p /sbin/ldconfig
f81482
f81482
%postun -n libradosstriper1 -p /sbin/ldconfig
f81482
f81482
%files -n libradosstriper-devel
f81482
%dir %{_includedir}/radosstriper
f81482
%{_includedir}/radosstriper/libradosstriper.h
f81482
%{_includedir}/radosstriper/libradosstriper.hpp
f81482
%{_libdir}/libradosstriper.so
f81482
f81482
%files -n librbd1
f81482
%{_libdir}/librbd.so.*
f81482
%if %{with lttng}
f81482
%{_libdir}/librbd_tp.so.*
f81482
%endif
f81482
f81482
%post -n librbd1 -p /sbin/ldconfig
f81482
f81482
%postun -n librbd1 -p /sbin/ldconfig
f81482
f81482
%files -n librbd-devel
f81482
%dir %{_includedir}/rbd
f81482
%{_includedir}/rbd/librbd.h
f81482
%{_includedir}/rbd/librbd.hpp
f81482
%{_includedir}/rbd/features.h
f81482
%{_libdir}/librbd.so
f81482
%if %{with lttng}
f81482
%{_libdir}/librbd_tp.so
f81482
%endif
f81482
f81482
%files -n python%{python3_pkgversion}-rbd
f81482
%{python3_sitearch}/rbd.cpython*.so
f81482
%{python3_sitearch}/rbd-*.egg-info
f81482
f81482
%files -n libcephfs2
f81482
%{_libdir}/libcephfs.so.*
f81482
f81482
%post -n libcephfs2 -p /sbin/ldconfig
f81482
f81482
%postun -n libcephfs2 -p /sbin/ldconfig
f81482
f81482
%files -n libcephfs-devel
f81482
%dir %{_includedir}/cephfs
f81482
%{_includedir}/cephfs/libcephfs.h
f81482
%{_includedir}/cephfs/ceph_statx.h
f81482
%{_libdir}/libcephfs.so
f81482
f81482
%files -n python%{python3_pkgversion}-cephfs
f81482
%{python3_sitearch}/cephfs.cpython*.so
f81482
%{python3_sitearch}/cephfs-*.egg-info
f81482
%{python3_sitelib}/ceph_volume_client.py
f81482
%{python3_sitelib}/__pycache__/ceph_volume_client.cpython*.py*
f81482
f81482
f81482
%changelog
f81482
* Wed Oct 03 2018 Boris Ranto <branto@redhat.com> - 1:12.2.7-9
f81482
- fix link-time hardening (1630554)
f81482
f81482
* Tue Sep 25 2018 Boris Ranto <branto@redhat.com> - 1:12.2.7-8
f81482
- do not require yasm
f81482
- strip away crypto implementations
f81482
f81482
* Wed Sep 19 2018 Tomas Orsava <torsava@redhat.com> - 1:12.2.7-7
f81482
- Require the Python interpreter directly instead of using the package name
f81482
- Related: rhbz#1619153
f81482
f81482
* Fri Sep 14 2018 Boris Ranto <branto@redhat.com> - 1:12.2.7-6
f81482
- Drop ceph-resource-agents
f81482
f81482
* Wed Sep 12 2018 Boris Ranto <branto@redhat.com> - 1:12.2.7-5
f81482
- Reintroduce libradosstriper for /usr/bin/rados binary
f81482
f81482
* Fri Aug  3 2018 Florian Weimer <fweimer@redhat.com> - 1:12.2.7-4
f81482
- Honor %%{valgrind_arches}
f81482
f81482
* Mon Jul 30 2018 Florian Weimer <fweimer@redhat.com> - 1:12.2.7-3
f81482
- Rebuild with fixed binutils
f81482
f81482
* Wed Jul 25 2018 Petr Kubat <pkubat@redhat.com> - 1:12.2.7-2
f81482
- Rebuilt for gdbm
f81482
f81482
* Tue Jul 17 2018 Boris Ranto <branto@redhat.com> - 2:12.2.7-1
f81482
- Rebase to latest luminous
f81482
f81482
* Fri Jul 13 2018 Boris Ranto <branto@redhat.com> - 2:12.2.6-1
f81482
- Rebase to fix the recent ceph CVEs
f81482
f81482
* Fri Jun 22 2018 Boris Ranto <branto@redhat.com> - 2:12.2.5-5
f81482
- Remove virtualenv dependency
f81482
f81482
* Wed Jun 20 2018 Boris Ranto <branto@redhat.com> - 2:12.2.5-4
f81482
- Strip away xmlstarlet
f81482
f81482
* Wed Jun 06 2018 Boris Ranto <branto@redhat.com> - 2:12.2.5-3
f81482
- Strip away further dependencies
f81482
- Remove more packages
f81482
- Strip sourca tarball from boost sources
f81482
f81482
* Wed May 30 2018 Boris Ranto <branto@redhat.com> - 2:12.2.5-2
f81482
- Strip out btrfs-progs
f81482
f81482
* Tue May 22 2018 Boris Ranto <branto@redhat.com> - 2:12.2.5-1
f81482
- update to latest luminous release
f81482
f81482
* Tue May 01 2018 Boris Ranto <branto@redhat.com> - 2:12.2.2-3
f81482
- clean-up the spec file
f81482
- remove old dependencies
f81482
- enable ocf build
f81482
f81482
* Mon Apr 30 2018 Boris Ranto <branto@redhat.com> - 1:12.2.2-2
f81482
- Strip away unnecessary packages
f81482
f81482
* Tue Dec 5 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.2-1
f81482
- New release (1:12.2.2-1)
f81482
- Fix build error on arm
f81482
f81482
* Thu Oct 05 2017 Boris Ranto <branto@redhat.com> - 1:12.2.1-2
f81482
- Obsolete ceph-libs-compat package
f81482
f81482
* Wed Sep 27 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.1-1
f81482
- New release (1:12.2.1-1)
f81482
f81482
* Tue Aug 29 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.0-1
f81482
- New release (1:12.2.0-1)
f81482
f81482
* Thu Aug 24 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.4-5
f81482
- libibverbs(-devel) is superceded by rdma-core(-devel), again
f81482
f81482
* Thu Aug 24 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.4-4
f81482
- libibverbs(-devel) is superceded by rdma-core(-devel)
f81482
f81482
* Tue Aug 22 2017 Adam Williamson <awilliam@redhat.com> - 1:12.1.4-3
f81482
- Disable RDMA support on 32-bit ARM (#1484155)
f81482
f81482
* Thu Aug 17 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.4-2
f81482
- fix %%epoch in comment, ppc64le lowmem_builder
f81482
f81482
* Wed Aug 16 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.4-1
f81482
- New release (1:12.1.4-1)
f81482
f81482
* Sat Aug 12 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.3-1
f81482
- New release (1:12.1.3-1)
f81482
f81482
* Fri Aug 11 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.2-3
f81482
- rebuild with librpm.so.7
f81482
f81482
* Thu Aug 10 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.2-2
f81482
- Fix 32-bit alignment
f81482
f81482
* Thu Aug 3 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.2-1
f81482
- New release (1:12.1.2-1)
f81482
f81482
* Tue Aug 1 2017 Boris Ranto <branto@redhat.com> - 1:12.1.1-8
f81482
- Fix ppc64 build
f81482
f81482
* Tue Aug 1 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-7
f81482
- python34 and other nits
f81482
- still no fix for ppc64
f81482
f81482
* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 1:12.1.1-6
f81482
- Reenable ppc64le, with binutils fix for ppc64le (#1475636)
f81482
f81482
* Fri Jul 28 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-5
f81482
- ppc64le disabled until bz #1475636 resolution
f81482
f81482
* Fri Jul 28 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-4
f81482
- 12.1.1 w/ hacks for armv7hl: low mem, no java jni
f81482
- WTIH_BABELTRACE -> WITH_BABELTRACE for all archs
f81482
- still no fix for ppc64
f81482
f81482
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:12.1.1-3
f81482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f81482
f81482
* Sat Jul 22 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-2
f81482
- 12.1.1 w/ rocksdb patch (i686)
f81482
f81482
* Sat Jul 22 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-1
f81482
- New release (1:12.1.1-1)
f81482
f81482
* Fri Jul 21 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-0
f81482
- New release (1:12.1.1-0)
f81482
f81482
* Fri Jul 21 2017 Kalev Lember <klember@redhat.com> - 1:10.2.7-3
f81482
- Rebuilt for Boost 1.64
f81482
f81482
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.2.7-2
f81482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
f81482
f81482
* Mon Apr 17 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:10.2.7-1
f81482
- New release (1:10.2.7-1)
f81482
f81482
* Wed Feb 08 2017 Boris Ranto <branto@redhat.com> - 1:10.2.5-2
f81482
- New release (1:10.2.5-2)
f81482
f81482
* Fri Jan 13 2017 Boris Ranto <branto@redhat.com> - 1:10.2.5-1
f81482
- New release (1:10.2.5-1)
f81482
- hack: do not test for libxfs, assume it is present
f81482
f81482
* Wed Dec 14 2016 Boris Ranto <branto@redhat.com> - 1:10.2.4-2
f81482
- New version (1:10.2.4-2)
f81482
- This syncs up with the upstream 10.2.5
f81482
- Doing it this way because of broken lookaside cache
f81482
- Fix the -devel obsoletes
f81482
f81482
* Thu Dec 08 2016 Boris Ranto <branto@redhat.com> - 1:10.2.4-1
f81482
- New version (1:10.2.4-1)
f81482
- Disable erasure_codelib neon build
f81482
- Use newer -devel package format
f81482
- Sync up the spec file
f81482
f81482
* Wed Oct 26 2016 Ken Dreyer <ktdreyer@ktdreyer.com> 1:10.2.3-4
f81482
- librgw: add API version defines for librgw and rgw_file
f81482
f81482
* Wed Oct 26 2016 Ken Dreyer <ktdreyer@ktdreyer.com> 1:10.2.3-3
f81482
- update patches style for rdopkg
f81482
f81482
* Thu Sep 29 2016 Boris Ranto <branto@redhat.com> - 1:10.2.3-2
f81482
- New release (1:10.2.3-2)
f81482
- common: instantiate strict_si_cast<long> not
f81482
f81482
* Thu Sep 29 2016 Boris Ranto <branto@redhat.com> - 1:10.2.3-1
f81482
- New version (1:10.2.3-1)
f81482
- Disable erasure_codelib neon build
f81482
f81482
* Sun Aug 07 2016 Igor Gnatenko <ignatenko@redhat.com> - 1:10.2.2-4
f81482
- Rebuild for LevelDB 1.18
f81482
f81482
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.2.2-3
f81482
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
f81482
f81482
* Tue Jun 21 2016 Boris Ranto <branto@redhat.com> - 1:10.2.2-2
f81482
- New release (1:10.2.2-2)
f81482
- fix tcmalloc handling in spec file
f81482
f81482
* Mon Jun 20 2016 Boris Ranto <branto@redhat.com> - 1:10.2.2-1
f81482
- New version (1:10.2.2-1)
f81482
- Disable erasure_codelib neon build
f81482
- Do not use -momit-leaf-frame-pointer flag
f81482
f81482
* Mon May 16 2016 Boris Ranto <branto@redhat.com> - 1:10.2.1-1
f81482
- New version (1:10.2.1-1)
f81482
- Disable erasure_codelib neon build
f81482
- Do not use -momit-leaf-frame-pointer flag
f81482
f81482
* Fri May 06 2016 Dan Horák <dan[at]danny.cz> - 10.2.0-3
f81482
- fix build on s390(x) - gperftools/tcmalloc not available there
f81482
f81482
* Fri Apr 22 2016 Boris Ranto <branto@redhat.com> - 10.2.0-2
f81482
- Do not use -momit-leaf-frame-pointer flag
f81482
f81482
* Fri Apr 22 2016 Boris Ranto <branto@redhat.com> - -
f81482
- Rebase to version 10.2.0
f81482
- Disable erasure_codelib neon build
f81482
f81482
* Mon Apr 11 2016 Richard W.M. Jones <rjones@redhat.com> - 1:9.2.0-5
f81482
- Fix large startup times of processes linking to -lrbd.
f81482
  Backport upstream commit 1c2831a2, fixes RHBZ#1319483.
f81482
- Add workaround for XFS header brokenness.
f81482
f81482
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:9.2.0-4
f81482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f81482
f81482
* Thu Jan 14 2016 Jonathan Wakely <jwakely@redhat.com> - 1:9.2.0-3
f81482
- Rebuilt for Boost 1.60
f81482
f81482
* Mon Dec 14 2015 Dan Horák <dan[at]danny.cz> - 1:9.2.0-2
f81482
- fix build on s390(x) - gperftools/tcmalloc not available there
f81482
f81482
* Tue Nov 10 2015 Boris Ranto <branto@redhat.com> - 1:9.2.0-1
f81482
- Rebase to latest stable upstream version (9.2.0 - infernalis)
f81482
- Use upstream spec file
f81482
f81482
* Tue Oct 27 2015 Boris Ranto <branto@redhat.com> - 1:0.94.5-1
f81482
- Rebase to latest upstream version
f81482
f81482
* Tue Oct 20 2015 Boris Ranto <branto@redhat.com> - 1:0.94.4-1
f81482
- Rebase to latest upstream version
f81482
- The rtdsc patch got merged upstream and is already present in the release
f81482
f81482
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 1:0.94.3-2
f81482
- Rebuilt for Boost 1.59
f81482
f81482
* Thu Aug 27 2015 Boris Ranto <branto@redhat.com> - 1:0.94.3-1
f81482
- Rebase to latest upstream version
f81482
- The boost patch got merged upstream and is already present in the release
f81482
f81482
* Fri Jul 31 2015 Richard W.M. Jones <rjones@redhat.com> - 1:0.94.2-4
f81482
- Fix build against boost 1.58 (http://tracker.ceph.com/issues/11576).
f81482
f81482
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.94.2-3
f81482
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
f81482
f81482
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 1:0.94.2-2
f81482
- rebuild for Boost 1.58
f81482
f81482
* Thu Jul 16 2015 Boris Ranto <branto@redhat.com> - 1:0.94.2-1
f81482
- Rebase to latest upstream version
f81482
f81482
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.94.1-5
f81482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f81482
f81482
* Mon Jun 08 2015 Dan Horák <dan[at]danny.cz> - 1:0.94.1-4
f81482
- fix build on s390(x) - no gperftools there
f81482
f81482
* Thu May 21 2015 Boris Ranto <branto@redhat.com> - 1:0.94.1-3
f81482
- Disable lttng support (rhbz#1223319)
f81482
f81482
* Mon May 18 2015 Boris Ranto <branto@redhat.com> - 1:0.94.1-2
f81482
- Fix arm linking issue (rhbz#1222286)
f81482
f81482
* Tue Apr 14 2015 Boris Ranto <branto@redhat.com> - 1:0.94.1-1
f81482
- Rebase to latest upstream version and sync-up the spec file
f81482
- Add arm compilation patches
f81482
f81482
* Wed Apr 01 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 1:0.87.1-3
f81482
- add version numbers to Obsoletes (RHBZ #1193182)
f81482
f81482
* Wed Mar 4 2015 Boris Ranto <branto@redhat.com> - 1:0.87.1-2
f81482
- Perform a hardened build
f81482
- Use git-formatted patches
f81482
- Add patch for pthreads rwlock unlock problem
f81482
- Do not remove conf files on uninstall
f81482
- Remove the cleanup function, it is only necessary for f20 and f21
f81482
f81482
* Wed Feb 25 2015 Boris Ranto <branto@redhat.com> - 1:0.87.1-1
f81482
- Rebase to latest upstream
f81482
- Remove boost patch, it is in upstream tarball
f81482
- Build with yasm, tarball contains fix for the SELinux issue
f81482
f81482
* Thu Jan 29 2015 Petr Machata <pmachata@redhat.com> - 1:0.87-2
f81482
- Rebuild for boost 1.57.0
f81482
- Include <boost/optional/optional_io.hpp> instead of
f81482
  <boost/optional.hpp>.  Keep the old dumping behavior in
f81482
  osd/ECBackend.cc (ceph-0.87-boost157.patch)
f81482
f81482
* Mon Nov 3 2014 Boris Ranto <branto@redhat.com> - 1:0.87-1
f81482
- Rebase to latest major version (firefly -> giant)
f81482
f81482
* Thu Oct 16 2014 Boris Ranto 
f81482
- Rebase to latest upstream version
f81482
f81482
* Sat Oct 11 2014 Boris Ranto <branto@redhat.com> - 1:0.80.6-3
f81482
- Fix a typo in librados-devel vs librados2-devel dependency
f81482
f81482
* Fri Oct 10 2014 Boris Ranto <branto@redhat.com> - 1:0.80.6-2
f81482
- Provide empty file list for python-ceph-compat and ceph-devel-compat
f81482
f81482
* Fri Oct 10 2014 Boris Ranto <branto@redhat.com> - 1:0.80.6-1
f81482
- Rebase to 0.80.6
f81482
- Split ceph-devel and python-ceph packages
f81482
f81482
* Tue Sep 9 2014 Dan Horák <dan[at]danny.cz> - 1:0.80.5-10
f81482
- update Requires for s390(x)
f81482
f81482
* Wed Sep 3 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-9
f81482
- Symlink librd.so.1 to /usr/lib64/qemu only on rhel6+ x86_64 (1136811)
f81482
f81482
* Thu Aug 21 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-8
f81482
- Revert the previous change
f81482
- Fix bz 1118504, second attempt (yasm appears to be the package that caused this
f81482
- Fix bogus dates
f81482
f81482
* Wed Aug 20 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-7
f81482
- Several more merges from file to try to fix the selinux issue (1118504)
f81482
f81482
* Sun Aug 17 2014 Kalev Lember <kalevlember@gmail.com> - 1:0.80.5-6
f81482
- Obsolete ceph-libcephfs
f81482
f81482
* Sat Aug 16 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-5
f81482
- Do not require xfsprogs/xfsprogs-devel for el6
f81482
- Require gperftools-devel for non-ppc*/s390* architectures only
f81482
- Do not require junit -- no need to build libcephfs-test.jar
f81482
- Build without libxfs for el6
f81482
- Build without tcmalloc for ppc*/s390* architectures
f81482
- Location of mkcephfs must depend on a rhel release
f81482
- Use epoch in the Requires fields [1130700]
f81482
f81482
* Sat Aug 16 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-4
f81482
- Use the proper version name in Obsoletes
f81482
f81482
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.80.5-3
f81482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
f81482
f81482
* Fri Aug 15 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-2
f81482
- Add the arm pthread hack
f81482
f81482
* Fri Aug 15 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-1
f81482
- Bump the Epoch, we need to keep the latest stable, not development, ceph version in fedora
f81482
- Use the upstream spec file with the ceph-libs split
f81482
- Add libs-compat subpackage [1116546]
f81482
- use fedora in rhel 7 checks
f81482
- obsolete libcephfs [1116614]
f81482
- depend on redhat-lsb-core for the initscript [1108696]
f81482
f81482
* Wed Aug 13 2014 Kalev Lember <kalevlember@gmail.com> - 0.81.0-6
f81482
- Add obsoletes to keep the upgrade path working (#1118510)
f81482
f81482
* Mon Jul 7 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-5
f81482
- revert to old spec until after f21 branch
f81482
f81482
* Fri Jul 4 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
f81482
- temporary exclude f21/armv7hl. N.B. it builds fine on f20/armv7hl.
f81482
f81482
* Fri Jul 4 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-4
f81482
- upstream ceph.spec file
f81482
f81482
* Tue Jul 1 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-3
f81482
- upstream ceph.spec file
f81482
f81482
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.81.0-2
f81482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f81482
f81482
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
f81482
- el6 ppc64 likewise for tcmalloc, merge from origin/el6
f81482
f81482
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
f81482
- el6 ppc64 does not have gperftools, merge from origin/el6
f81482
f81482
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-1
f81482
- ceph-0.81.0
f81482
f81482
* Wed Jun  4 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.80.1-5
f81482
- gperftools now available on aarch64/ppc64
f81482
f81482
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.80.1-4
f81482
- Rebuild for boost 1.55.0
f81482
f81482
* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 0.80.1-3
f81482
- rebuild for boost 1.55.0
f81482
f81482
* Wed May 14 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.80.1-2
f81482
- build epel-6
f81482
- exclude %%{_libdir}/ceph/erasure-code in base package
f81482
f81482
* Tue May 13 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.80.1-1
f81482
- Update to latest stable upstream release, BZ 1095201
f81482
- PIE, _hardened_build, BZ 955174
f81482
f81482
* Thu Feb 06 2014 Ken Dreyer <ken.dreyer@inktank.com> - 0.72.2-2
f81482
- Move plugins from -devel into -libs package (#891993). Thanks Michael
f81482
  Schwendt.
f81482
f81482
* Mon Jan 06 2014 Ken Dreyer <ken.dreyer@inktank.com> 0.72.2-1
f81482
- Update to latest stable upstream release
f81482
- Use HTTPS for URLs
f81482
- Submit Automake 1.12 patch upstream
f81482
- Move unversioned shared libs from ceph-libs into ceph-devel
f81482
f81482
* Wed Dec 18 2013 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> 0.67.3-4
f81482
- build without tcmalloc on aarch64 (no gperftools)
f81482
f81482
* Sat Nov 30 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.67.3-3
f81482
- gperftools not currently available on aarch64
f81482
f81482
* Mon Oct 07 2013 Dan Horák <dan[at]danny.cz> - 0.67.3-2
f81482
- fix build on non-x86_64 64-bit arches
f81482
f81482
* Wed Sep 11 2013 Josef Bacik <josef@toxicpanda.com> - 0.67.3-1
f81482
- update to 0.67.3
f81482
f81482
* Wed Sep 11 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 0.61.7-3
f81482
- let base package include all its documentation files via %%doc magic,
f81482
  so for Fedora 20 Unversioned Docdirs no files are included accidentally
f81482
- include the sample config files again (instead of just an empty docdir
f81482
  that has been added for #846735)
f81482
- don't include librbd.so.1 also in -devel package (#1003202)
f81482
- move one misplaced rados plugin from -devel into -libs package (#891993)
f81482
- include missing directories in -devel and -libs packages
f81482
- move librados-config into the -devel pkg where its manual page is, too
f81482
- add %%_isa to subpackage dependencies
f81482
- don't use %%defattr anymore
f81482
- add V=1 to make invocation for verbose build output
f81482
f81482
* Wed Jul 31 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.61.7-2
f81482
- re-enable tmalloc on arm now gperftools is fixed
f81482
f81482
* Mon Jul 29 2013 Josef Bacik <josef@toxicpanda.com> - 0.61.7-1
f81482
- Update to 0.61.7
f81482
f81482
* Sat Jul 27 2013 pmachata@redhat.com - 0.56.4-2
f81482
- Rebuild for boost 1.54.0
f81482
f81482
* Fri Mar 29 2013 Josef Bacik <josef@toxicpanda.com> - 0.56.4-1
f81482
- Update to 0.56.4
f81482
- Add upstream d02340d90c9d30d44c962bea7171db3fe3bfba8e to fix logrotate
f81482
f81482
* Wed Feb 20 2013 Josef Bacik <josef@toxicpanda.com> - 0.56.3-1
f81482
- Update to 0.56.3
f81482
f81482
* Mon Feb 11 2013 Richard W.M. Jones <rjones@redhat.com> - 0.53-2
f81482
- Rebuilt to try to fix boost dependency problem in Rawhide.
f81482
f81482
* Thu Nov  1 2012 Josef Bacik <josef@toxicpanda.com> - 0.53-1
f81482
- Update to 0.53
f81482
f81482
* Mon Sep 24 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.51-3
f81482
- Fix automake 1.12 error
f81482
- Rebuild after buildroot was messed up
f81482
f81482
* Tue Sep 18 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.51-2
f81482
- Use system leveldb
f81482
f81482
* Fri Sep 07 2012 David Nalley <david@gnsa.us> - 0.51-1
f81482
- Updating to 0.51
f81482
- Updated url and source url.
f81482
f81482
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.46-2
f81482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f81482
f81482
* Wed May  9 2012 Josef Bacik <josef@toxicpanda.com> - 0.46-1
f81482
- updated to upstream 0.46
f81482
- broke out libcephfs (rhbz# 812975)
f81482
f81482
* Mon Apr 23 2012 Dan Horák <dan[at]danny.cz> - 0.45-2
f81482
- fix detection of C++11 atomic header
f81482
f81482
* Thu Apr 12 2012 Josef Bacik <josef@toxicpanda.com> - 0.45-1
f81482
- updating to upstream 0.45
f81482
f81482
* Wed Apr  4 2012 Niels de Vos <devos@fedoraproject.org> - 0.44-5
f81482
- Add LDFLAGS=-lpthread on any ARM architecture
f81482
- Add CFLAGS=-DAO_USE_PTHREAD_DEFS on ARMv5tel
f81482
f81482
* Mon Mar 26 2012 Dan Horák <dan[at]danny.cz> 0.44-4
f81482
- gperftools not available also on ppc
f81482
f81482
* Mon Mar 26 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.44-3
f81482
- Remove unneeded patch
f81482
f81482
* Sun Mar 25 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.44-2
f81482
- Update to 0.44
f81482
- Fix build problems
f81482
f81482
* Mon Mar  5 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.43-1
f81482
- Update to 0.43
f81482
- Remove upstreamed compile fixes patch
f81482
- Remove obsoleted dump_pop patch
f81482
f81482
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.41-2
f81482
- Rebuilt for c++ ABI breakage
f81482
f81482
* Thu Feb 16 2012 Tom Callaway <spot@fedoraproject.org> 0.41-1
f81482
- update to 0.41
f81482
- fix issues preventing build
f81482
- rebuild against gperftools
f81482
f81482
* Sat Dec 03 2011 David Nalley <david@gnsa.us> 0.38-1
f81482
- updating to upstream 0.39
f81482
f81482
* Sat Nov 05 2011 David Nalley <david@gnsa.us> 0.37-1
f81482
- create /etc/ceph - bug 745462
f81482
- upgrading to 0.37, fixing 745460, 691033
f81482
- fixing various logrotate bugs 748930, 747101
f81482
f81482
* Fri Aug 19 2011 Dan Horák <dan[at]danny.cz> 0.31-4
f81482
- google-perftools not available also on s390(x)
f81482
f81482
* Mon Jul 25 2011 Karsten Hopp <karsten@redhat.com> 0.31-3
f81482
- build without tcmalloc on ppc64, BR google-perftools is not available there
f81482
f81482
* Tue Jul 12 2011 Josef Bacik <josef@toxicpanda.com> 0.31-2
f81482
- Remove curl/types.h include since we don't use it anymore
f81482
f81482
* Tue Jul 12 2011 Josef Bacik <josef@toxicpanda.com> 0.31-1
f81482
- Update to 0.31
f81482
f81482
* Tue Apr  5 2011 Josef Bacik <josef@toxicpanda.com> 0.26-2
f81482
- Add the compile fix patch
f81482
f81482
* Tue Apr  5 2011 Josef Bacik <josef@toxicpanda.com> 0.26
f81482
- Update to 0.26
f81482
f81482
* Tue Mar 22 2011 Josef Bacik <josef@toxicpanda.com> 0.25.1-1
f81482
- Update to 0.25.1
f81482
f81482
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21.3-2
f81482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f81482
f81482
* Wed Sep 29 2010 Steven Pritchard <steve@kspei.com> 0.21.3-1
f81482
- Update to 0.21.3.
f81482
f81482
* Mon Aug 30 2010 Steven Pritchard <steve@kspei.com> 0.21.2-1
f81482
- Update to 0.21.2.
f81482
f81482
* Thu Aug 26 2010 Steven Pritchard <steve@kspei.com> 0.21.1-1
f81482
- Update to 0.21.1.
f81482
- Sample configs moved to /usr/share/doc/ceph/.
f81482
- Added cclass, rbd, and cclsinfo.
f81482
- Dropped mkmonfs and rbdtool.
f81482
- mkcephfs moved to /sbin.
f81482
- Add libcls_rbd.so.
f81482
f81482
* Tue Jul  6 2010 Josef Bacik <josef@toxicpanda.com> 0.20.2-1
f81482
- update to 0.20.2
f81482
f81482
* Wed May  5 2010 Josef Bacik <josef@toxicpanda.com> 0.20-1
f81482
- update to 0.20
f81482
- disable hadoop building
f81482
- remove all the test binaries properly
f81482
f81482
* Fri Apr 30 2010 Sage Weil <sage@newdream.net> 0.19.1-5
f81482
- Remove java deps (no need to build hadoop by default)
f81482
- Include all required librados helpers
f81482
- Include fetch_config sample
f81482
- Include rbdtool
f81482
- Remove misc debugging, test binaries
f81482
f81482
* Fri Apr 30 2010 Josef Bacik <josef@toxicpanda.com> 0.19.1-4
f81482
- Add java-devel and java tricks to get hadoop to build
f81482
f81482
* Mon Apr 26 2010 Josef Bacik <josef@toxicpanda.com> 0.19.1-3
f81482
- Move the rados and cauthtool man pages into the base package
f81482
f81482
* Sun Apr 25 2010 Jonathan Dieter <jdieter@lesbg.com> 0.19.1-2
f81482
- Add missing libhadoopcephfs.so* to file list
f81482
- Add COPYING to all subpackages
f81482
- Fix ownership of /usr/lib[64]/ceph
f81482
- Enhance description of fuse client
f81482
f81482
* Tue Apr 20 2010 Josef Bacik <josef@toxicpanda.com> 0.19.1-1
f81482
- Update to 0.19.1
f81482
f81482
* Mon Feb  8 2010 Josef Bacik <josef@toxicpanda.com> 0.18-1
f81482
- Initial spec file creation, based on the template provided in the ceph src