08b7207
%bcond_with ocf
4be65c2
08b7207
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
08b7207
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
08b7207
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
4be65c2
%endif
08b7207
2a0aaf9
%global _hardened_build 1
2a0aaf9
08b7207
#################################################################################
08b7207
# common
08b7207
#################################################################################
08b7207
Name:		ceph
84aa853
Version:	0.87.1
2a0aaf9
Release:	2%{?dist}
08b7207
Epoch:		1
08b7207
Summary:	User space components of the Ceph file system
7da3554
License:	GPLv2
08b7207
Group:		System Environment/Base
08b7207
URL:		http://ceph.com/
08b7207
Source0:	http://ceph.com/download/%{name}-%{version}.tar.bz2
2a0aaf9
Patch1:		0001-Switch-google-includes-to-gperftools-includes.patch
2a0aaf9
Patch2:		0002-common-do-not-unlock-rwlock-on-destruction.patch
e44806f
Requires:	librbd1 = %{epoch}:%{version}-%{release}
e44806f
Requires:	librados2 = %{epoch}:%{version}-%{release}
e44806f
Requires:	libcephfs1 = %{epoch}:%{version}-%{release}
e44806f
Requires:	ceph-common = %{epoch}:%{version}-%{release}
7da3554
Requires:	python-rados = %{epoch}:%{version}-%{release}
7da3554
Requires:	python-rbd = %{epoch}:%{version}-%{release}
7da3554
Requires:	python-cephfs = %{epoch}:%{version}-%{release}
08b7207
Requires:	python
08b7207
Requires:	python-argparse
08b7207
Requires:	python-requests
7da3554
# For ceph-rest-api
7da3554
Requires:	python-flask
e44806f
%if ! ( 0%{?rhel} && 0%{?rhel} <= 6 )
08b7207
Requires:	xfsprogs
e44806f
%endif
08b7207
Requires:	cryptsetup
08b7207
Requires:	parted
08b7207
Requires:	util-linux
34495d4
%ifnarch s390 s390x
08b7207
Requires:	hdparm
34495d4
%endif
b318545
# For initscript
b318545
Requires:	redhat-lsb-core
08b7207
Requires(post):	binutils
08b7207
BuildRequires:	make
08b7207
BuildRequires:	gcc-c++
08b7207
BuildRequires:	libtool
08b7207
BuildRequires:	boost-devel
08b7207
BuildRequires:	bzip2-devel
08b7207
BuildRequires:	libedit-devel
08b7207
BuildRequires:	perl
08b7207
BuildRequires:	gdbm
08b7207
BuildRequires:	pkgconfig
08b7207
BuildRequires:	python
08b7207
BuildRequires:	python-nose
08b7207
BuildRequires:	python-argparse
08b7207
BuildRequires:	libaio-devel
08b7207
BuildRequires:	libcurl-devel
08b7207
BuildRequires:	libxml2-devel
08b7207
BuildRequires:	libuuid-devel
08b7207
BuildRequires:	libblkid-devel >= 2.17
08b7207
BuildRequires:	libudev-devel
08b7207
BuildRequires:	leveldb-devel > 1.2
e44806f
%if ! ( 0%{?rhel} && 0%{?rhel} <= 6 )
08b7207
BuildRequires:	xfsprogs-devel
e44806f
%endif
84aa853
BuildRequires:	yasm
08b7207
%if 0%{?rhel} || 0%{?centos} || 0%{?fedora}
08b7207
BuildRequires:	snappy-devel
4be65c2
%endif
08b7207
08b7207
#################################################################################
08b7207
# specific
08b7207
#################################################################################
08b7207
%if ! 0%{?rhel}
08b7207
BuildRequires:	sharutils
4be65c2
%endif
08b7207
08b7207
%if 0%{defined suse_version}
08b7207
%if 0%{?suse_version} > 1210
08b7207
Requires:	gptfdisk
08b7207
BuildRequires:	gperftools-devel
08b7207
%else
08b7207
Requires:	scsirastools
08b7207
BuildRequires:	google-perftools-devel
08b7207
%endif
08b7207
Recommends:	logrotate
08b7207
BuildRequires:	%insserv_prereq
08b7207
BuildRequires:	mozilla-nss-devel
08b7207
BuildRequires:	keyutils-devel
08b7207
BuildRequires:	libatomic-ops-devel
08b7207
BuildRequires:	fdupes
08b7207
%else
08b7207
Requires:	gdisk
08b7207
BuildRequires:	nss-devel
08b7207
BuildRequires:	keyutils-libs-devel
08b7207
BuildRequires:	libatomic_ops-devel
08b7207
Requires:	gdisk
08b7207
Requires(post):	chkconfig
08b7207
Requires(preun):chkconfig
08b7207
Requires(preun):initscripts
e44806f
%ifnarch ppc ppc64 s390 s390x
08b7207
BuildRequires:	gperftools-devel
10fcd5e
%endif
e44806f
%endif
5dd73cb
08b7207
%description
08b7207
Ceph is a massively scalable, open-source, distributed
08b7207
storage system that runs on commodity hardware and delivers object,
08b7207
block and file system storage.
9a1331d
d184580
08b7207
#################################################################################
08b7207
# packages
08b7207
#################################################################################
08b7207
%package -n ceph-common
08b7207
Summary:	Ceph Common
08b7207
Group:		System Environment/Base
e44806f
Requires:	librbd1 = %{epoch}:%{version}-%{release}
e44806f
Requires:	librados2 = %{epoch}:%{version}-%{release}
7da3554
Requires:	python-rados = %{epoch}:%{version}-%{release}
7da3554
Requires:	python-rbd = %{epoch}:%{version}-%{release}
7da3554
Requires:	python-cephfs = %{epoch}:%{version}-%{release}
08b7207
Requires:	python-requests
08b7207
Requires:	redhat-lsb-core
08b7207
%description -n ceph-common
08b7207
common utilities to mount and interact with a ceph storage cluster
08b7207
08b7207
%package fuse
08b7207
Summary:	Ceph fuse-based client
08b7207
Group:		System Environment/Base
e44806f
Requires:	%{name} = %{epoch}:%{version}-%{release}
08b7207
BuildRequires:	fuse-devel
08b7207
%description fuse
5dd73cb
FUSE based client for Ceph distributed network file system
5dd73cb
08b7207
%package -n rbd-fuse
08b7207
Summary:	Ceph fuse-based client
08b7207
Group:		System Environment/Base
e44806f
Requires:	%{name} = %{epoch}:%{version}-%{release}
e44806f
Requires:	librados2 = %{epoch}:%{version}-%{release}
e44806f
Requires:	librbd1 = %{epoch}:%{version}-%{release}
08b7207
BuildRequires:	fuse-devel
08b7207
%description -n rbd-fuse
08b7207
FUSE based client to map Ceph rbd images to files
08b7207
Josef Bacik ca6b4d7
%package radosgw
08b7207
Summary:	Rados REST gateway
08b7207
Group:		Development/Libraries
e44806f
Requires:	ceph-common = %{epoch}:%{version}-%{release}
e44806f
Requires:	librados2 = %{epoch}:%{version}-%{release}
08b7207
%if 0%{defined suse_version}
08b7207
BuildRequires:	libexpat-devel
08b7207
BuildRequires:	FastCGI-devel
08b7207
Requires:	apache2-mod_fcgid
08b7207
%else
08b7207
BuildRequires:	expat-devel
08b7207
BuildRequires:	fcgi-devel
08b7207
%endif
Josef Bacik ca6b4d7
%description radosgw
Josef Bacik ca6b4d7
radosgw is an S3 HTTP REST gateway for the RADOS object store. It is
Josef Bacik ca6b4d7
implemented as a FastCGI module using libfcgi, and can be used in
Josef Bacik ca6b4d7
conjunction with any FastCGI capable web server.
Josef Bacik ca6b4d7
08b7207
%if %{with ocf}
08b7207
%package resource-agents
08b7207
Summary:	OCF-compliant resource agents for Ceph daemons
08b7207
Group:		System Environment/Base
08b7207
License:	LGPL-2.0
e44806f
Requires:	%{name} = %{epoch}:%{version}-%{release}
08b7207
Requires:	resource-agents
08b7207
%description resource-agents
08b7207
Resource agents for monitoring and managing Ceph daemons
08b7207
under Open Cluster Framework (OCF) compliant resource
08b7207
managers such as Pacemaker.
08b7207
%endif
9a1331d
08b7207
%package -n librados2
08b7207
Summary:	RADOS distributed object store client library
08b7207
Group:		System Environment/Libraries
08b7207
License:	LGPL-2.0
08b7207
%if 0%{?rhel} || 0%{?centos} || 0%{?fedora}
3b0b0e0
Obsoletes:	ceph-libs < %{epoch}:%{version}-%{release}
9a1331d
%endif
08b7207
%description -n librados2
08b7207
RADOS is a reliable, autonomic distributed object storage cluster
08b7207
developed as part of the Ceph distributed storage system. This is a
08b7207
shared library allowing applications to access the distributed object
08b7207
store using a simple file-like interface.
08b7207
7da3554
%package -n librados2-devel
7da3554
Summary:	RADOS headers
7da3554
Group:		Development/Libraries
7da3554
License:	LGPL-2.0
7da3554
Requires:	librados2 = %{epoch}:%{version}-%{release}
7da3554
Obsoletes:	ceph-devel
7da3554
%description -n librados2-devel
7da3554
This package contains libraries and headers needed to develop programs
7da3554
that use RADOS object store.
7da3554
7da3554
%package -n python-rados
7da3554
Summary:	Python libraries for the RADOS object store
7da3554
Group:		System Environment/Libraries
7da3554
License:	LGPL-2.0
7da3554
Requires:	librados2 = %{epoch}:%{version}-%{release}
7da3554
Obsoletes:	python-ceph
d8048b5
%if 0%{defined suse_version}
d8048b5
%py_requires
d8048b5
%endif
7da3554
%description -n python-rados
7da3554
This package contains Python libraries for interacting with Cephs RADOS
7da3554
object store.
7da3554
3b0b0e0
%package -n libradosstriper1
d8048b5
Summary:	RADOS striping interface
d8048b5
Group:		System Environment/Libraries
d8048b5
License:	LGPL-2.0
d8048b5
Requires:	librados2 = %{epoch}:%{version}-%{release}
3b0b0e0
%description -n libradosstriper1
3b0b0e0
Striping interface built on top of the rados library, allowing
3b0b0e0
to stripe bigger objects onto several standard rados objects using
3b0b0e0
an interface very similar to the rados one.
3b0b0e0
3b0b0e0
%package -n libradosstriper1-devel
d8048b5
Summary:	RADOS striping interface headers
d8048b5
Group:		Development/Libraries
d8048b5
License:	LGPL-2.0
d8048b5
Requires:	libradosstriper1 = %{epoch}:%{version}-%{release}
d8048b5
Requires:	librados2-devel = %{epoch}:%{version}-%{release}
3b0b0e0
%description -n libradosstriper1-devel
3b0b0e0
This package contains libraries and headers needed to develop programs
3b0b0e0
that use RADOS striping interface.
3b0b0e0
08b7207
%package -n librbd1
08b7207
Summary:	RADOS block device client library
08b7207
Group:		System Environment/Libraries
08b7207
License:	LGPL-2.0
e44806f
Requires:	librados2 = %{epoch}:%{version}-%{release}
08b7207
%if 0%{?rhel} || 0%{?centos} || 0%{?fedora}
3b0b0e0
Obsoletes:	ceph-libs < %{epoch}:%{version}-%{release}
9a1331d
%endif
08b7207
%description -n librbd1
08b7207
RBD is a block device striped across multiple distributed objects in
08b7207
RADOS, a reliable, autonomic distributed object storage cluster
08b7207
developed as part of the Ceph distributed storage system. This is a
08b7207
shared library allowing applications to manage these block devices.
9a1331d
7da3554
%package -n librbd1-devel
7da3554
Summary:	RADOS block device headers
7da3554
Group:		Development/Libraries
7da3554
License:	LGPL-2.0
7da3554
Requires:	librbd1 = %{epoch}:%{version}-%{release}
a4d87e6
Requires:	librados2-devel = %{epoch}:%{version}-%{release}
7da3554
Obsoletes:	ceph-devel
7da3554
%description -n librbd1-devel
7da3554
This package contains libraries and headers needed to develop programs
7da3554
that use RADOS block device.
7da3554
7da3554
%package -n python-rbd
7da3554
Summary:	Python libraries for the RADOS block device
7da3554
Group:		System Environment/Libraries
7da3554
License:	LGPL-2.0
7da3554
Requires:	librbd1 = %{epoch}:%{version}-%{release}
7da3554
Requires:	python-rados = %{epoch}:%{version}-%{release}
7da3554
Obsoletes:	python-ceph
7da3554
%description -n python-rbd
7da3554
This package contains Python libraries for interacting with Cephs RADOS
7da3554
block device.
7da3554
08b7207
%package -n libcephfs1
08b7207
Summary:	Ceph distributed file system client library
08b7207
Group:		System Environment/Libraries
08b7207
License:	LGPL-2.0
08b7207
%if 0%{?rhel} || 0%{?centos} || 0%{?fedora}
3b0b0e0
Obsoletes:	ceph-libs < %{epoch}:%{version}-%{release}
3b0b0e0
Obsoletes:	ceph-libcephfs < %{epoch}:%{version}-%{release}
4be65c2
%endif
08b7207
%description -n libcephfs1
08b7207
Ceph is a distributed network file system designed to provide excellent
08b7207
performance, reliability, and scalability. This is a shared library
08b7207
allowing applications to access a Ceph distributed file system via a
08b7207
POSIX-like interface.
08b7207
7da3554
%package -n libcephfs1-devel
7da3554
Summary:	Ceph distributed file system headers
7da3554
Group:		Development/Libraries
7da3554
License:	LGPL-2.0
7da3554
Requires:	libcephfs1 = %{epoch}:%{version}-%{release}
a4d87e6
Requires:	librados2-devel = %{epoch}:%{version}-%{release}
7da3554
Obsoletes:	ceph-devel
7da3554
%description -n libcephfs1-devel
7da3554
This package contains libraries and headers needed to develop programs
7da3554
that use Cephs distributed file system.
7da3554
7da3554
%package -n python-cephfs
7da3554
Summary:	Python libraries for Ceph distributed file system
08b7207
Group:		System Environment/Libraries
08b7207
License:	LGPL-2.0
7da3554
Requires:	libcephfs1 = %{epoch}:%{version}-%{release}
7da3554
Requires:	python-rados = %{epoch}:%{version}-%{release}
7da3554
Obsoletes:	python-ceph
7da3554
%description -n python-cephfs
7da3554
This package contains Python libraries for interacting with Cephs distributed
7da3554
file system.
08b7207
b318545
%package -n rest-bench
b318545
Summary:	RESTful benchmark
b318545
Group:		System Environment/Libraries
b318545
License:	LGPL-2.0
b318545
Requires:	ceph-common = %{epoch}:%{version}-%{release}
b318545
%description -n rest-bench
b318545
RESTful bencher that can be used to benchmark radosgw performance.
b318545
b318545
%package -n ceph-test
b318545
Summary:	Ceph benchmarks and test tools
b318545
Group:		System Environment/Libraries
b318545
License:	LGPL-2.0
b318545
Requires:	librados2 = %{epoch}:%{version}-%{release}
b318545
Requires:	librbd1 = %{epoch}:%{version}-%{release}
b318545
Requires:	libcephfs1 = %{epoch}:%{version}-%{release}
b318545
%description -n ceph-test
b318545
This package contains Ceph benchmarks and test tools.
b318545
b318545
%package -n libcephfs_jni1
b318545
Summary:	Java Native Interface library for CephFS Java bindings.
b318545
Group:		System Environment/Libraries
b318545
License:	LGPL-2.0
b318545
Requires:	java
b318545
Requires:	libcephfs1 = %{epoch}:%{version}-%{release}
b318545
BuildRequires:	java-devel
b318545
%description -n libcephfs_jni1
b318545
This package contains the Java Native Interface library for CephFS Java
b318545
bindings.
b318545
7da3554
%package -n libcephfs_jni1-devel
7da3554
Summary:	Development files for CephFS Java Native Interface library.
7da3554
Group:		System Environment/Libraries
7da3554
License:	LGPL-2.0
7da3554
Requires:	java
7da3554
Requires:	libcephfs_jni1 = %{epoch}:%{version}-%{release}
7da3554
%description -n libcephfs_jni1-devel
7da3554
This package contains the development files for CephFS Java Native Interface
7da3554
library.
7da3554
b318545
%package -n cephfs-java
b318545
Summary:	Java libraries for the Ceph File System.
b318545
Group:		System Environment/Libraries
b318545
License:	LGPL-2.0
b318545
Requires:	java
b318545
Requires:	libcephfs_jni1 = %{epoch}:%{version}-%{release}
b318545
BuildRequires:	java-devel
b318545
%description -n cephfs-java
b318545
This package contains the Java libraries for the Ceph File System.
b318545
08b7207
%package libs-compat
08b7207
Summary:	Meta package to include ceph libraries.
08b7207
Group:		System Environment/Libraries
08b7207
License:	LGPL-2.0
7da3554
Obsoletes:	ceph-libs
e44806f
Requires:	librados2 = %{epoch}:%{version}-%{release}
3b0b0e0
Requires:	libradosstriper1 = %{epoch}:%{version}-%{release}
e44806f
Requires:	librbd1 = %{epoch}:%{version}-%{release}
e44806f
Requires:	libcephfs1 = %{epoch}:%{version}-%{release}
08b7207
Provides:	ceph-libs
08b7207
%description libs-compat
08b7207
This is a meta package, that pulls in librados2, librbd1 and libcephfs1. It
08b7207
is included for backwards compatibility with distributions that depend on the
08b7207
former ceph-libs package, which is now split up into these three subpackages.
08b7207
Packages still depending on ceph-libs should be fixed to depend on librados2,
3b0b0e0
librbd1, libcephfs1 or libradosstriper1 instead.
08b7207
7da3554
%package devel-compat
7da3554
Summary:	Compatibility package for Ceph headers
7da3554
Group:		Development/Libraries
7da3554
License:	LGPL-2.0
7da3554
Obsoletes:	ceph-devel
7da3554
Requires:	%{name} = %{epoch}:%{version}-%{release}
7da3554
Requires:	librados2-devel = %{epoch}:%{version}-%{release}
3b0b0e0
Requires:	libradosstriper1-devel = %{epoch}:%{version}-%{release}
7da3554
Requires:	librbd1-devel = %{epoch}:%{version}-%{release}
7da3554
Requires:	libcephfs1-devel = %{epoch}:%{version}-%{release}
7da3554
Requires:	libcephfs_jni1-devel = %{epoch}:%{version}-%{release}
7da3554
Provides:	ceph-devel
7da3554
%description devel-compat
7da3554
This is a compatibility package to accommodate ceph-devel split into
7da3554
librados2-devel, librbd1-devel and libcephfs1-devel. Packages still depending
3b0b0e0
on ceph-devel should be fixed to depend on librados2-devel, librbd1-devel,
3b0b0e0
libcephfs1-devel or libradosstriper1-devel instead.
7da3554
7da3554
%package -n python-ceph-compat
7da3554
Summary:	Compatibility package for Cephs python libraries
7da3554
Group:		System Environment/Libraries
7da3554
License:	LGPL-2.0
7da3554
Obsoletes:	python-ceph
7da3554
Requires:	python-rados = %{epoch}:%{version}-%{release}
7da3554
Requires:	python-rbd = %{epoch}:%{version}-%{release}
7da3554
Requires:	python-cephfs = %{epoch}:%{version}-%{release}
7da3554
Provides:	python-ceph
7da3554
%description -n python-ceph-compat
7da3554
This is a compatibility package to accommodate python-ceph split into
7da3554
python-rados, python-rbd and python-cephfs. Packages still depending on
7da3554
python-ceph should be fixed to depend on python-rados, python-rbd or
7da3554
python-cephfs instead.
7da3554
08b7207
%if 0%{?opensuse} || 0%{?suse_version}
08b7207
%debug_package
4be65c2
%endif
08b7207
08b7207
#################################################################################
08b7207
# common
08b7207
#################################################################################
08b7207
%prep
08b7207
%setup -q
2a0aaf9
%patch1 -p1
2a0aaf9
%patch2 -p1
08b7207
08b7207
%build
08b7207
# Find jni.h
08b7207
for i in /usr/{lib64,lib}/jvm/java/include{,/linux}; do
08b7207
    [ -d $i ] && java_inc="$java_inc -I$i"
08b7207
done
08b7207
08b7207
./autogen.sh
e44806f
e44806f
%if ( 0%{?rhel} && 0%{?rhel} <= 6)
b318545
MY_CONF_OPT="--without-libxfs"
b318545
%else
b318545
MY_CONF_OPT=""
e44806f
%endif
08b7207
b318545
MY_CONF_OPT="$MY_CONF_OPT --with-radosgw"
b318545
e44806f
# No gperftools on these architectures
e44806f
%ifarch ppc ppc64 s390 s390x
e44806f
MY_CONF_OPT="$MY_CONF_OPT --without-tcmalloc"
e44806f
%endif
e44806f
08b7207
export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed -e 's/i386/i486/'`
08b7207
5311ad2
%ifarch armv5tel
5311ad2
# libatomic_ops does not have correct asm for ARMv5tel
5311ad2
EXTRA_CFLAGS="-DAO_USE_PTHREAD_DEFS"
5311ad2
%endif
5311ad2
%ifarch %{arm}
5311ad2
# libatomic_ops seems to fallback on some pthread implementation on ARM
5311ad2
EXTRA_LDFLAGS="-lpthread"
5311ad2
%endif
5311ad2
08b7207
%{configure}	CPPFLAGS="$java_inc" \
b318545
		--prefix=/usr \
b318545
		--localstatedir=/var \
b318545
		--sysconfdir=/etc \
08b7207
		--docdir=%{_docdir}/ceph \
b318545
		--with-nss \
b318545
		--without-cryptopp \
b318545
		--with-rest-bench \
b318545
		--with-debug \
b318545
		--enable-cephfs-java \
08b7207
		$MY_CONF_OPT \
08b7207
		%{?_with_ocf} \
5311ad2
		CFLAGS="$RPM_OPT_FLAGS $EXTRA_CFLAGS" \
b318545
		CXXFLAGS="$RPM_OPT_FLAGS $EXTRA_CFLAGS" \
5311ad2
		LDFLAGS="$EXTRA_LDFLAGS"
08b7207
08b7207
# fix bug in specific version of libedit-devel
08b7207
%if 0%{defined suse_version}
08b7207
sed -i -e "s/-lcurses/-lncurses/g" Makefile
08b7207
sed -i -e "s/-lcurses/-lncurses/g" src/Makefile
08b7207
sed -i -e "s/-lcurses/-lncurses/g" man/Makefile
08b7207
sed -i -e "s/-lcurses/-lncurses/g" src/ocf/Makefile
08b7207
sed -i -e "s/-lcurses/-lncurses/g" src/java/Makefile
560f971
%endif
Jonathan Dieter 0f5f195
b318545
make %{_smp_mflags}
5dd73cb
5dd73cb
%install
08b7207
make DESTDIR=$RPM_BUILD_ROOT install
5dd73cb
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
5dd73cb
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
3b0b0e0
# do not package man page for binary that is not built
7ebc469
rm -f $RPM_BUILD_ROOT%{_mandir}/man8/rbd-replay-prep.8*
Josef Bacik ca6b4d7
install -D src/init-ceph $RPM_BUILD_ROOT%{_initrddir}/ceph
08b7207
install -D src/init-radosgw.sysv $RPM_BUILD_ROOT%{_initrddir}/ceph-radosgw
08b7207
install -D src/init-rbdmap $RPM_BUILD_ROOT%{_initrddir}/rbdmap
08b7207
install -D src/rbdmap $RPM_BUILD_ROOT%{_sysconfdir}/ceph/rbdmap
08b7207
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
08b7207
ln -sf ../../etc/init.d/ceph %{buildroot}/%{_sbindir}/rcceph
08b7207
ln -sf ../../etc/init.d/ceph-radosgw %{buildroot}/%{_sbindir}/rcceph-radosgw
9a1331d
install -m 0644 -D src/logrotate.conf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ceph
08b7207
install -m 0644 -D src/rgw/logrotate.conf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/radosgw
08b7207
chmod 0644 $RPM_BUILD_ROOT%{_docdir}/ceph/sample.ceph.conf
08b7207
chmod 0644 $RPM_BUILD_ROOT%{_docdir}/ceph/sample.fetch_config
08b7207
08b7207
# udev rules
08b7207
%if 0%{?rhel} >= 7 || 0%{?fedora}
08b7207
install -m 0644 -D udev/50-rbd.rules $RPM_BUILD_ROOT/usr/lib/udev/rules.d/50-rbd.rules
08b7207
install -m 0644 -D udev/60-ceph-partuuid-workaround.rules $RPM_BUILD_ROOT/usr/lib/udev/rules.d/60-ceph-partuuid-workaround.rules
08b7207
%else
08b7207
install -m 0644 -D udev/50-rbd.rules $RPM_BUILD_ROOT/lib/udev/rules.d/50-rbd.rules
08b7207
install -m 0644 -D udev/60-ceph-partuuid-workaround.rules $RPM_BUILD_ROOT/lib/udev/rules.d/60-ceph-partuuid-workaround.rules
08b7207
%endif
08b7207
08b7207
%if (0%{?rhel} && 0%{?rhel} < 7)
08b7207
install -m 0644 -D udev/95-ceph-osd-alt.rules $RPM_BUILD_ROOT/lib/udev/rules.d/95-ceph-osd.rules
08b7207
%else
08b7207
install -m 0644 -D udev/95-ceph-osd.rules $RPM_BUILD_ROOT/lib/udev/rules.d/95-ceph-osd.rules
08b7207
%endif
08b7207
08b7207
%if 0%{?rhel} >= 7 || 0%{?fedora}
08b7207
mv $RPM_BUILD_ROOT/lib/udev/rules.d/95-ceph-osd.rules $RPM_BUILD_ROOT/usr/lib/udev/rules.d/95-ceph-osd.rules
08b7207
mv $RPM_BUILD_ROOT/sbin/mount.ceph $RPM_BUILD_ROOT/usr/sbin/mount.ceph
08b7207
mv $RPM_BUILD_ROOT/sbin/mount.fuse.ceph $RPM_BUILD_ROOT/usr/sbin/mount.fuse.ceph
08b7207
%endif
08b7207
08b7207
#set up placeholder directories
David Nalley d10f18b
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ceph
08b7207
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/ceph
08b7207
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/ceph
08b7207
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/ceph/tmp
08b7207
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/ceph/mon
08b7207
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/ceph/osd
08b7207
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/ceph/mds
08b7207
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/ceph/bootstrap-osd
08b7207
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/ceph/bootstrap-mds
08b7207
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/radosgw
08b7207
08b7207
%if %{defined suse_version}
08b7207
# Fedora seems to have some problems with this macro, use it only on SUSE
08b7207
%fdupes -s $RPM_BUILD_ROOT/%{python_sitelib}
08b7207
%fdupes %buildroot
08b7207
%endif
08b7207
08b7207
%clean
08b7207
rm -rf $RPM_BUILD_ROOT
Jonathan Dieter f32a9e4
5dd73cb
%post
08b7207
/sbin/ldconfig
5dd73cb
/sbin/chkconfig --add ceph
08b7207
mkdir -p %{_localstatedir}/run/ceph/
5dd73cb
5dd73cb
%preun
08b7207
%if %{defined suse_version}
08b7207
%stop_on_removal ceph
08b7207
%endif
5dd73cb
if [ $1 = 0 ] ; then
5dd73cb
    /sbin/service ceph stop >/dev/null 2>&1
5dd73cb
    /sbin/chkconfig --del ceph
5dd73cb
fi
5dd73cb
5dd73cb
%postun
08b7207
/sbin/ldconfig
08b7207
%if %{defined suse_version}
08b7207
%insserv_cleanup
08b7207
%endif
5dd73cb
9a1331d
08b7207
#################################################################################
08b7207
# files
08b7207
#################################################################################
5dd73cb
%files
08b7207
%defattr(-,root,root,-)
08b7207
%docdir %{_docdir}
08b7207
%dir %{_docdir}/ceph
08b7207
%{_docdir}/ceph/sample.ceph.conf
08b7207
%{_docdir}/ceph/sample.fetch_config
Josef Bacik ca6b4d7
%{_bindir}/cephfs
David Nalley d10f18b
%{_bindir}/ceph-clsinfo
08b7207
%{_bindir}/ceph-rest-api
7da3554
%{python_sitelib}/ceph_rest_api.py*
5dd73cb
%{_bindir}/crushtool
5dd73cb
%{_bindir}/monmaptool
5dd73cb
%{_bindir}/osdmaptool
David Nalley d10f18b
%{_bindir}/ceph-run
David Nalley d10f18b
%{_bindir}/ceph-mon
David Nalley d10f18b
%{_bindir}/ceph-mds
David Nalley d10f18b
%{_bindir}/ceph-osd
David Nalley d10f18b
%{_bindir}/ceph-rbdnamer
08b7207
%{_bindir}/librados-config
b318545
%{_bindir}/ceph-client-debug
3b0b0e0
%{_bindir}/cephfs-journal-tool
David Nalley d10f18b
%{_bindir}/ceph-debugpack
Josef Bacik 9b4a6bb
%{_bindir}/ceph-coverage
Josef Bacik 7d1f840
%{_bindir}/ceph_mon_store_converter
Josef Bacik ca6b4d7
%{_initrddir}/ceph
08b7207
%{_sbindir}/ceph-disk
Josef Bacik 3991b7a
%{_sbindir}/ceph-disk-activate
Josef Bacik 3991b7a
%{_sbindir}/ceph-disk-prepare
9a1331d
%{_sbindir}/ceph-disk-udev
08b7207
%{_sbindir}/ceph-create-keys
08b7207
%{_sbindir}/rcceph
08b7207
%if 0%{?rhel} >= 7 || 0%{?fedora}
08b7207
%{_sbindir}/mount.ceph
08b7207
%else
08b7207
/sbin/mount.ceph
08b7207
%endif
08b7207
%dir %{_libdir}/ceph
08b7207
%{_libdir}/ceph/ceph_common.sh
3b0b0e0
%{_libexecdir}/ceph/ceph-osd-prestart.sh
08b7207
%dir %{_libdir}/rados-classes
08b7207
%{_libdir}/rados-classes/libcls_rbd.so*
08b7207
%{_libdir}/rados-classes/libcls_hello.so*
08b7207
%{_libdir}/rados-classes/libcls_rgw.so*
08b7207
%{_libdir}/rados-classes/libcls_lock.so*
08b7207
%{_libdir}/rados-classes/libcls_kvs.so*
08b7207
%{_libdir}/rados-classes/libcls_refcount.so*
08b7207
%{_libdir}/rados-classes/libcls_log.so*
08b7207
%{_libdir}/rados-classes/libcls_replica_log.so*
08b7207
%{_libdir}/rados-classes/libcls_statelog.so*
08b7207
%{_libdir}/rados-classes/libcls_user.so*
08b7207
%{_libdir}/rados-classes/libcls_version.so*
08b7207
%dir %{_libdir}/ceph/erasure-code
3b0b0e0
%{_libdir}/ceph/erasure-code/libec_*.so*
08b7207
%if 0%{?rhel} >= 7 || 0%{?fedora}
08b7207
/usr/lib/udev/rules.d/60-ceph-partuuid-workaround.rules
08b7207
/usr/lib/udev/rules.d/95-ceph-osd.rules
08b7207
%else
08b7207
/lib/udev/rules.d/60-ceph-partuuid-workaround.rules
08b7207
/lib/udev/rules.d/95-ceph-osd.rules
08b7207
%endif
08b7207
%config %{_sysconfdir}/bash_completion.d/ceph
Josef Bacik ca6b4d7
%config(noreplace) %{_sysconfdir}/logrotate.d/ceph
08b7207
%config(noreplace) %{_sysconfdir}/logrotate.d/radosgw
David Nalley d10f18b
%{_mandir}/man8/ceph-mon.8*
David Nalley d10f18b
%{_mandir}/man8/ceph-mds.8*
David Nalley d10f18b
%{_mandir}/man8/ceph-osd.8*
David Nalley d10f18b
%{_mandir}/man8/ceph-run.8*
08b7207
%{_mandir}/man8/ceph-rest-api.8*
5dd73cb
%{_mandir}/man8/crushtool.8*
5dd73cb
%{_mandir}/man8/osdmaptool.8*
5dd73cb
%{_mandir}/man8/monmaptool.8*
Josef Bacik ca6b4d7
%{_mandir}/man8/cephfs.8*
5dd73cb
%{_mandir}/man8/mount.ceph.8*
08b7207
%{_mandir}/man8/ceph-rbdnamer.8*
David Nalley d10f18b
%{_mandir}/man8/ceph-debugpack.8*
08b7207
%{_mandir}/man8/ceph-clsinfo.8.gz
08b7207
%{_mandir}/man8/librados-config.8.gz
08b7207
#set up placeholder directories
08b7207
%dir %{_localstatedir}/lib/ceph/
08b7207
%dir %{_localstatedir}/lib/ceph/tmp
08b7207
%dir %{_localstatedir}/lib/ceph/mon
08b7207
%dir %{_localstatedir}/lib/ceph/osd
08b7207
%dir %{_localstatedir}/lib/ceph/mds
08b7207
%dir %{_localstatedir}/lib/ceph/bootstrap-osd
08b7207
%dir %{_localstatedir}/lib/ceph/bootstrap-mds
08b7207
%ghost %dir %{_localstatedir}/run/ceph/
08b7207
08b7207
#################################################################################
08b7207
%files -n ceph-common
08b7207
%defattr(-,root,root,-)
08b7207
%{_bindir}/ceph
08b7207
%{_bindir}/ceph-authtool
08b7207
%{_bindir}/ceph-conf
08b7207
%{_bindir}/ceph-dencoder
08b7207
%{_bindir}/ceph-syn
08b7207
%{_bindir}/ceph-crush-location
08b7207
%{_bindir}/rados
08b7207
%{_bindir}/rbd
08b7207
%{_bindir}/ceph-post-file
08b7207
%{_bindir}/ceph-brag
08b7207
%{_mandir}/man8/ceph-authtool.8*
08b7207
%{_mandir}/man8/ceph-conf.8*
9a1331d
%{_mandir}/man8/ceph-dencoder.8*
08b7207
%{_mandir}/man8/ceph-syn.8*
9a1331d
%{_mandir}/man8/ceph-post-file.8*
08b7207
%{_mandir}/man8/ceph.8*
08b7207
%{_mandir}/man8/rados.8*
08b7207
%{_mandir}/man8/rbd.8*
9a1331d
%{_datadir}/ceph/known_hosts_drop.ceph.com
08b7207
%{_datadir}/ceph/id_dsa_drop.ceph.com
08b7207
%{_datadir}/ceph/id_dsa_drop.ceph.com.pub
08b7207
%dir %{_sysconfdir}/ceph/
08b7207
%dir %{_localstatedir}/log/ceph/
08b7207
%config %{_sysconfdir}/bash_completion.d/rados
08b7207
%config %{_sysconfdir}/bash_completion.d/rbd
08b7207
%config(noreplace) %{_sysconfdir}/ceph/rbdmap
08b7207
%{_initrddir}/rbdmap
7da3554
%{python_sitelib}/ceph_argparse.py*
Josef Bacik 8f23225
08b7207
%postun -n ceph-common
08b7207
# Package removal cleanup
08b7207
if [ "$1" -eq "0" ] ; then
08b7207
    rm -rf /var/log/ceph
08b7207
fi
Josef Bacik 8f23225
08b7207
#################################################################################
5dd73cb
%files fuse
08b7207
%defattr(-,root,root,-)
David Nalley d10f18b
%{_bindir}/ceph-fuse
9a1331d
%{_mandir}/man8/ceph-fuse.8*
08b7207
%if 0%{?rhel} >= 7 || 0%{?fedora}
08b7207
%{_sbindir}/mount.fuse.ceph
08b7207
%else
08b7207
/sbin/mount.fuse.ceph
08b7207
%endif
08b7207
08b7207
#################################################################################
08b7207
%files -n rbd-fuse
08b7207
%defattr(-,root,root,-)
08b7207
%{_bindir}/rbd-fuse
Josef Bacik 7d1f840
%{_mandir}/man8/rbd-fuse.8*
5dd73cb
08b7207
#################################################################################
Josef Bacik ca6b4d7
%files radosgw
08b7207
%defattr(-,root,root,-)
08b7207
%{_initrddir}/ceph-radosgw
Josef Bacik ca6b4d7
%{_bindir}/radosgw
David Nalley d10f18b
%{_bindir}/radosgw-admin
08b7207
%{_mandir}/man8/radosgw.8*
08b7207
%{_mandir}/man8/radosgw-admin.8*
08b7207
%{_sbindir}/rcceph-radosgw
08b7207
%config %{_sysconfdir}/bash_completion.d/radosgw-admin
08b7207
%dir %{_localstatedir}/log/radosgw/
08b7207
08b7207
%post radosgw
08b7207
/sbin/ldconfig
08b7207
%if %{defined suse_version}
08b7207
%fillup_and_insserv -f -y ceph-radosgw
08b7207
%endif
08b7207
08b7207
%preun radosgw
08b7207
%if %{defined suse_version}
08b7207
%stop_on_removal ceph-radosgw
08b7207
%endif
08b7207
08b7207
%postun radosgw
08b7207
/sbin/ldconfig
08b7207
%if %{defined suse_version}
08b7207
%restart_on_update ceph-radosgw
08b7207
%insserv_cleanup
08b7207
%endif
08b7207
# Package removal cleanup
08b7207
if [ "$1" -eq "0" ] ; then
08b7207
    rm -rf /var/log/radosgw
08b7207
fi
08b7207
08b7207
08b7207
#################################################################################
08b7207
%if %{with ocf}
08b7207
%files resource-agents
08b7207
%defattr(0755,root,root,-)
08b7207
%dir /usr/lib/ocf
08b7207
%dir /usr/lib/ocf/resource.d
08b7207
%dir /usr/lib/ocf/resource.d/ceph
08b7207
/usr/lib/ocf/resource.d/%{name}/*
08b7207
%endif
08b7207
08b7207
#################################################################################
08b7207
%files -n librados2
08b7207
%defattr(-,root,root,-)
08b7207
%{_libdir}/librados.so.*
08b7207
08b7207
%post -n librados2
08b7207
/sbin/ldconfig
08b7207
08b7207
%postun -n librados2
08b7207
/sbin/ldconfig
08b7207
08b7207
#################################################################################
7da3554
%files -n librados2-devel
7da3554
%defattr(-,root,root,-)
7da3554
%dir %{_includedir}/rados
7da3554
%{_includedir}/rados/librados.h
7da3554
%{_includedir}/rados/librados.hpp
7da3554
%{_includedir}/rados/buffer.h
7da3554
%{_includedir}/rados/page.h
7da3554
%{_includedir}/rados/crc32c.h
7da3554
%{_includedir}/rados/rados_types.h
7da3554
%{_includedir}/rados/rados_types.hpp
7da3554
%{_includedir}/rados/memory.h
7da3554
%{_libdir}/librados.so
7da3554
7da3554
#################################################################################
7da3554
%files -n python-rados
7da3554
%defattr(-,root,root,-)
7da3554
%{python_sitelib}/rados.py*
7da3554
7da3554
#################################################################################
3b0b0e0
%files -n libradosstriper1
3b0b0e0
%defattr(-,root,root,-)
3b0b0e0
%{_libdir}/libradosstriper.so.*
3b0b0e0
3b0b0e0
%post -n libradosstriper1
3b0b0e0
/sbin/ldconfig
3b0b0e0
3b0b0e0
%postun -n libradosstriper1
3b0b0e0
/sbin/ldconfig
3b0b0e0
3b0b0e0
#################################################################################
3b0b0e0
%files -n libradosstriper1-devel
3b0b0e0
%defattr(-,root,root,-)
3b0b0e0
%dir %{_includedir}/radosstriper
3b0b0e0
%{_includedir}/radosstriper/libradosstriper.h
3b0b0e0
%{_includedir}/radosstriper/libradosstriper.hpp
3b0b0e0
%{_libdir}/libradosstriper.so
3b0b0e0
3b0b0e0
#################################################################################
08b7207
%files -n librbd1
08b7207
%defattr(-,root,root,-)
08b7207
%{_libdir}/librbd.so.*
08b7207
%if 0%{?rhel} >= 7 || 0%{?fedora}
08b7207
/usr/lib/udev/rules.d/50-rbd.rules
08b7207
%else
08b7207
/lib/udev/rules.d/50-rbd.rules
08b7207
%endif
08b7207
08b7207
%post -n librbd1
08b7207
/sbin/ldconfig
273aebe
# If x86_64 and rhel6+, link the library to /usr/lib64/qemu -- rhel hack
273aebe
%ifarch x86_64
273aebe
%if 0%{?rhel} >= 6
08b7207
mkdir -p /usr/lib64/qemu/
08b7207
ln -sf %{_libdir}/librbd.so.1 /usr/lib64/qemu/librbd.so.1
273aebe
%endif
273aebe
%endif
08b7207
08b7207
%postun -n librbd1
08b7207
/sbin/ldconfig
08b7207
08b7207
#################################################################################
7da3554
%files -n librbd1-devel
7da3554
%defattr(-,root,root,-)
7da3554
%dir %{_includedir}/rbd
7da3554
%{_includedir}/rbd/librbd.h
7da3554
%{_includedir}/rbd/librbd.hpp
7da3554
%{_includedir}/rbd/features.h
7da3554
%{_libdir}/librbd.so
7da3554
7da3554
#################################################################################
7da3554
%files -n python-rbd
7da3554
%defattr(-,root,root,-)
7da3554
%{python_sitelib}/rbd.py*
7da3554
7da3554
#################################################################################
08b7207
%files -n libcephfs1
08b7207
%defattr(-,root,root,-)
08b7207
%{_libdir}/libcephfs.so.*
08b7207
08b7207
%post -n libcephfs1
08b7207
/sbin/ldconfig
08b7207
08b7207
%postun -n libcephfs1
08b7207
/sbin/ldconfig
08b7207
08b7207
#################################################################################
7da3554
%files -n libcephfs1-devel
7da3554
%defattr(-,root,root,-)
7da3554
%dir %{_includedir}/cephfs
7da3554
%{_includedir}/cephfs/libcephfs.h
7da3554
%{_libdir}/libcephfs.so
7da3554
7da3554
#################################################################################
7da3554
%files -n python-cephfs
08b7207
%defattr(-,root,root,-)
08b7207
%{python_sitelib}/cephfs.py*
08b7207
b318545
#################################################################################
b318545
%files -n rest-bench
b318545
%defattr(-,root,root,-)
b318545
%{_bindir}/rest-bench
b318545
b318545
#################################################################################
b318545
%files -n ceph-test
b318545
%defattr(-,root,root,-)
b318545
%{_bindir}/ceph_bench_log
b318545
%{_bindir}/ceph_dupstore
b318545
%{_bindir}/ceph_kvstorebench
b318545
%{_bindir}/ceph_multi_stress_watch
b318545
%{_bindir}/ceph_erasure_code
b318545
%{_bindir}/ceph_erasure_code_benchmark
b318545
%{_bindir}/ceph_omapbench
b318545
%{_bindir}/ceph_psim
b318545
%{_bindir}/ceph_radosacl
b318545
%{_bindir}/ceph_rgw_jsonparser
b318545
%{_bindir}/ceph_rgw_multiparser
b318545
%{_bindir}/ceph_scratchtool
b318545
%{_bindir}/ceph_scratchtoolpp
b318545
%{_bindir}/ceph_smalliobench
b318545
%{_bindir}/ceph_smalliobenchdumb
b318545
%{_bindir}/ceph_smalliobenchfs
b318545
%{_bindir}/ceph_smalliobenchrbd
3b0b0e0
%{_bindir}/ceph_objectstore_tool
b318545
%{_bindir}/ceph_streamtest
b318545
%{_bindir}/ceph_test_*
b318545
%{_bindir}/ceph_tpbench
b318545
%{_bindir}/ceph_xattr_bench
b318545
%{_bindir}/ceph-monstore-tool
b318545
%{_bindir}/ceph-osdomap-tool
b318545
%{_bindir}/ceph-kvstore-tool
3b0b0e0
%{_mandir}/man8/rbd-replay.8*
3b0b0e0
%{_bindir}/rbd-replay
3b0b0e0
%if (0%{?fedora} == 20 || 0%{?rhel} == 6)
3b0b0e0
%{_mandir}/man8/rbd-replay-prep.8*
3b0b0e0
%{_bindir}/rbd-replay-prep
3b0b0e0
%endif
b318545
b318545
%files -n libcephfs_jni1
b318545
%defattr(-,root,root,-)
b318545
%{_libdir}/libcephfs_jni.so.*
b318545
7da3554
%files -n libcephfs_jni1-devel
7da3554
%defattr(-,root,root,-)
7da3554
%{_libdir}/libcephfs_jni.so
7da3554
b318545
%files -n cephfs-java
b318545
%defattr(-,root,root,-)
b318545
%{_javadir}/libcephfs.jar
b318545
d8048b5
# We need an empty %files list for ceph-libs-compat, ceph-devel-compat and
d8048b5
# python-ceph-compat to tell rpmbuild to actually build these meta packages.
08b7207
%files libs-compat
5dd73cb
628a5cf
%files devel-compat
628a5cf
628a5cf
%files -n python-ceph-compat
628a5cf
5dd73cb
%changelog
2a0aaf9
* Wed Mar 4 2015 Boris Ranto <branto@redhat.com> - 1:0.87.1-2
2a0aaf9
- Perform a hardened build
2a0aaf9
- Use git-formatted patches
2a0aaf9
- Add patch for pthreads rwlock unlock problem
2a0aaf9
- Do not remove conf files on uninstall
2a0aaf9
- Remove the cleanup function, it is only necessary for f20 and f21
2a0aaf9
84aa853
* Wed Feb 25 2015 Boris Ranto <branto@redhat.com> - 1:0.87.1-1
84aa853
- Rebase to latest upstream
84aa853
- Remove boost patch, it is in upstream tarball
84aa853
- Build with yasm, tarball contains fix for the SELinux issue
84aa853
Petr Machata c130ff2
* Thu Jan 29 2015 Petr Machata <pmachata@redhat.com> - 1:0.87-2
Petr Machata c485e3a
- Rebuild for boost 1.57.0
Petr Machata c130ff2
- Include <boost/optional/optional_io.hpp> instead of
Petr Machata c130ff2
  <boost/optional.hpp>.  Keep the old dumping behavior in
Petr Machata c130ff2
  osd/ECBackend.cc (ceph-0.87-boost157.patch)
Petr Machata c485e3a
3b0b0e0
* Mon Nov 3 2014 Boris Ranto <branto@redhat.com> - 1:0.87-1
3b0b0e0
- Rebase to latest major version (firefly -> giant)
3b0b0e0
290a036
* Thu Oct 16 2014 Boris Ranto 
290a036
- Rebase to latest upstream version
290a036
a4d87e6
* Sat Oct 11 2014 Boris Ranto <branto@redhat.com> - 1:0.80.6-3
a4d87e6
- Fix a typo in librados-devel vs librados2-devel dependency
a4d87e6
628a5cf
* Fri Oct 10 2014 Boris Ranto <branto@redhat.com> - 1:0.80.6-2
628a5cf
- Provide empty file list for python-ceph-compat and ceph-devel-compat
628a5cf
7da3554
* Fri Oct 10 2014 Boris Ranto <branto@redhat.com> - 1:0.80.6-1
7da3554
- Rebase to 0.80.6
7da3554
- Split ceph-devel and python-ceph packages
7da3554
34495d4
* Tue Sep 9 2014 Dan Horák <dan[at]danny.cz> - 1:0.80.5-10
34495d4
- update Requires for s390(x)
34495d4
273aebe
* Wed Sep 3 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-9
273aebe
- Symlink librd.so.1 to /usr/lib64/qemu only on rhel6+ x86_64 (1136811)
273aebe
ac3de9e
* Thu Aug 21 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-8
e46d0f1
- Revert the previous change
e46d0f1
- Fix bz 1118504, second attempt (yasm appears to be the package that caused this
ac3de9e
- Fix bogus dates
e46d0f1
ac3de9e
* Wed Aug 20 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-7
e46d0f1
- Several more merges from file to try to fix the selinux issue (1118504)
e46d0f1
25b47f3
* Sun Aug 17 2014 Kalev Lember <kalevlember@gmail.com> - 1:0.80.5-6
25b47f3
- Obsolete ceph-libcephfs
25b47f3
e44806f
* Sat Aug 16 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-5
e44806f
- Do not require xfsprogs/xfsprogs-devel for el6
e44806f
- Require gperftools-devel for non-ppc*/s390* architectures only
e44806f
- Do not require junit -- no need to build libcephfs-test.jar
e44806f
- Build without libxfs for el6
e44806f
- Build without tcmalloc for ppc*/s390* architectures
e44806f
- Location of mkcephfs must depend on a rhel release
e44806f
- Use epoch in the Requires fields [1130700]
e44806f
830e99f
* Sat Aug 16 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-4
830e99f
- Use the proper version name in Obsoletes
830e99f
c81d313
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.80.5-3
c81d313
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c81d313
a236dbb
* Fri Aug 15 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-2
5311ad2
- Add the arm pthread hack
5311ad2
08b7207
* Fri Aug 15 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-1
08b7207
- Bump the Epoch, we need to keep the latest stable, not development, ceph version in fedora
08b7207
- Use the upstream spec file with the ceph-libs split
08b7207
- Add libs-compat subpackage [1116546]
08b7207
- use fedora in rhel 7 checks
08b7207
- obsolete libcephfs [1116614]
08b7207
- depend on redhat-lsb-core for the initscript [1108696]
08b7207
d184580
* Wed Aug 13 2014 Kalev Lember <kalevlember@gmail.com> - 0.81.0-6
d184580
- Add obsoletes to keep the upgrade path working (#1118510)
d184580
9a1331d
* Mon Jul 7 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-5
9a1331d
- revert to old spec until after f21 branch
9a1331d
ed8d9af
* Fri Jul 4 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
ed8d9af
- temporary exclude f21/armv7hl. N.B. it builds fine on f20/armv7hl.
ed8d9af
4be65c2
* Fri Jul 4 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-4
4be65c2
- upstream ceph.spec file
4be65c2
10fcd5e
* Tue Jul 1 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-3
10fcd5e
- upstream ceph.spec file
10fcd5e
e605c9c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.81.0-2
e605c9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e605c9c
cca983b
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
560f971
- el6 ppc64 likewise for tcmalloc, merge from origin/el6
560f971
560f971
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
cca983b
- el6 ppc64 does not have gperftools, merge from origin/el6
cca983b
6c2f2c4
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-1
6c2f2c4
- ceph-0.81.0
6c2f2c4
9c82455
* Wed Jun  4 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.80.1-5
9c82455
- gperftools now available on aarch64/ppc64
9c82455
Petr Machata e579d55
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.80.1-4
Petr Machata e579d55
- Rebuild for boost 1.55.0
Petr Machata e579d55
aac817e
* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 0.80.1-3
aac817e
- rebuild for boost 1.55.0
aac817e
c28233e
* Wed May 14 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.80.1-2
c28233e
- build epel-6
c28233e
- exclude %%{_libdir}/ceph/erasure-code in base package
c28233e
f082c04
* Tue May 13 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.80.1-1
f082c04
- Update to latest stable upstream release, BZ 1095201
f082c04
- PIE, _hardened_build, BZ 955174
f082c04
4c912ae
* Thu Feb 06 2014 Ken Dreyer <ken.dreyer@inktank.com> - 0.72.2-2
4c912ae
- Move plugins from -devel into -libs package (#891993). Thanks Michael
4c912ae
  Schwendt.
4c912ae
c523b37
* Mon Jan 06 2014 Ken Dreyer <ken.dreyer@inktank.com> 0.72.2-1
c523b37
- Update to latest stable upstream release
c523b37
- Use HTTPS for URLs
c523b37
- Submit Automake 1.12 patch upstream
c523b37
- Move unversioned shared libs from ceph-libs into ceph-devel
c523b37
a69f025
* Wed Dec 18 2013 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> 0.67.3-4
a69f025
- build without tcmalloc on aarch64 (no gperftools)
a69f025
975579a
* Sat Nov 30 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.67.3-3
975579a
- gperftools not currently available on aarch64
975579a
52a2b9b
* Mon Oct 07 2013 Dan Horák <dan[at]danny.cz> - 0.67.3-2
52a2b9b
- fix build on non-x86_64 64-bit arches
52a2b9b
Josef Bacik 7d8598d
* Wed Sep 11 2013 Josef Bacik <josef@toxicpanda.com> - 0.67.3-1
Josef Bacik 7d8598d
- update to 0.67.3
Josef Bacik 7d8598d
f6f6a62
* Wed Sep 11 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 0.61.7-3
f6f6a62
- let base package include all its documentation files via %%doc magic,
f6f6a62
  so for Fedora 20 Unversioned Docdirs no files are included accidentally
f6f6a62
- include the sample config files again (instead of just an empty docdir
f6f6a62
  that has been added for #846735)
f6f6a62
- don't include librbd.so.1 also in -devel package (#1003202)
f6f6a62
- move one misplaced rados plugin from -devel into -libs package (#891993)
f6f6a62
- include missing directories in -devel and -libs packages
f6f6a62
- move librados-config into the -devel pkg where its manual page is, too
f6f6a62
- add %%_isa to subpackage dependencies
f6f6a62
- don't use %%defattr anymore
f6f6a62
- add V=1 to make invocation for verbose build output
f6f6a62
fc25307
* Wed Jul 31 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.61.7-2
fc25307
- re-enable tmalloc on arm now gperftools is fixed
fc25307
Josef Bacik 7d1f840
* Mon Jul 29 2013 Josef Bacik <josef@toxicpanda.com> - 0.61.7-1
Josef Bacik 7d1f840
- Update to 0.61.7
Josef Bacik 7d1f840
Petr Machata 6bb58e5
* Sat Jul 27 2013 pmachata@redhat.com - 0.56.4-2
Petr Machata 6bb58e5
- Rebuild for boost 1.54.0
Petr Machata 6bb58e5
Josef Bacik 514a2a1
* Fri Mar 29 2013 Josef Bacik <josef@toxicpanda.com> - 0.56.4-1
Josef Bacik 514a2a1
- Update to 0.56.4
Josef Bacik 514a2a1
- Add upstream d02340d90c9d30d44c962bea7171db3fe3bfba8e to fix logrotate
Josef Bacik 514a2a1
Josef Bacik 3991b7a
* Wed Feb 20 2013 Josef Bacik <josef@toxicpanda.com> - 0.56.3-1
Josef Bacik 3991b7a
- Update to 0.56.3
Josef Bacik 3991b7a
ffa978b
* Mon Feb 11 2013 Richard W.M. Jones <rjones@redhat.com> - 0.53-2
ffa978b
- Rebuilt to try to fix boost dependency problem in Rawhide.
ffa978b
Josef Bacik f5c462a
* Thu Nov  1 2012 Josef Bacik <josef@toxicpanda.com> - 0.53-1
Josef Bacik f5c462a
- Update to 0.53
Josef Bacik f5c462a
Jonathan Dieter 9855df9
* Mon Sep 24 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.51-3
Jonathan Dieter 9855df9
- Fix automake 1.12 error
Jonathan Dieter 0521dc9
- Rebuild after buildroot was messed up
Jonathan Dieter 9855df9
Jonathan Dieter ff794c7
* Tue Sep 18 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.51-2
Jonathan Dieter ff794c7
- Use system leveldb
Jonathan Dieter ff794c7
David Nalley 6449f95
* Fri Sep 07 2012 David Nalley <david@gnsa.us> - 0.51-1
David Nalley 6449f95
- Updating to 0.51
David Nalley 6449f95
- Updated url and source url. 
David Nalley 6449f95
19726c1
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.46-2
19726c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
19726c1
Josef Bacik 8f23225
* Wed May  9 2012 Josef Bacik <josef@toxicpanda.com> - 0.46-1
Josef Bacik 8f23225
- updated to upstream 0.46
Josef Bacik 8f23225
- broke out libcephfs (rhbz# 812975)
Josef Bacik 8f23225
ba92463
* Mon Apr 23 2012 Dan Horák <dan[at]danny.cz> - 0.45-2
ba92463
- fix detection of C++11 atomic header
ba92463
Josef Bacik 50e073a
* Thu Apr 12 2012 Josef Bacik <josef@toxicpanda.com> - 0.45-1
Josef Bacik 50e073a
- updating to upstream 0.45
Josef Bacik 50e073a
563583e
* Wed Apr  4 2012 Niels de Vos <devos@fedoraproject.org> - 0.44-5
563583e
- Add LDFLAGS=-lpthread on any ARM architecture
563583e
- Add CFLAGS=-DAO_USE_PTHREAD_DEFS on ARMv5tel
563583e
6eb8fdf
* Mon Mar 26 2012 Dan Horák <dan[at]danny.cz> 0.44-4
6eb8fdf
- gperftools not available also on ppc
6eb8fdf
Jonathan Dieter 0f5f195
* Mon Mar 26 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.44-3
Jonathan Dieter 0f5f195
- Remove unneeded patch
Jonathan Dieter 0f5f195
Jonathan Dieter 0f5f195
* Sun Mar 25 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.44-2
Jonathan Dieter 0f5f195
- Update to 0.44
Jonathan Dieter 0f5f195
- Fix build problems
Jonathan Dieter 0f5f195
Jonathan Dieter f32a9e4
* Mon Mar  5 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.43-1
Jonathan Dieter f32a9e4
- Update to 0.43
Jonathan Dieter f32a9e4
- Remove upstreamed compile fixes patch
Jonathan Dieter f32a9e4
- Remove obsoleted dump_pop patch
Jonathan Dieter f32a9e4
3cf1ae6
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.41-2
3cf1ae6
- Rebuilt for c++ ABI breakage
3cf1ae6
dc8a12b
* Thu Feb 16 2012 Tom Callaway <spot@fedoraproject.org> 0.41-1
dc8a12b
- update to 0.41
dc8a12b
- fix issues preventing build
dc8a12b
- rebuild against gperftools
dc8a12b
David Nalley c0a0a52
* Sat Dec 03 2011 David Nalley <david@gnsa.us> 0.38-1
David Nalley c0a0a52
- updating to upstream 0.39
David Nalley 36be982
David Nalley d10f18b
* Sat Nov 05 2011 David Nalley <david@gnsa.us> 0.37-1
David Nalley d10f18b
- create /etc/ceph - bug 745462
David Nalley d10f18b
- upgrading to 0.37, fixing 745460, 691033
David Nalley d10f18b
- fixing various logrotate bugs 748930, 747101
David Nalley d10f18b
b89a3dc
* Fri Aug 19 2011 Dan Horák <dan[at]danny.cz> 0.31-4
b89a3dc
- google-perftools not available also on s390(x)
b89a3dc
fd6c2fa
* Mon Jul 25 2011 Karsten Hopp <karsten@redhat.com> 0.31-3
b89a3dc
- build without tcmalloc on ppc64, BR google-perftools is not available there
fd6c2fa
Josef Bacik 454e443
* Tue Jul 12 2011 Josef Bacik <josef@toxicpanda.com> 0.31-2
Josef Bacik 454e443
- Remove curl/types.h include since we don't use it anymore
Josef Bacik 454e443
Josef Bacik 9b4a6bb
* Tue Jul 12 2011 Josef Bacik <josef@toxicpanda.com> 0.31-1
Josef Bacik 9b4a6bb
- Update to 0.31
Josef Bacik 9b4a6bb
Josef Bacik 81c2739
* Tue Apr  5 2011 Josef Bacik <josef@toxicpanda.com> 0.26-2
Josef Bacik 81c2739
- Add the compile fix patch
Josef Bacik 81c2739
Josef Bacik 555889f
* Tue Apr  5 2011 Josef Bacik <josef@toxicpanda.com> 0.26
Josef Bacik 555889f
- Update to 0.26
Josef Bacik 555889f
Josef Bacik ca6b4d7
* Tue Mar 22 2011 Josef Bacik <josef@toxicpanda.com> 0.25.1-1
Josef Bacik ca6b4d7
- Update to 0.25.1
Josef Bacik ca6b4d7
10fd17e
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21.3-2
10fd17e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
10fd17e
Steven Pritchard 3dcda9e
* Wed Sep 29 2010 Steven Pritchard <steve@kspei.com> 0.21.3-1
Steven Pritchard 3dcda9e
- Update to 0.21.3.
Steven Pritchard 3dcda9e
Steven Pritchard bfda65c
* Mon Aug 30 2010 Steven Pritchard <steve@kspei.com> 0.21.2-1
Steven Pritchard bfda65c
- Update to 0.21.2.
Steven Pritchard bfda65c
Steven Pritchard cf2b700
* Thu Aug 26 2010 Steven Pritchard <steve@kspei.com> 0.21.1-1
Steven Pritchard cf2b700
- Update to 0.21.1.
Steven Pritchard cf2b700
- Sample configs moved to /usr/share/doc/ceph/.
Steven Pritchard cf2b700
- Added cclass, rbd, and cclsinfo.
Steven Pritchard cf2b700
- Dropped mkmonfs and rbdtool.
Steven Pritchard cf2b700
- mkcephfs moved to /sbin.
Steven Pritchard cf2b700
- Add libcls_rbd.so.
Steven Pritchard cf2b700
a48a736
* Tue Jul  6 2010 Josef Bacik <josef@toxicpanda.com> 0.20.2-1
a48a736
- update to 0.20.2
a48a736
5dd73cb
* Wed May  5 2010 Josef Bacik <josef@toxicpanda.com> 0.20-1
5dd73cb
- update to 0.20
5dd73cb
- disable hadoop building
5dd73cb
- remove all the test binaries properly
5dd73cb
5dd73cb
* Fri Apr 30 2010 Sage Weil <sage@newdream.net> 0.19.1-5
5dd73cb
- Remove java deps (no need to build hadoop by default)
5dd73cb
- Include all required librados helpers
5dd73cb
- Include fetch_config sample
5dd73cb
- Include rbdtool
5dd73cb
- Remove misc debugging, test binaries
5dd73cb
Josef Bacik 7d1f840
* Fri Apr 30 2010 Josef Bacik <josef@toxicpanda.com> 0.19.1-4
5dd73cb
- Add java-devel and java tricks to get hadoop to build
5dd73cb
5dd73cb
* Mon Apr 26 2010 Josef Bacik <josef@toxicpanda.com> 0.19.1-3
5dd73cb
- Move the rados and cauthtool man pages into the base package
5dd73cb
5dd73cb
* Sun Apr 25 2010 Jonathan Dieter <jdieter@lesbg.com> 0.19.1-2
5dd73cb
- Add missing libhadoopcephfs.so* to file list
5dd73cb
- Add COPYING to all subpackages
5dd73cb
- Fix ownership of /usr/lib[64]/ceph
5dd73cb
- Enhance description of fuse client
5dd73cb
5dd73cb
* Tue Apr 20 2010 Josef Bacik <josef@toxicpanda.com> 0.19.1-1
5dd73cb
- Update to 0.19.1
5dd73cb
5dd73cb
* Mon Feb  8 2010 Josef Bacik <josef@toxicpanda.com> 0.18-1
5dd73cb
- Initial spec file creation, based on the template provided in the ceph src