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