|
|
bcc7f22 |
# vim: set noexpandtab ts=8 sw=8 :
|
|
|
bde7d23 |
#
|
|
|
bde7d23 |
# spec file for package ceph
|
|
|
bde7d23 |
#
|
|
|
bde7d23 |
# Copyright (C) 2004-2016 The Ceph Project Developers. See COPYING file
|
|
|
bde7d23 |
# at the top-level directory of this distribution and at
|
|
|
bde7d23 |
# https://github.com/ceph/ceph/blob/master/COPYING
|
|
|
bde7d23 |
#
|
|
|
bde7d23 |
# All modifications and additions to the file contributed by third parties
|
|
|
bde7d23 |
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
bde7d23 |
# upon.
|
|
|
bde7d23 |
#
|
|
|
bde7d23 |
# This file is under the GNU Lesser General Public License, version 2.1
|
|
|
bde7d23 |
#
|
|
|
bde7d23 |
# Please submit bugfixes or comments via http://tracker.ceph.com/
|
|
|
bde7d23 |
#
|
|
|
08b7207 |
%bcond_with ocf
|
|
|
bcc7f22 |
%bcond_without cephfs_java
|
|
|
bcc7f22 |
%bcond_with tests
|
|
|
dadf49c |
%bcond_with xio
|
|
|
a5a738d |
%ifnarch s390 s390x
|
|
|
bcc7f22 |
%bcond_without tcmalloc
|
|
|
a5a738d |
%else
|
|
|
a5a738d |
# no gperftools/tcmalloc on s390(x)
|
|
|
a5a738d |
%bcond_with tcmalloc
|
|
|
a5a738d |
%endif
|
|
|
bcc7f22 |
%bcond_without libs_compat
|
|
|
bcc7f22 |
%bcond_with lowmem_builder
|
|
|
bcc7f22 |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
bde7d23 |
%bcond_without selinux
|
|
|
bcc7f22 |
%endif
|
|
|
bcc7f22 |
%if 0%{?suse_version}
|
|
|
bcc7f22 |
%bcond_with selinux
|
|
|
bcc7f22 |
%endif
|
|
|
4be65c2 |
|
|
|
bde7d23 |
# LTTng-UST enabled on Fedora, RHEL 6+, and SLES 12
|
|
|
bde7d23 |
%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} == 1315
|
|
|
bde7d23 |
%bcond_without lttng
|
|
|
bde7d23 |
%endif
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
%if %{with selinux}
|
|
|
bcc7f22 |
# get selinux policy version
|
|
|
bcc7f22 |
%{!?_selinux_policy_version: %global _selinux_policy_version %(sed -e 's,.*selinux-policy-\\([^/]*\\)/.*,\\1,' /usr/share/selinux/devel/policyhelp 2>/dev/null || echo 0.0.0)}
|
|
|
bcc7f22 |
%endif
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
%{!?_udevrulesdir: %global _udevrulesdir /lib/udev/rules.d}
|
|
|
bde7d23 |
%{!?tmpfiles_create: %global tmpfiles_create systemd-tmpfiles --create}
|
|
|
bcc7f22 |
|
|
|
bde7d23 |
# unify libexec for all targets
|
|
|
bde7d23 |
%global _libexecdir %{_exec_prefix}/lib
|
|
|
bde7d23 |
|
|
|
2a0aaf9 |
|
|
|
08b7207 |
#################################################################################
|
|
|
08b7207 |
# common
|
|
|
08b7207 |
#################################################################################
|
|
|
08b7207 |
Name: ceph
|
|
|
8d319bc |
Version: 10.2.3
|
|
|
ceab65b |
Release: 3%{?dist}
|
|
|
08b7207 |
Epoch: 1
|
|
|
08b7207 |
Summary: User space components of the Ceph file system
|
|
|
bcc7f22 |
License: LGPL-2.1 and CC-BY-SA-1.0 and GPL-2.0 and BSL-1.0 and GPL-2.0-with-autoconf-exception and BSD-3-Clause and MIT
|
|
|
bcc7f22 |
%if 0%{?suse_version}
|
|
|
bcc7f22 |
Group: System/Filesystems
|
|
|
bcc7f22 |
%endif
|
|
|
08b7207 |
URL: http://ceph.com/
|
|
|
bde7d23 |
Source0: http://ceph.com/download/%{name}-%{version}.tar.gz
|
|
|
ceab65b |
|
|
|
ceab65b |
Patch0001: 0001-Disable-erasure_codelib-neon-build.patch
|
|
|
ceab65b |
Patch0002: 0002-common-instantiate-strict_si_cast-long-not-strict_si.patch
|
|
|
ceab65b |
|
|
|
8d319bc |
%if 0%{?suse_version}
|
|
|
8d319bc |
%if 0%{?is_opensuse}
|
|
|
8d319bc |
ExclusiveArch: x86_64 aarch64 ppc64 ppc64le
|
|
|
8d319bc |
%else
|
|
|
8d319bc |
ExclusiveArch: x86_64 aarch64
|
|
|
8d319bc |
%endif
|
|
|
8d319bc |
%endif
|
|
|
bcc7f22 |
#################################################################################
|
|
|
bcc7f22 |
# dependencies that apply across all distro families
|
|
|
bcc7f22 |
#################################################################################
|
|
|
bde7d23 |
Requires: ceph-osd = %{epoch}:%{version}-%{release}
|
|
|
bde7d23 |
Requires: ceph-mds = %{epoch}:%{version}-%{release}
|
|
|
bde7d23 |
Requires: ceph-mon = %{epoch}:%{version}-%{release}
|
|
|
08b7207 |
Requires(post): binutils
|
|
|
bcc7f22 |
%if 0%{with cephfs_java}
|
|
|
bcc7f22 |
BuildRequires: java-devel
|
|
|
bcc7f22 |
BuildRequires: sharutils
|
|
|
bcc7f22 |
%endif
|
|
|
bcc7f22 |
%if 0%{with selinux}
|
|
|
bcc7f22 |
BuildRequires: checkpolicy
|
|
|
bcc7f22 |
BuildRequires: selinux-policy-devel
|
|
|
bcc7f22 |
BuildRequires: /usr/share/selinux/devel/policyhelp
|
|
|
bcc7f22 |
%endif
|
|
|
08b7207 |
BuildRequires: boost-devel
|
|
|
bcc7f22 |
BuildRequires: cmake
|
|
|
2a379f1 |
BuildRequires: cryptsetup
|
|
|
bcc7f22 |
BuildRequires: fuse-devel
|
|
|
dadf49c |
BuildRequires: gcc-c++
|
|
|
08b7207 |
BuildRequires: gdbm
|
|
|
8d319bc |
%if 0%{with tcmalloc}
|
|
|
8d319bc |
BuildRequires: gperftools-devel
|
|
|
8d319bc |
%endif
|
|
|
2a379f1 |
BuildRequires: hdparm
|
|
|
bcc7f22 |
BuildRequires: leveldb-devel > 1.2
|
|
|
08b7207 |
BuildRequires: libaio-devel
|
|
|
8d319bc |
BuildRequires: libatomic_ops-devel
|
|
|
08b7207 |
BuildRequires: libblkid-devel >= 2.17
|
|
|
dadf49c |
BuildRequires: libcurl-devel
|
|
|
08b7207 |
BuildRequires: libudev-devel
|
|
|
2a379f1 |
BuildRequires: libtool
|
|
|
dadf49c |
BuildRequires: libxml2-devel
|
|
|
2a379f1 |
BuildRequires: make
|
|
|
2a379f1 |
BuildRequires: parted
|
|
|
bcc7f22 |
BuildRequires: perl
|
|
|
2a379f1 |
BuildRequires: pkgconfig
|
|
|
2a379f1 |
BuildRequires: python
|
|
|
bde7d23 |
BuildRequires: python-devel
|
|
|
2a379f1 |
BuildRequires: python-nose
|
|
|
2a379f1 |
BuildRequires: python-requests
|
|
|
dadf49c |
BuildRequires: python-sphinx
|
|
|
2a379f1 |
BuildRequires: python-virtualenv
|
|
|
bcc7f22 |
BuildRequires: snappy-devel
|
|
|
2a379f1 |
BuildRequires: util-linux
|
|
|
49e681f |
%ifnarch s390
|
|
|
bde7d23 |
BuildRequires: valgrind-devel
|
|
|
49e681f |
%endif
|
|
|
2a379f1 |
BuildRequires: xfsprogs
|
|
|
08b7207 |
BuildRequires: xfsprogs-devel
|
|
|
2a379f1 |
BuildRequires: xmlstarlet
|
|
|
84aa853 |
BuildRequires: yasm
|
|
|
08b7207 |
|
|
|
08b7207 |
#################################################################################
|
|
|
bcc7f22 |
# distro-conditional dependencies
|
|
|
08b7207 |
#################################################################################
|
|
|
bcc7f22 |
%if 0%{?suse_version}
|
|
|
bcc7f22 |
BuildRequires: pkgconfig(systemd)
|
|
|
bcc7f22 |
BuildRequires: systemd-rpm-macros
|
|
|
bde7d23 |
BuildRequires: systemd
|
|
|
bcc7f22 |
%{?systemd_requires}
|
|
|
bcc7f22 |
PreReq: %fillup_prereq
|
|
|
bcc7f22 |
BuildRequires: net-tools
|
|
|
bcc7f22 |
BuildRequires: libbz2-devel
|
|
|
bde7d23 |
BuildRequires: btrfsprogs
|
|
|
08b7207 |
BuildRequires: mozilla-nss-devel
|
|
|
08b7207 |
BuildRequires: keyutils-devel
|
|
|
bde7d23 |
BuildRequires: libopenssl-devel
|
|
|
bde7d23 |
BuildRequires: lsb-release
|
|
|
bde7d23 |
BuildRequires: openldap2-devel
|
|
|
bde7d23 |
BuildRequires: python-Cython
|
|
|
bde7d23 |
%endif
|
|
|
bde7d23 |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
bcc7f22 |
Requires: systemd
|
|
|
dadf49c |
BuildRequires: boost-random
|
|
|
bde7d23 |
BuildRequires: btrfs-progs
|
|
|
08b7207 |
BuildRequires: nss-devel
|
|
|
08b7207 |
BuildRequires: keyutils-libs-devel
|
|
|
bde7d23 |
BuildRequires: openldap-devel
|
|
|
bde7d23 |
BuildRequires: openssl-devel
|
|
|
bde7d23 |
BuildRequires: redhat-lsb-core
|
|
|
bde7d23 |
BuildRequires: Cython
|
|
|
bcc7f22 |
%endif
|
|
|
bcc7f22 |
# lttng and babeltrace for rbd-replay-prep
|
|
|
bde7d23 |
%if %{with lttng}
|
|
|
bcc7f22 |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
bcc7f22 |
BuildRequires: lttng-ust-devel
|
|
|
bcc7f22 |
BuildRequires: libbabeltrace-devel
|
|
|
bcc7f22 |
%endif
|
|
|
bcc7f22 |
%if 0%{?suse_version}
|
|
|
bcc7f22 |
BuildRequires: lttng-ust-devel
|
|
|
bcc7f22 |
BuildRequires: babeltrace-devel
|
|
|
bcc7f22 |
%endif
|
|
|
bcc7f22 |
%endif
|
|
|
bcc7f22 |
# expat and fastcgi for RGW
|
|
|
bcc7f22 |
%if 0%{?suse_version}
|
|
|
bcc7f22 |
BuildRequires: libexpat-devel
|
|
|
bcc7f22 |
BuildRequires: FastCGI-devel
|
|
|
bcc7f22 |
%endif
|
|
|
bcc7f22 |
%if 0%{?rhel} || 0%{?fedora}
|
|
|
bcc7f22 |
BuildRequires: expat-devel
|
|
|
bcc7f22 |
BuildRequires: fcgi-devel
|
|
|
bcc7f22 |
%endif
|
|
|
bde7d23 |
#hardened-cc1
|
|
|
bde7d23 |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
bde7d23 |
BuildRequires: redhat-rpm-config
|
|
|
bde7d23 |
%endif
|
|
|
dadf49c |
# Accelio IB/RDMA
|
|
|
dadf49c |
%if 0%{with xio}
|
|
|
dadf49c |
BuildRequires: libxio-devel
|
|
|
dadf49c |
%endif
|
|
|
5dd73cb |
|
|
|
08b7207 |
%description
|
|
|
bcc7f22 |
Ceph is a massively scalable, open-source, distributed storage system that runs
|
|
|
bcc7f22 |
on commodity hardware and delivers object, block and file system storage.
|
|
|
9a1331d |
|
|
|
d184580 |
|
|
|
08b7207 |
#################################################################################
|
|
|
08b7207 |
# packages
|
|
|
08b7207 |
#################################################################################
|
|
|
bde7d23 |
%package base
|
|
|
bde7d23 |
Summary: Ceph Base Package
|
|
|
bde7d23 |
Group: System Environment/Base
|
|
|
bde7d23 |
Requires: ceph-common = %{epoch}:%{version}-%{release}
|
|
|
bde7d23 |
Requires: librbd1 = %{epoch}:%{version}-%{release}
|
|
|
bde7d23 |
Requires: librados2 = %{epoch}:%{version}-%{release}
|
|
|
bde7d23 |
Requires: libcephfs1 = %{epoch}:%{version}-%{release}
|
|
|
bde7d23 |
Requires: librgw2 = %{epoch}:%{version}-%{release}
|
|
|
bde7d23 |
%if 0%{with selinux}
|
|
|
bde7d23 |
Requires: ceph-selinux = %{epoch}:%{version}-%{release}
|
|
|
bde7d23 |
%endif
|
|
|
bde7d23 |
Requires: python
|
|
|
bde7d23 |
Requires: python-requests
|
|
|
bde7d23 |
Requires: python-setuptools
|
|
|
bde7d23 |
Requires: grep
|
|
|
bde7d23 |
Requires: xfsprogs
|
|
|
bde7d23 |
Requires: logrotate
|
|
|
bde7d23 |
Requires: util-linux
|
|
|
bde7d23 |
Requires: hdparm
|
|
|
bde7d23 |
Requires: cryptsetup
|
|
|
bde7d23 |
Requires: findutils
|
|
|
bde7d23 |
Requires: which
|
|
|
bde7d23 |
%if 0%{?suse_version}
|
|
|
bde7d23 |
Requires: lsb-release
|
|
|
dadf49c |
Recommends: ntp-daemon
|
|
|
bde7d23 |
%endif
|
|
|
bde7d23 |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
bde7d23 |
Requires: redhat-lsb-core
|
|
|
bde7d23 |
%endif
|
|
|
dadf49c |
%if 0%{with xio}
|
|
|
dadf49c |
Requires: libxio
|
|
|
dadf49c |
%endif
|
|
|
bde7d23 |
%description base
|
|
|
bde7d23 |
Base is the package that includes all the files shared amongst ceph servers
|
|
|
bde7d23 |
|
|
|
08b7207 |
%package -n ceph-common
|
|
|
08b7207 |
Summary: Ceph Common
|
|
|
08b7207 |
Group: System Environment/Base
|
|
|
e44806f |
Requires: librbd1 = %{epoch}:%{version}-%{release}
|
|
|
e44806f |
Requires: librados2 = %{epoch}:%{version}-%{release}
|
|
|
bde7d23 |
Requires: libcephfs1 = %{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
|
|
|
bcc7f22 |
%{?systemd_requires}
|
|
|
bcc7f22 |
%if 0%{?suse_version}
|
|
|
bcc7f22 |
Requires(pre): pwdutils
|
|
|
bcc7f22 |
%endif
|
|
|
dadf49c |
%if 0%{with xio}
|
|
|
dadf49c |
Requires: libxio
|
|
|
bcc7f22 |
%endif
|
|
|
08b7207 |
%description -n ceph-common
|
|
|
2a379f1 |
Common utilities to mount and interact with a ceph storage cluster.
|
|
|
bde7d23 |
Comprised of files that are common to Ceph clients and servers.
|
|
|
bde7d23 |
|
|
|
bde7d23 |
%package mds
|
|
|
bde7d23 |
Summary: Ceph Metadata Server Daemon
|
|
|
bde7d23 |
Group: System Environment/Base
|
|
|
bde7d23 |
Requires: ceph-base = %{epoch}:%{version}-%{release}
|
|
|
bde7d23 |
%description mds
|
|
|
bde7d23 |
ceph-mds is the metadata server daemon for the Ceph distributed file system.
|
|
|
bde7d23 |
One or more instances of ceph-mds collectively manage the file system
|
|
|
bde7d23 |
namespace, coordinating access to the shared OSD cluster.
|
|
|
bde7d23 |
|
|
|
bde7d23 |
%package mon
|
|
|
bde7d23 |
Summary: Ceph Monitor Daemon
|
|
|
bde7d23 |
Group: System Environment/Base
|
|
|
bde7d23 |
Requires: ceph-base = %{epoch}:%{version}-%{release}
|
|
|
bde7d23 |
# For ceph-rest-api
|
|
|
bde7d23 |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
bde7d23 |
Requires: python-flask
|
|
|
bde7d23 |
%endif
|
|
|
bde7d23 |
%if 0%{?suse_version}
|
|
|
bde7d23 |
Requires: python-Flask
|
|
|
bde7d23 |
%endif
|
|
|
bde7d23 |
%description mon
|
|
|
bde7d23 |
ceph-mon is the cluster monitor daemon for the Ceph distributed file
|
|
|
bde7d23 |
system. One or more instances of ceph-mon form a Paxos part-time
|
|
|
bde7d23 |
parliament cluster that provides extremely reliable and durable storage
|
|
|
bde7d23 |
of cluster membership, configuration, and state.
|
|
|
08b7207 |
|
|
|
08b7207 |
%package fuse
|
|
|
08b7207 |
Summary: Ceph fuse-based client
|
|
|
08b7207 |
Group: System Environment/Base
|
|
|
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: librados2 = %{epoch}:%{version}-%{release}
|
|
|
e44806f |
Requires: librbd1 = %{epoch}:%{version}-%{release}
|
|
|
08b7207 |
%description -n rbd-fuse
|
|
|
08b7207 |
FUSE based client to map Ceph rbd images to files
|
|
|
08b7207 |
|
|
|
bde7d23 |
%package -n rbd-mirror
|
|
|
bde7d23 |
Summary: Ceph daemon for mirroring RBD images
|
|
|
bde7d23 |
Group: System Environment/Base
|
|
|
bde7d23 |
Requires: ceph-common = %{epoch}:%{version}-%{release}
|
|
|
bde7d23 |
Requires: librados2 = %{epoch}:%{version}-%{release}
|
|
|
bde7d23 |
%description -n rbd-mirror
|
|
|
bde7d23 |
Daemon for mirroring RBD images between Ceph clusters, streaming
|
|
|
bde7d23 |
changes asynchronously.
|
|
|
bde7d23 |
|
|
|
bde7d23 |
%package -n rbd-nbd
|
|
|
bde7d23 |
Summary: Ceph RBD client base on NBD
|
|
|
bde7d23 |
Group: System Environment/Base
|
|
|
bde7d23 |
Requires: librados2 = %{epoch}:%{version}-%{release}
|
|
|
bde7d23 |
Requires: librbd1 = %{epoch}:%{version}-%{release}
|
|
|
bde7d23 |
%description -n rbd-nbd
|
|
|
bde7d23 |
NBD based client to map Ceph rbd images to local device
|
|
|
bde7d23 |
|
|
Josef Bacik |
ca6b4d7 |
%package radosgw
|
|
|
08b7207 |
Summary: Rados REST gateway
|
|
|
08b7207 |
Group: Development/Libraries
|
|
|
e44806f |
Requires: ceph-common = %{epoch}:%{version}-%{release}
|
|
|
bcc7f22 |
%if 0%{with selinux}
|
|
|
bcc7f22 |
Requires: ceph-selinux = %{epoch}:%{version}-%{release}
|
|
|
bcc7f22 |
%endif
|
|
|
e44806f |
Requires: librados2 = %{epoch}:%{version}-%{release}
|
|
|
bde7d23 |
Requires: librgw2 = %{epoch}:%{version}-%{release}
|
|
|
bcc7f22 |
%if 0%{?rhel} || 0%{?fedora}
|
|
|
bcc7f22 |
Requires: mailcap
|
|
|
bde7d23 |
# python-flask for powerdns
|
|
|
bde7d23 |
Requires: python-flask
|
|
|
bde7d23 |
%endif
|
|
|
bde7d23 |
%if 0%{?suse_version}
|
|
|
bde7d23 |
# python-Flask for powerdns
|
|
|
bde7d23 |
Requires: python-Flask
|
|
|
08b7207 |
%endif
|
|
Josef Bacik |
ca6b4d7 |
%description radosgw
|
|
|
bde7d23 |
RADOS is a distributed object store used by the Ceph distributed
|
|
|
bde7d23 |
storage system. This package provides a REST gateway to the
|
|
|
bde7d23 |
object store that aims to implement a superset of Amazon's S3
|
|
|
bde7d23 |
service as well as the OpenStack Object Storage ("Swift") API.
|
|
Josef Bacik |
ca6b4d7 |
|
|
|
08b7207 |
%if %{with ocf}
|
|
|
08b7207 |
%package resource-agents
|
|
|
08b7207 |
Summary: OCF-compliant resource agents for Ceph daemons
|
|
|
08b7207 |
Group: System Environment/Base
|
|
|
08b7207 |
License: LGPL-2.0
|
|
|
bde7d23 |
Requires: ceph-base = %{epoch}:%{version}
|
|
|
08b7207 |
Requires: resource-agents
|
|
|
08b7207 |
%description resource-agents
|
|
|
08b7207 |
Resource agents for monitoring and managing Ceph daemons
|
|
|
08b7207 |
under Open Cluster Framework (OCF) compliant resource
|
|
|
08b7207 |
managers such as Pacemaker.
|
|
|
08b7207 |
%endif
|
|
|
9a1331d |
|
|
|
bde7d23 |
%package osd
|
|
|
bde7d23 |
Summary: Ceph Object Storage Daemon
|
|
|
bde7d23 |
Group: System Environment/Base
|
|
|
bde7d23 |
Requires: ceph-base = %{epoch}:%{version}-%{release}
|
|
|
bde7d23 |
# for sgdisk, used by ceph-disk
|
|
|
bde7d23 |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
bde7d23 |
Requires: gdisk
|
|
|
bde7d23 |
%endif
|
|
|
bde7d23 |
%if 0%{?suse_version}
|
|
|
bde7d23 |
Requires: gptfdisk
|
|
|
bde7d23 |
%endif
|
|
|
8d319bc |
Requires: parted
|
|
|
bde7d23 |
%description osd
|
|
|
bde7d23 |
ceph-osd is the object storage daemon for the Ceph distributed file
|
|
|
bde7d23 |
system. It is responsible for storing objects on a local file system
|
|
|
bde7d23 |
and providing access to them over the network.
|
|
|
bde7d23 |
|
|
|
08b7207 |
%package -n librados2
|
|
|
08b7207 |
Summary: RADOS distributed object store client library
|
|
|
08b7207 |
Group: System Environment/Libraries
|
|
|
08b7207 |
License: LGPL-2.0
|
|
|
bcc7f22 |
%if 0%{?rhel} || 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}
|
|
|
2a379f1 |
Obsoletes: ceph-devel < %{epoch}:%{version}-%{release}
|
|
|
7da3554 |
%description -n librados2-devel
|
|
|
7da3554 |
This package contains libraries and headers needed to develop programs
|
|
|
7da3554 |
that use RADOS object store.
|
|
|
7da3554 |
|
|
|
bde7d23 |
%package -n librgw2
|
|
|
bde7d23 |
Summary: RADOS gateway client library
|
|
|
bde7d23 |
Group: System Environment/Libraries
|
|
|
bde7d23 |
License: LGPL-2.0
|
|
|
bde7d23 |
Requires: librados2 = %{epoch}:%{version}-%{release}
|
|
|
bde7d23 |
%description -n librgw2
|
|
|
bde7d23 |
This package provides a library implementation of the RADOS gateway
|
|
|
bde7d23 |
(distributed object store with S3 and Swift personalities).
|
|
|
bde7d23 |
|
|
|
bde7d23 |
%package -n librgw2-devel
|
|
|
bde7d23 |
Summary: RADOS gateway client library
|
|
|
bde7d23 |
Group: Development/Libraries
|
|
|
bde7d23 |
License: LGPL-2.0
|
|
|
bde7d23 |
Requires: librados2 = %{epoch}:%{version}-%{release}
|
|
|
bde7d23 |
%description -n librgw2-devel
|
|
|
bde7d23 |
This package contains libraries and headers needed to develop programs
|
|
|
bde7d23 |
that use RADOS gateway client library.
|
|
|
bde7d23 |
|
|
|
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}
|
|
|
2a379f1 |
Obsoletes: python-ceph < %{epoch}:%{version}-%{release}
|
|
|
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}
|
|
|
2a379f1 |
Obsoletes: ceph-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}
|
|
|
bcc7f22 |
%if 0%{?rhel} || 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}
|
|
|
2a379f1 |
Obsoletes: ceph-devel < %{epoch}:%{version}-%{release}
|
|
|
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}
|
|
|
2a379f1 |
Obsoletes: python-ceph < %{epoch}:%{version}-%{release}
|
|
|
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
|
|
|
bcc7f22 |
%if 0%{?rhel} || 0%{?fedora}
|
|
|
3b0b0e0 |
Obsoletes: ceph-libs < %{epoch}:%{version}-%{release}
|
|
|
bcc7f22 |
Obsoletes: ceph-libcephfs
|
|
|
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}
|
|
|
2a379f1 |
Obsoletes: ceph-devel < %{epoch}:%{version}-%{release}
|
|
|
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}
|
|
|
2a379f1 |
Obsoletes: python-ceph < %{epoch}:%{version}-%{release}
|
|
|
7da3554 |
%description -n python-cephfs
|
|
|
7da3554 |
This package contains Python libraries for interacting with Cephs distributed
|
|
|
7da3554 |
file system.
|
|
|
08b7207 |
|
|
|
b318545 |
%package -n ceph-test
|
|
|
b318545 |
Summary: Ceph benchmarks and test tools
|
|
|
b318545 |
Group: System Environment/Libraries
|
|
|
b318545 |
License: LGPL-2.0
|
|
|
bcc7f22 |
Requires: ceph-common
|
|
|
bcc7f22 |
Requires: xmlstarlet
|
|
|
b318545 |
%description -n ceph-test
|
|
|
b318545 |
This package contains Ceph benchmarks and test tools.
|
|
|
b318545 |
|
|
|
bcc7f22 |
%if 0%{with cephfs_java}
|
|
|
bcc7f22 |
|
|
|
b318545 |
%package -n libcephfs_jni1
|
|
|
bcc7f22 |
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 |
%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
|
|
|
bcc7f22 |
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}
|
|
|
2a379f1 |
Obsoletes: ceph-devel < %{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
|
|
|
bcc7f22 |
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}
|
|
|
2a379f1 |
Requires: junit
|
|
|
2a379f1 |
BuildRequires: junit
|
|
|
b318545 |
%description -n cephfs-java
|
|
|
b318545 |
This package contains the Java libraries for the Ceph File System.
|
|
|
b318545 |
|
|
|
bcc7f22 |
%endif
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
%if 0%{with selinux}
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
%package selinux
|
|
|
bcc7f22 |
Summary: SELinux support for Ceph MON, OSD and MDS
|
|
|
bcc7f22 |
Group: System Environment/Base
|
|
|
bde7d23 |
Requires: ceph-base = %{epoch}:%{version}-%{release}
|
|
|
bcc7f22 |
Requires: policycoreutils, libselinux-utils
|
|
|
bcc7f22 |
Requires(post): selinux-policy-base >= %{_selinux_policy_version}, policycoreutils, gawk
|
|
|
bcc7f22 |
Requires(postun): policycoreutils
|
|
|
bcc7f22 |
%description selinux
|
|
|
bcc7f22 |
This package contains SELinux support for Ceph MON, OSD and MDS. The package
|
|
|
bcc7f22 |
also performs file-system relabelling which can take a long time on heavily
|
|
|
bcc7f22 |
populated file-systems.
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
%endif
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
%if 0%{with libs_compat}
|
|
|
bcc7f22 |
|
|
|
08b7207 |
%package libs-compat
|
|
|
bcc7f22 |
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}
|
|
|
e44806f |
Requires: librbd1 = %{epoch}:%{version}-%{release}
|
|
|
e44806f |
Requires: libcephfs1 = %{epoch}:%{version}-%{release}
|
|
|
08b7207 |
Provides: ceph-libs
|
|
|
2a379f1 |
|
|
|
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,
|
|
|
2a379f1 |
librbd1 or libcephfs1 instead.
|
|
|
08b7207 |
|
|
|
bcc7f22 |
%endif
|
|
|
bcc7f22 |
|
|
|
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: 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}
|
|
|
bcc7f22 |
%if 0%{with cephfs_java}
|
|
|
7da3554 |
Requires: libcephfs_jni1-devel = %{epoch}:%{version}-%{release}
|
|
|
bcc7f22 |
%endif
|
|
|
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 |
#################################################################################
|
|
|
08b7207 |
# common
|
|
|
08b7207 |
#################################################################################
|
|
|
08b7207 |
%prep
|
|
|
ceab65b |
%autosetup -p1
|
|
|
08b7207 |
|
|
|
08b7207 |
%build
|
|
|
bcc7f22 |
%if 0%{with cephfs_java}
|
|
|
08b7207 |
# Find jni.h
|
|
|
08b7207 |
for i in /usr/{lib64,lib}/jvm/java/include{,/linux}; do
|
|
|
08b7207 |
[ -d $i ] && java_inc="$java_inc -I$i"
|
|
|
08b7207 |
done
|
|
|
bcc7f22 |
%endif
|
|
|
08b7207 |
|
|
|
08b7207 |
./autogen.sh
|
|
|
08b7207 |
|
|
|
bcc7f22 |
%if %{with lowmem_builder}
|
|
|
bcc7f22 |
RPM_OPT_FLAGS="$RPM_OPT_FLAGS --param ggc-min-expand=20 --param ggc-min-heapsize=32768"
|
|
|
5311ad2 |
%endif
|
|
|
bcc7f22 |
export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed -e 's/i386/i486/'`
|
|
|
a5a738d |
%ifarch s390
|
|
|
a5a738d |
# Decrease debuginfo verbosity to reduce memory consumption even more
|
|
|
a5a738d |
export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed -e 's/-g /-g1 /'`
|
|
|
a5a738d |
%endif
|
|
|
5311ad2 |
|
|
|
08b7207 |
%{configure} CPPFLAGS="$java_inc" \
|
|
|
b318545 |
--prefix=/usr \
|
|
|
bde7d23 |
--libexecdir=%{_libexecdir} \
|
|
|
dadf49c |
--localstatedir=%{_localstatedir} \
|
|
|
dadf49c |
--sysconfdir=%{_sysconfdir} \
|
|
|
bde7d23 |
%if 0%{?rhel} && ! 0%{?centos}
|
|
|
bde7d23 |
--enable-subman \
|
|
|
bde7d23 |
%endif
|
|
|
bcc7f22 |
--with-systemdsystemunitdir=%_unitdir \
|
|
|
08b7207 |
--docdir=%{_docdir}/ceph \
|
|
|
bcc7f22 |
--with-man-pages \
|
|
|
bcc7f22 |
--mandir="%_mandir" \
|
|
|
b318545 |
--with-nss \
|
|
|
b318545 |
--without-cryptopp \
|
|
|
b318545 |
--with-debug \
|
|
|
bcc7f22 |
%if 0%{with cephfs_java}
|
|
|
b318545 |
--enable-cephfs-java \
|
|
|
bcc7f22 |
%endif
|
|
|
dadf49c |
%if 0%{with xio}
|
|
|
dadf49c |
--enable-xio \
|
|
|
dadf49c |
%endif
|
|
|
bcc7f22 |
%if 0%{with selinux}
|
|
|
bcc7f22 |
--with-selinux \
|
|
|
bcc7f22 |
%endif
|
|
|
2a379f1 |
--with-librocksdb-static=check \
|
|
|
bcc7f22 |
--with-radosgw \
|
|
|
bde7d23 |
%if %{without lttng}
|
|
|
bde7d23 |
--without-lttng \
|
|
|
bde7d23 |
--without-babeltrace \
|
|
|
bde7d23 |
%endif
|
|
|
bcc7f22 |
$CEPH_EXTRA_CONFIGURE_ARGS \
|
|
|
08b7207 |
%{?_with_ocf} \
|
|
|
20b0b2e |
%if %{without tcmalloc}
|
|
|
20b0b2e |
--without-tcmalloc \
|
|
|
20b0b2e |
%endif
|
|
|
bcc7f22 |
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
|
|
|
bcc7f22 |
|
|
|
bde7d23 |
%if %{with lowmem_builder}
|
|
|
bde7d23 |
%if 0%{?jobs} > 8
|
|
|
bde7d23 |
%define _smp_mflags -j8
|
|
|
bde7d23 |
%endif
|
|
|
bde7d23 |
%endif
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
make %{?_smp_mflags}
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
%if 0%{with tests}
|
|
|
bcc7f22 |
%check
|
|
|
bcc7f22 |
# run in-tree unittests
|
|
|
8d319bc |
make %{?_smp_mflags} check
|
|
|
08b7207 |
|
|
|
560f971 |
%endif
|
|
Jonathan Dieter |
0f5f195 |
|
|
|
bcc7f22 |
|
|
|
5dd73cb |
|
|
|
5dd73cb |
%install
|
|
|
dadf49c |
make DESTDIR=%{buildroot} install
|
|
|
dadf49c |
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
|
|
|
dadf49c |
find %{buildroot} -type f -name "*.a" -exec rm -f {} ';'
|
|
|
dadf49c |
install -D src/etc-rbdmap %{buildroot}%{_sysconfdir}/ceph/rbdmap
|
|
|
bcc7f22 |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
dadf49c |
install -m 0644 -D etc/sysconfig/ceph %{buildroot}%{_sysconfdir}/sysconfig/ceph
|
|
|
bcc7f22 |
%endif
|
|
|
bcc7f22 |
%if 0%{?suse_version}
|
|
|
dadf49c |
install -m 0644 -D etc/sysconfig/ceph %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}
|
|
|
bcc7f22 |
%endif
|
|
|
dadf49c |
install -m 0644 -D systemd/ceph.tmpfiles.d %{buildroot}%{_tmpfilesdir}/ceph-common.conf
|
|
|
dadf49c |
install -m 0755 -D systemd/ceph %{buildroot}%{_sbindir}/rcceph
|
|
|
dadf49c |
install -m 0644 -D systemd/50-ceph.preset %{buildroot}%{_libexecdir}/systemd/system-preset/50-ceph.preset
|
|
|
dadf49c |
mkdir -p %{buildroot}%{_sbindir}
|
|
|
dadf49c |
install -m 0644 -D src/logrotate.conf %{buildroot}%{_sysconfdir}/logrotate.d/ceph
|
|
|
dadf49c |
chmod 0644 %{buildroot}%{_docdir}/ceph/sample.ceph.conf
|
|
|
dadf49c |
chmod 0644 %{buildroot}%{_docdir}/ceph/sample.fetch_config
|
|
|
08b7207 |
|
|
|
8d319bc |
# firewall templates and /sbin/mount.ceph symlink
|
|
|
bcc7f22 |
%if 0%{?suse_version}
|
|
|
bcc7f22 |
install -m 0644 -D etc/sysconfig/SuSEfirewall2.d/services/ceph-mon %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ceph-mon
|
|
|
bcc7f22 |
install -m 0644 -D etc/sysconfig/SuSEfirewall2.d/services/ceph-osd-mds %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ceph-osd-mds
|
|
|
8d319bc |
mkdir -p %{buildroot}/sbin
|
|
|
8d319bc |
ln -sf %{_sbindir}/mount.ceph %{buildroot}/sbin/mount.ceph
|
|
|
08b7207 |
%endif
|
|
|
08b7207 |
|
|
|
bcc7f22 |
# udev rules
|
|
|
dadf49c |
install -m 0644 -D udev/50-rbd.rules %{buildroot}%{_udevrulesdir}/50-rbd.rules
|
|
|
8d319bc |
install -m 0644 -D udev/60-ceph-by-parttypeuuid.rules %{buildroot}%{_udevrulesdir}/60-ceph-by-parttypeuuid.rules
|
|
|
dadf49c |
install -m 0644 -D udev/95-ceph-osd.rules %{buildroot}%{_udevrulesdir}/95-ceph-osd.rules
|
|
|
08b7207 |
|
|
|
08b7207 |
#set up placeholder directories
|
|
|
dadf49c |
mkdir -p %{buildroot}%{_sysconfdir}/ceph
|
|
|
dadf49c |
mkdir -p %{buildroot}%{_localstatedir}/run/ceph
|
|
|
dadf49c |
mkdir -p %{buildroot}%{_localstatedir}/log/ceph
|
|
|
dadf49c |
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/tmp
|
|
|
dadf49c |
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/mon
|
|
|
dadf49c |
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/osd
|
|
|
dadf49c |
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/mds
|
|
|
dadf49c |
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/radosgw
|
|
|
dadf49c |
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-osd
|
|
|
dadf49c |
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-mds
|
|
|
dadf49c |
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rgw
|
|
|
08b7207 |
|
|
|
08b7207 |
%clean
|
|
|
dadf49c |
rm -rf %{buildroot}
|
|
Jonathan Dieter |
f32a9e4 |
|
|
|
bde7d23 |
#################################################################################
|
|
|
bde7d23 |
# files and systemd scriptlets
|
|
|
bde7d23 |
#################################################################################
|
|
|
bde7d23 |
%files
|
|
|
bde7d23 |
|
|
|
bde7d23 |
%files base
|
|
|
bde7d23 |
%defattr(-,root,root,-)
|
|
|
bde7d23 |
%docdir %{_docdir}
|
|
|
bde7d23 |
%dir %{_docdir}/ceph
|
|
|
bde7d23 |
%{_docdir}/ceph/sample.ceph.conf
|
|
|
bde7d23 |
%{_docdir}/ceph/sample.fetch_config
|
|
|
bde7d23 |
%{_bindir}/crushtool
|
|
|
bde7d23 |
%{_bindir}/monmaptool
|
|
|
bde7d23 |
%{_bindir}/osdmaptool
|
|
|
bde7d23 |
%{_bindir}/ceph-run
|
|
|
bde7d23 |
%{_bindir}/ceph-detect-init
|
|
|
bde7d23 |
%{_bindir}/ceph-client-debug
|
|
|
bde7d23 |
%{_bindir}/cephfs
|
|
|
bde7d23 |
%{_unitdir}/ceph-create-keys@.service
|
|
|
e5a890a |
%{_libexecdir}/systemd/system-preset/50-ceph.preset
|
|
|
bde7d23 |
%{_sbindir}/ceph-create-keys
|
|
|
bde7d23 |
%{_sbindir}/rcceph
|
|
|
bde7d23 |
%dir %{_libexecdir}/ceph
|
|
|
bde7d23 |
%{_libexecdir}/ceph/ceph_common.sh
|
|
|
bde7d23 |
%dir %{_libdir}/rados-classes
|
|
|
bde7d23 |
%{_libdir}/rados-classes/*
|
|
|
bde7d23 |
%dir %{_libdir}/ceph
|
|
|
bde7d23 |
%dir %{_libdir}/ceph/erasure-code
|
|
|
bde7d23 |
%{_libdir}/ceph/erasure-code/libec_*.so*
|
|
|
bde7d23 |
%dir %{_libdir}/ceph/compressor
|
|
|
bde7d23 |
%{_libdir}/ceph/compressor/libceph_*.so*
|
|
|
bde7d23 |
%if %{with lttng}
|
|
|
bde7d23 |
%{_libdir}/libos_tp.so*
|
|
|
bde7d23 |
%{_libdir}/libosd_tp.so*
|
|
|
bde7d23 |
%endif
|
|
|
bde7d23 |
%config %{_sysconfdir}/bash_completion.d/ceph
|
|
|
bde7d23 |
%config(noreplace) %{_sysconfdir}/logrotate.d/ceph
|
|
|
bde7d23 |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
bde7d23 |
%config(noreplace) %{_sysconfdir}/sysconfig/ceph
|
|
|
bde7d23 |
%endif
|
|
|
bde7d23 |
%if 0%{?suse_version}
|
|
|
bde7d23 |
%{_localstatedir}/adm/fillup-templates/sysconfig.*
|
|
|
bde7d23 |
%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ceph-mon
|
|
|
bde7d23 |
%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ceph-osd-mds
|
|
|
bde7d23 |
%endif
|
|
|
bde7d23 |
%{_unitdir}/ceph.target
|
|
|
bde7d23 |
%{python_sitelib}/ceph_detect_init*
|
|
|
bde7d23 |
%{python_sitelib}/ceph_disk*
|
|
|
bde7d23 |
%{_mandir}/man8/ceph-deploy.8*
|
|
|
bde7d23 |
%{_mandir}/man8/ceph-detect-init.8*
|
|
|
bde7d23 |
%{_mandir}/man8/ceph-create-keys.8*
|
|
|
bde7d23 |
%{_mandir}/man8/ceph-run.8*
|
|
|
bde7d23 |
%{_mandir}/man8/crushtool.8*
|
|
|
bde7d23 |
%{_mandir}/man8/osdmaptool.8*
|
|
|
bde7d23 |
%{_mandir}/man8/monmaptool.8*
|
|
|
bde7d23 |
%{_mandir}/man8/cephfs.8*
|
|
|
bde7d23 |
#set up placeholder directories
|
|
|
bde7d23 |
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/tmp
|
|
|
bde7d23 |
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-osd
|
|
|
bde7d23 |
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-mds
|
|
|
bde7d23 |
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-rgw
|
|
|
bde7d23 |
|
|
|
bde7d23 |
%post base
|
|
|
08b7207 |
/sbin/ldconfig
|
|
|
e5a890a |
%if 0%{?suse_version}
|
|
|
e5a890a |
%fillup_only
|
|
|
e5a890a |
if [ $1 -ge 1 ] ; then
|
|
|
e5a890a |
/usr/bin/systemctl preset ceph.target >/dev/null 2>&1 || :
|
|
|
e5a890a |
fi
|
|
|
bcc7f22 |
%endif
|
|
|
e5a890a |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
e5a890a |
%systemd_post ceph.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
/usr/bin/systemctl start ceph.target >/dev/null 2>&1 || :
|
|
|
5dd73cb |
|
|
|
bde7d23 |
%preun base
|
|
|
e5a890a |
%if 0%{?suse_version}
|
|
|
e5a890a |
%service_del_preun ceph.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
e5a890a |
%systemd_preun ceph.target
|
|
|
08b7207 |
%endif
|
|
|
5dd73cb |
|
|
|
bde7d23 |
%postun base
|
|
|
08b7207 |
/sbin/ldconfig
|
|
|
e5a890a |
%if 0%{?suse_version}
|
|
|
e5a890a |
DISABLE_RESTART_ON_UPDATE="yes"
|
|
|
e5a890a |
%service_del_postun ceph.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
e5a890a |
%systemd_postun ceph.target
|
|
|
08b7207 |
%endif
|
|
|
5dd73cb |
|
|
|
08b7207 |
#################################################################################
|
|
|
bde7d23 |
%files common
|
|
|
08b7207 |
%defattr(-,root,root,-)
|
|
|
08b7207 |
%{_bindir}/ceph
|
|
|
08b7207 |
%{_bindir}/ceph-authtool
|
|
|
08b7207 |
%{_bindir}/ceph-conf
|
|
|
08b7207 |
%{_bindir}/ceph-dencoder
|
|
|
2a379f1 |
%{_bindir}/ceph-rbdnamer
|
|
|
08b7207 |
%{_bindir}/ceph-syn
|
|
|
08b7207 |
%{_bindir}/ceph-crush-location
|
|
|
bde7d23 |
%{_bindir}/cephfs-data-scan
|
|
|
bde7d23 |
%{_bindir}/cephfs-journal-tool
|
|
|
bde7d23 |
%{_bindir}/cephfs-table-tool
|
|
|
08b7207 |
%{_bindir}/rados
|
|
|
08b7207 |
%{_bindir}/rbd
|
|
|
bcc7f22 |
%{_bindir}/rbd-replay
|
|
|
bcc7f22 |
%{_bindir}/rbd-replay-many
|
|
|
bde7d23 |
%{_bindir}/rbdmap
|
|
|
8d319bc |
%{_sbindir}/mount.ceph
|
|
|
8d319bc |
%if 0%{?suse_version}
|
|
|
8d319bc |
/sbin/mount.ceph
|
|
|
8d319bc |
%endif
|
|
|
bde7d23 |
%if %{with lttng}
|
|
|
bcc7f22 |
%{_bindir}/rbd-replay-prep
|
|
|
bcc7f22 |
%endif
|
|
|
08b7207 |
%{_bindir}/ceph-post-file
|
|
|
08b7207 |
%{_bindir}/ceph-brag
|
|
|
bcc7f22 |
%{_tmpfilesdir}/ceph-common.conf
|
|
|
08b7207 |
%{_mandir}/man8/ceph-authtool.8*
|
|
|
08b7207 |
%{_mandir}/man8/ceph-conf.8*
|
|
|
9a1331d |
%{_mandir}/man8/ceph-dencoder.8*
|
|
|
2a379f1 |
%{_mandir}/man8/ceph-rbdnamer.8*
|
|
|
08b7207 |
%{_mandir}/man8/ceph-syn.8*
|
|
|
9a1331d |
%{_mandir}/man8/ceph-post-file.8*
|
|
|
08b7207 |
%{_mandir}/man8/ceph.8*
|
|
|
8d319bc |
%{_mandir}/man8/mount.ceph.8*
|
|
|
08b7207 |
%{_mandir}/man8/rados.8*
|
|
|
08b7207 |
%{_mandir}/man8/rbd.8*
|
|
|
bde7d23 |
%{_mandir}/man8/rbdmap.8*
|
|
|
bcc7f22 |
%{_mandir}/man8/rbd-replay.8*
|
|
|
bcc7f22 |
%{_mandir}/man8/rbd-replay-many.8*
|
|
|
bcc7f22 |
%{_mandir}/man8/rbd-replay-prep.8*
|
|
|
bde7d23 |
%dir %{_datadir}/ceph/
|
|
|
9a1331d |
%{_datadir}/ceph/known_hosts_drop.ceph.com
|
|
|
08b7207 |
%{_datadir}/ceph/id_dsa_drop.ceph.com
|
|
|
08b7207 |
%{_datadir}/ceph/id_dsa_drop.ceph.com.pub
|
|
|
08b7207 |
%dir %{_sysconfdir}/ceph/
|
|
|
08b7207 |
%config %{_sysconfdir}/bash_completion.d/rados
|
|
|
08b7207 |
%config %{_sysconfdir}/bash_completion.d/rbd
|
|
|
08b7207 |
%config(noreplace) %{_sysconfdir}/ceph/rbdmap
|
|
|
bde7d23 |
%{_unitdir}/rbdmap.service
|
|
|
7da3554 |
%{python_sitelib}/ceph_argparse.py*
|
|
|
bcc7f22 |
%{python_sitelib}/ceph_daemon.py*
|
|
|
bcc7f22 |
%{_udevrulesdir}/50-rbd.rules
|
|
|
bcc7f22 |
%attr(3770,ceph,ceph) %dir %{_localstatedir}/log/ceph/
|
|
|
bcc7f22 |
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/
|
|
|
bcc7f22 |
|
|
|
bde7d23 |
%pre common
|
|
|
bde7d23 |
CEPH_GROUP_ID=167
|
|
|
bde7d23 |
CEPH_USER_ID=167
|
|
|
bcc7f22 |
%if 0%{?rhel} || 0%{?fedora}
|
|
|
dadf49c |
/usr/sbin/groupadd ceph -g $CEPH_GROUP_ID -o -r 2>/dev/null || :
|
|
|
dadf49c |
/usr/sbin/useradd ceph -u $CEPH_USER_ID -o -r -g ceph -s /sbin/nologin -c "Ceph daemons" -d %{_localstatedir}/lib/ceph 2>/dev/null || :
|
|
|
bcc7f22 |
%endif
|
|
|
bcc7f22 |
%if 0%{?suse_version}
|
|
|
bde7d23 |
if ! getent group ceph >/dev/null ; then
|
|
|
bde7d23 |
CEPH_GROUP_ID_OPTION=""
|
|
|
bde7d23 |
getent group $CEPH_GROUP_ID >/dev/null || CEPH_GROUP_ID_OPTION="-g $CEPH_GROUP_ID"
|
|
|
bde7d23 |
groupadd ceph $CEPH_GROUP_ID_OPTION -r 2>/dev/null || :
|
|
|
bde7d23 |
fi
|
|
|
bde7d23 |
if ! getent passwd ceph >/dev/null ; then
|
|
|
bde7d23 |
CEPH_USER_ID_OPTION=""
|
|
|
bde7d23 |
getent passwd $CEPH_USER_ID >/dev/null || CEPH_USER_ID_OPTION="-u $CEPH_USER_ID"
|
|
|
dadf49c |
useradd ceph $CEPH_USER_ID_OPTION -r -g ceph -s /sbin/nologin 2>/dev/null || :
|
|
|
bde7d23 |
fi
|
|
|
dadf49c |
usermod -c "Ceph storage service" \
|
|
|
dadf49c |
-d %{_localstatedir}/lib/ceph \
|
|
|
dadf49c |
-g ceph \
|
|
|
dadf49c |
-s /sbin/nologin \
|
|
|
dadf49c |
ceph
|
|
|
bcc7f22 |
%endif
|
|
|
bcc7f22 |
exit 0
|
|
|
bcc7f22 |
|
|
|
bde7d23 |
%post common
|
|
|
bde7d23 |
%tmpfiles_create %{_tmpfilesdir}/ceph-common.conf
|
|
Josef Bacik |
8f23225 |
|
|
|
bde7d23 |
%postun common
|
|
|
08b7207 |
# Package removal cleanup
|
|
|
08b7207 |
if [ "$1" -eq "0" ] ; then
|
|
|
dadf49c |
rm -rf %{_localstatedir}/log/ceph
|
|
|
dadf49c |
rm -rf %{_sysconfdir}/ceph
|
|
|
08b7207 |
fi
|
|
Josef Bacik |
8f23225 |
|
|
|
08b7207 |
#################################################################################
|
|
|
bde7d23 |
%files mds
|
|
|
bde7d23 |
%{_bindir}/ceph-mds
|
|
|
bde7d23 |
%{_mandir}/man8/ceph-mds.8*
|
|
|
bde7d23 |
%{_unitdir}/ceph-mds@.service
|
|
|
bde7d23 |
%{_unitdir}/ceph-mds.target
|
|
|
bde7d23 |
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/mds
|
|
|
bde7d23 |
|
|
|
e5a890a |
%post mds
|
|
|
e5a890a |
%if 0%{?suse_version}
|
|
|
e5a890a |
if [ $1 -ge 1 ] ; then
|
|
|
e5a890a |
/usr/bin/systemctl preset ceph-mds@\*.service ceph-mds.target >/dev/null 2>&1 || :
|
|
|
e5a890a |
fi
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
e5a890a |
%systemd_post ceph-mds@\*.service ceph-mds.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
/usr/bin/systemctl start ceph-mds.target >/dev/null 2>&1 || :
|
|
|
e5a890a |
|
|
|
e5a890a |
%preun mds
|
|
|
e5a890a |
%if 0%{?suse_version}
|
|
|
e5a890a |
%service_del_preun ceph-mds@\*.service ceph-mds.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
e5a890a |
%systemd_preun ceph-mds@\*.service ceph-mds.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
|
|
|
e5a890a |
%postun mds
|
|
|
e5a890a |
test -n "$FIRST_ARG" || FIRST_ARG=$1
|
|
|
e5a890a |
%if 0%{?suse_version}
|
|
|
e5a890a |
DISABLE_RESTART_ON_UPDATE="yes"
|
|
|
e5a890a |
%service_del_postun ceph-mds@\*.service ceph-mds.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
e5a890a |
%systemd_postun ceph-mds@\*.service ceph-mds.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
if [ $FIRST_ARG -ge 1 ] ; then
|
|
|
e5a890a |
# Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
|
|
|
e5a890a |
# "yes". In any case: if units are not running, do not touch them.
|
|
|
dadf49c |
SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
|
|
|
e5a890a |
if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
|
|
|
e5a890a |
source $SYSCONF_CEPH
|
|
|
e5a890a |
fi
|
|
|
e5a890a |
if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
|
|
|
e5a890a |
/usr/bin/systemctl try-restart ceph-mds@\*.service > /dev/null 2>&1 || :
|
|
|
e5a890a |
fi
|
|
|
e5a890a |
fi
|
|
|
e5a890a |
|
|
|
bde7d23 |
#################################################################################
|
|
|
bde7d23 |
%files mon
|
|
|
bde7d23 |
%{_bindir}/ceph-mon
|
|
|
bde7d23 |
%{_bindir}/ceph-rest-api
|
|
|
bde7d23 |
%{_mandir}/man8/ceph-mon.8*
|
|
|
bde7d23 |
%{_mandir}/man8/ceph-rest-api.8*
|
|
|
bde7d23 |
%{python_sitelib}/ceph_rest_api.py*
|
|
|
bde7d23 |
%{_unitdir}/ceph-mon@.service
|
|
|
bde7d23 |
%{_unitdir}/ceph-mon.target
|
|
|
bde7d23 |
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/mon
|
|
|
bde7d23 |
|
|
|
e5a890a |
%post mon
|
|
|
e5a890a |
%if 0%{?suse_version}
|
|
|
e5a890a |
if [ $1 -ge 1 ] ; then
|
|
|
e5a890a |
/usr/bin/systemctl preset ceph-create-keys@\*.service ceph-mon@\*.service ceph-mon.target >/dev/null 2>&1 || :
|
|
|
e5a890a |
fi
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
e5a890a |
%systemd_post ceph-create-keys@\*.service ceph-mon@\*.service ceph-mon.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
/usr/bin/systemctl start ceph-mon.target >/dev/null 2>&1 || :
|
|
|
e5a890a |
|
|
|
e5a890a |
%preun mon
|
|
|
e5a890a |
%if 0%{?suse_version}
|
|
|
e5a890a |
%service_del_preun ceph-create-keys@\*.service ceph-mon@\*.service ceph-mon.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
e5a890a |
%systemd_preun ceph-create-keys@\*.service ceph-mon@\*.service ceph-mon.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
|
|
|
e5a890a |
%postun mon
|
|
|
e5a890a |
test -n "$FIRST_ARG" || FIRST_ARG=$1
|
|
|
e5a890a |
%if 0%{?suse_version}
|
|
|
e5a890a |
DISABLE_RESTART_ON_UPDATE="yes"
|
|
|
e5a890a |
%service_del_postun ceph-create-keys@\*.service ceph-mon@\*.service ceph-mon.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
e5a890a |
%systemd_postun ceph-create-keys@\*.service ceph-mon@\*.service ceph-mon.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
if [ $FIRST_ARG -ge 1 ] ; then
|
|
|
e5a890a |
# Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
|
|
|
e5a890a |
# "yes". In any case: if units are not running, do not touch them.
|
|
|
dadf49c |
SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
|
|
|
e5a890a |
if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
|
|
|
e5a890a |
source $SYSCONF_CEPH
|
|
|
e5a890a |
fi
|
|
|
e5a890a |
if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
|
|
|
e5a890a |
/usr/bin/systemctl try-restart ceph-create-keys@\*.service ceph-mon@\*.service > /dev/null 2>&1 || :
|
|
|
e5a890a |
fi
|
|
|
e5a890a |
fi
|
|
|
e5a890a |
|
|
|
bde7d23 |
#################################################################################
|
|
|
5dd73cb |
%files fuse
|
|
|
08b7207 |
%defattr(-,root,root,-)
|
|
David Nalley |
d10f18b |
%{_bindir}/ceph-fuse
|
|
|
9a1331d |
%{_mandir}/man8/ceph-fuse.8*
|
|
|
08b7207 |
%{_sbindir}/mount.fuse.ceph
|
|
|
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 |
#################################################################################
|
|
|
bde7d23 |
%files -n rbd-mirror
|
|
|
bde7d23 |
%defattr(-,root,root,-)
|
|
|
bde7d23 |
%{_bindir}/rbd-mirror
|
|
|
bde7d23 |
%{_mandir}/man8/rbd-mirror.8*
|
|
|
bde7d23 |
%{_unitdir}/ceph-rbd-mirror@.service
|
|
|
bde7d23 |
%{_unitdir}/ceph-rbd-mirror.target
|
|
|
bde7d23 |
|
|
|
e5a890a |
%post -n rbd-mirror
|
|
|
e5a890a |
%if 0%{?suse_version}
|
|
|
e5a890a |
if [ $1 -ge 1 ] ; then
|
|
|
e5a890a |
/usr/bin/systemctl preset ceph-rbd-mirror@\*.service ceph-rbd-mirror.target >/dev/null 2>&1 || :
|
|
|
e5a890a |
fi
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
e5a890a |
%systemd_post ceph-rbd-mirror@\*.service ceph-rbd-mirror.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
/usr/bin/systemctl start ceph-rbd-mirror.target >/dev/null 2>&1 || :
|
|
|
e5a890a |
|
|
|
e5a890a |
%preun -n rbd-mirror
|
|
|
e5a890a |
%if 0%{?suse_version}
|
|
|
e5a890a |
%service_del_preun ceph-rbd-mirror@\*.service ceph-rbd-mirror.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
e5a890a |
%systemd_preun ceph-rbd-mirror@\*.service ceph-rbd-mirror.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
|
|
|
e5a890a |
%postun -n rbd-mirror
|
|
|
e5a890a |
test -n "$FIRST_ARG" || FIRST_ARG=$1
|
|
|
e5a890a |
%if 0%{?suse_version}
|
|
|
e5a890a |
DISABLE_RESTART_ON_UPDATE="yes"
|
|
|
e5a890a |
%service_del_postun ceph-rbd-mirror@\*.service ceph-rbd-mirror.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
e5a890a |
%systemd_postun ceph-rbd-mirror@\*.service ceph-rbd-mirror.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
if [ $FIRST_ARG -ge 1 ] ; then
|
|
|
e5a890a |
# Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
|
|
|
e5a890a |
# "yes". In any case: if units are not running, do not touch them.
|
|
|
dadf49c |
SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
|
|
|
e5a890a |
if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
|
|
|
e5a890a |
source $SYSCONF_CEPH
|
|
|
e5a890a |
fi
|
|
|
e5a890a |
if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
|
|
|
e5a890a |
/usr/bin/systemctl try-restart ceph-rbd-mirror@\*.service > /dev/null 2>&1 || :
|
|
|
e5a890a |
fi
|
|
|
e5a890a |
fi
|
|
|
e5a890a |
|
|
|
bde7d23 |
#################################################################################
|
|
|
bde7d23 |
%files -n rbd-nbd
|
|
|
bde7d23 |
%defattr(-,root,root,-)
|
|
|
bde7d23 |
%{_bindir}/rbd-nbd
|
|
|
bde7d23 |
%{_mandir}/man8/rbd-nbd.8*
|
|
|
bde7d23 |
|
|
|
bde7d23 |
#################################################################################
|
|
Josef Bacik |
ca6b4d7 |
%files radosgw
|
|
|
08b7207 |
%defattr(-,root,root,-)
|
|
Josef Bacik |
ca6b4d7 |
%{_bindir}/radosgw
|
|
David Nalley |
d10f18b |
%{_bindir}/radosgw-admin
|
|
|
bde7d23 |
%{_bindir}/radosgw-token
|
|
|
bcc7f22 |
%{_bindir}/radosgw-object-expirer
|
|
|
08b7207 |
%{_mandir}/man8/radosgw.8*
|
|
|
08b7207 |
%{_mandir}/man8/radosgw-admin.8*
|
|
|
08b7207 |
%config %{_sysconfdir}/bash_completion.d/radosgw-admin
|
|
|
bcc7f22 |
%dir %{_localstatedir}/lib/ceph/radosgw
|
|
|
bde7d23 |
%{_unitdir}/ceph-radosgw@.service
|
|
|
bde7d23 |
%{_unitdir}/ceph-radosgw.target
|
|
|
08b7207 |
|
|
|
08b7207 |
%post radosgw
|
|
|
bcc7f22 |
%if 0%{?suse_version}
|
|
|
e5a890a |
if [ $1 -ge 1 ] ; then
|
|
|
e5a890a |
/usr/bin/systemctl preset ceph-radosgw@\*.service ceph-radosgw.target >/dev/null 2>&1 || :
|
|
|
e5a890a |
fi
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
e5a890a |
%systemd_post ceph-radosgw@\*.service ceph-radosgw.target
|
|
|
08b7207 |
%endif
|
|
|
e5a890a |
/usr/bin/systemctl start ceph-radosgw.target >/dev/null 2>&1 || :
|
|
|
08b7207 |
|
|
|
08b7207 |
%preun radosgw
|
|
|
e5a890a |
%if 0%{?suse_version}
|
|
|
e5a890a |
%service_del_preun ceph-radosgw@\*.service ceph-radosgw.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
e5a890a |
%systemd_preun ceph-radosgw@\*.service ceph-radosgw.target
|
|
|
08b7207 |
%endif
|
|
|
08b7207 |
|
|
|
08b7207 |
%postun radosgw
|
|
|
e5a890a |
test -n "$FIRST_ARG" || FIRST_ARG=$1
|
|
|
e5a890a |
%if 0%{?suse_version}
|
|
|
e5a890a |
DISABLE_RESTART_ON_UPDATE="yes"
|
|
|
e5a890a |
%service_del_postun ceph-radosgw@\*.service ceph-radosgw.target
|
|
|
08b7207 |
%endif
|
|
|
e5a890a |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
e5a890a |
%systemd_postun ceph-radosgw@\*.service ceph-radosgw.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
if [ $FIRST_ARG -ge 1 ] ; then
|
|
|
e5a890a |
# Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
|
|
|
e5a890a |
# "yes". In any case: if units are not running, do not touch them.
|
|
|
dadf49c |
SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
|
|
|
e5a890a |
if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
|
|
|
e5a890a |
source $SYSCONF_CEPH
|
|
|
e5a890a |
fi
|
|
|
e5a890a |
if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
|
|
|
e5a890a |
/usr/bin/systemctl try-restart ceph-radosgw@\*.service > /dev/null 2>&1 || :
|
|
|
e5a890a |
fi
|
|
|
e5a890a |
fi
|
|
|
08b7207 |
|
|
|
08b7207 |
#################################################################################
|
|
|
bde7d23 |
%files osd
|
|
|
bde7d23 |
%{_bindir}/ceph-clsinfo
|
|
|
bde7d23 |
%{_bindir}/ceph-bluefs-tool
|
|
|
bde7d23 |
%{_bindir}/ceph-objectstore-tool
|
|
|
bde7d23 |
%{_bindir}/ceph-osd
|
|
|
bde7d23 |
%{_sbindir}/ceph-disk
|
|
|
bde7d23 |
%{_sbindir}/ceph-disk-udev
|
|
|
bde7d23 |
%{_libexecdir}/ceph/ceph-osd-prestart.sh
|
|
|
8d319bc |
%{_udevrulesdir}/60-ceph-by-parttypeuuid.rules
|
|
|
bde7d23 |
%{_udevrulesdir}/95-ceph-osd.rules
|
|
|
bde7d23 |
%{_mandir}/man8/ceph-clsinfo.8*
|
|
|
bde7d23 |
%{_mandir}/man8/ceph-disk.8*
|
|
|
bde7d23 |
%{_mandir}/man8/ceph-osd.8*
|
|
|
bde7d23 |
%if 0%{?rhel} && ! 0%{?centos}
|
|
|
dadf49c |
%{_sysconfdir}/cron.hourly/subman
|
|
|
bde7d23 |
%endif
|
|
|
bde7d23 |
%{_unitdir}/ceph-osd@.service
|
|
|
bde7d23 |
%{_unitdir}/ceph-osd.target
|
|
|
bde7d23 |
%{_unitdir}/ceph-disk@.service
|
|
|
bde7d23 |
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/osd
|
|
|
bde7d23 |
|
|
|
e5a890a |
%post osd
|
|
|
e5a890a |
%if 0%{?suse_version}
|
|
|
e5a890a |
if [ $1 -ge 1 ] ; then
|
|
|
e5a890a |
/usr/bin/systemctl preset ceph-disk@\*.service ceph-osd@\*.service ceph-osd.target >/dev/null 2>&1 || :
|
|
|
e5a890a |
fi
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
e5a890a |
%systemd_post ceph-disk@\*.service ceph-osd@\*.service ceph-osd.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
/usr/bin/systemctl start ceph-osd.target >/dev/null 2>&1 || :
|
|
|
e5a890a |
|
|
|
e5a890a |
%preun osd
|
|
|
e5a890a |
%if 0%{?suse_version}
|
|
|
e5a890a |
%service_del_preun ceph-disk@\*.service ceph-osd@\*.service ceph-osd.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
e5a890a |
%systemd_preun ceph-disk@\*.service ceph-osd@\*.service ceph-osd.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
|
|
|
e5a890a |
%postun osd
|
|
|
e5a890a |
test -n "$FIRST_ARG" || FIRST_ARG=$1
|
|
|
e5a890a |
%if 0%{?suse_version}
|
|
|
e5a890a |
DISABLE_RESTART_ON_UPDATE="yes"
|
|
|
e5a890a |
%service_del_postun ceph-disk@\*.service ceph-osd@\*.service ceph-osd.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
%if 0%{?fedora} || 0%{?rhel}
|
|
|
e5a890a |
%systemd_postun ceph-disk@\*.service ceph-osd@\*.service ceph-osd.target
|
|
|
e5a890a |
%endif
|
|
|
e5a890a |
if [ $FIRST_ARG -ge 1 ] ; then
|
|
|
e5a890a |
# Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
|
|
|
e5a890a |
# "yes". In any case: if units are not running, do not touch them.
|
|
|
dadf49c |
SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
|
|
|
e5a890a |
if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
|
|
|
e5a890a |
source $SYSCONF_CEPH
|
|
|
e5a890a |
fi
|
|
|
e5a890a |
if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
|
|
|
e5a890a |
/usr/bin/systemctl try-restart ceph-disk@\*.service ceph-osd@\*.service > /dev/null 2>&1 || :
|
|
|
e5a890a |
fi
|
|
|
e5a890a |
fi
|
|
|
e5a890a |
|
|
|
bde7d23 |
#################################################################################
|
|
|
08b7207 |
%if %{with ocf}
|
|
|
bde7d23 |
|
|
|
08b7207 |
%files resource-agents
|
|
|
08b7207 |
%defattr(0755,root,root,-)
|
|
|
bde7d23 |
# N.B. src/ocf/Makefile.am uses $(prefix)/lib
|
|
|
bde7d23 |
%dir %{_prefix}/lib/ocf
|
|
|
bde7d23 |
%dir %{_prefix}/lib/ocf/resource.d
|
|
|
bde7d23 |
%dir %{_prefix}/lib/ocf/resource.d/ceph
|
|
|
bde7d23 |
%{_prefix}/lib/ocf/resource.d/ceph/rbd
|
|
|
bde7d23 |
|
|
|
08b7207 |
%endif
|
|
|
08b7207 |
|
|
|
08b7207 |
#################################################################################
|
|
|
08b7207 |
%files -n librados2
|
|
|
08b7207 |
%defattr(-,root,root,-)
|
|
|
08b7207 |
%{_libdir}/librados.so.*
|
|
|
bde7d23 |
%if %{with lttng}
|
|
|
bcc7f22 |
%{_libdir}/librados_tp.so.*
|
|
|
bcc7f22 |
%endif
|
|
|
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
|
|
|
bde7d23 |
%{_includedir}/rados/buffer_fwd.h
|
|
|
7da3554 |
%{_includedir}/rados/page.h
|
|
|
7da3554 |
%{_includedir}/rados/crc32c.h
|
|
|
7da3554 |
%{_includedir}/rados/rados_types.h
|
|
|
7da3554 |
%{_includedir}/rados/rados_types.hpp
|
|
|
7da3554 |
%{_includedir}/rados/memory.h
|
|
|
7da3554 |
%{_libdir}/librados.so
|
|
|
bde7d23 |
%if %{with lttng}
|
|
|
bcc7f22 |
%{_libdir}/librados_tp.so
|
|
|
bcc7f22 |
%endif
|
|
|
bde7d23 |
%{_bindir}/librados-config
|
|
|
bde7d23 |
%{_mandir}/man8/librados-config.8*
|
|
|
7da3554 |
|
|
|
7da3554 |
#################################################################################
|
|
|
7da3554 |
%files -n python-rados
|
|
|
7da3554 |
%defattr(-,root,root,-)
|
|
|
bde7d23 |
%{python_sitearch}/rados.so
|
|
|
bde7d23 |
%{python_sitearch}/rados-*.egg-info
|
|
|
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.*
|
|
|
bde7d23 |
%if %{with lttng}
|
|
|
bcc7f22 |
%{_libdir}/librbd_tp.so.*
|
|
|
bcc7f22 |
%endif
|
|
|
08b7207 |
|
|
|
08b7207 |
%post -n librbd1
|
|
|
08b7207 |
/sbin/ldconfig
|
|
|
08b7207 |
mkdir -p /usr/lib64/qemu/
|
|
|
08b7207 |
ln -sf %{_libdir}/librbd.so.1 /usr/lib64/qemu/librbd.so.1
|
|
|
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
|
|
|
bde7d23 |
%if %{with lttng}
|
|
|
bcc7f22 |
%{_libdir}/librbd_tp.so
|
|
|
bcc7f22 |
%endif
|
|
|
7da3554 |
|
|
|
7da3554 |
#################################################################################
|
|
|
bde7d23 |
%files -n librgw2
|
|
|
bde7d23 |
%defattr(-,root,root,-)
|
|
|
bde7d23 |
%{_libdir}/librgw.so.*
|
|
|
bde7d23 |
|
|
|
bde7d23 |
%post -n librgw2
|
|
|
bde7d23 |
/sbin/ldconfig
|
|
|
bde7d23 |
|
|
|
bde7d23 |
%postun -n librgw2
|
|
|
bde7d23 |
/sbin/ldconfig
|
|
|
bde7d23 |
|
|
|
bde7d23 |
#################################################################################
|
|
|
bde7d23 |
%files -n librgw2-devel
|
|
|
bde7d23 |
%defattr(-,root,root,-)
|
|
|
bde7d23 |
%dir %{_includedir}/rados
|
|
|
bde7d23 |
%{_includedir}/rados/librgw.h
|
|
|
bde7d23 |
%{_includedir}/rados/rgw_file.h
|
|
|
bde7d23 |
%{_libdir}/librgw.so
|
|
|
bde7d23 |
|
|
|
bde7d23 |
#################################################################################
|
|
|
7da3554 |
%files -n python-rbd
|
|
|
7da3554 |
%defattr(-,root,root,-)
|
|
|
bde7d23 |
%{python_sitearch}/rbd.so
|
|
|
bde7d23 |
%{python_sitearch}/rbd-*.egg-info
|
|
|
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,-)
|
|
|
bde7d23 |
%{python_sitearch}/cephfs.so
|
|
|
bde7d23 |
%{python_sitearch}/cephfs-*.egg-info
|
|
|
bde7d23 |
%{python_sitelib}/ceph_volume_client.py*
|
|
|
08b7207 |
|
|
|
b318545 |
#################################################################################
|
|
|
b318545 |
%files -n ceph-test
|
|
|
b318545 |
%defattr(-,root,root,-)
|
|
|
b318545 |
%{_bindir}/ceph_bench_log
|
|
|
b318545 |
%{_bindir}/ceph_kvstorebench
|
|
|
b318545 |
%{_bindir}/ceph_multi_stress_watch
|
|
|
b318545 |
%{_bindir}/ceph_erasure_code
|
|
|
b318545 |
%{_bindir}/ceph_erasure_code_benchmark
|
|
|
b318545 |
%{_bindir}/ceph_omapbench
|
|
|
bcc7f22 |
%{_bindir}/ceph_objectstore_bench
|
|
|
bcc7f22 |
%{_bindir}/ceph_perf_objectstore
|
|
|
bcc7f22 |
%{_bindir}/ceph_perf_local
|
|
|
bcc7f22 |
%{_bindir}/ceph_perf_msgr_client
|
|
|
bcc7f22 |
%{_bindir}/ceph_perf_msgr_server
|
|
|
b318545 |
%{_bindir}/ceph_psim
|
|
|
b318545 |
%{_bindir}/ceph_radosacl
|
|
|
b318545 |
%{_bindir}/ceph_rgw_jsonparser
|
|
|
b318545 |
%{_bindir}/ceph_rgw_multiparser
|
|
|
b318545 |
%{_bindir}/ceph_scratchtool
|
|
|
b318545 |
%{_bindir}/ceph_scratchtoolpp
|
|
|
b318545 |
%{_bindir}/ceph_smalliobench
|
|
|
b318545 |
%{_bindir}/ceph_smalliobenchdumb
|
|
|
b318545 |
%{_bindir}/ceph_smalliobenchfs
|
|
|
b318545 |
%{_bindir}/ceph_smalliobenchrbd
|
|
|
b318545 |
%{_bindir}/ceph_test_*
|
|
|
bde7d23 |
%{_bindir}/librgw_file*
|
|
|
b318545 |
%{_bindir}/ceph_tpbench
|
|
|
b318545 |
%{_bindir}/ceph_xattr_bench
|
|
|
bde7d23 |
%{_bindir}/ceph-coverage
|
|
|
b318545 |
%{_bindir}/ceph-monstore-tool
|
|
|
b318545 |
%{_bindir}/ceph-osdomap-tool
|
|
|
b318545 |
%{_bindir}/ceph-kvstore-tool
|
|
|
bde7d23 |
%{_bindir}/ceph-debugpack
|
|
|
bde7d23 |
%{_mandir}/man8/ceph-debugpack.8*
|
|
|
bcc7f22 |
%dir %{_libdir}/ceph
|
|
|
bcc7f22 |
%{_libdir}/ceph/ceph-monstore-update-crush.sh
|
|
|
b318545 |
|
|
|
2a379f1 |
#################################################################################
|
|
|
bcc7f22 |
%if 0%{with cephfs_java}
|
|
|
b318545 |
%files -n libcephfs_jni1
|
|
|
b318545 |
%defattr(-,root,root,-)
|
|
|
b318545 |
%{_libdir}/libcephfs_jni.so.*
|
|
|
b318545 |
|
|
|
bcc7f22 |
%post -n libcephfs_jni1
|
|
|
bcc7f22 |
/sbin/ldconfig
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
%postun -n libcephfs_jni1
|
|
|
bcc7f22 |
/sbin/ldconfig
|
|
|
bcc7f22 |
|
|
|
2a379f1 |
#################################################################################
|
|
|
7da3554 |
%files -n libcephfs_jni1-devel
|
|
|
7da3554 |
%defattr(-,root,root,-)
|
|
|
7da3554 |
%{_libdir}/libcephfs_jni.so
|
|
|
7da3554 |
|
|
|
2a379f1 |
#################################################################################
|
|
|
b318545 |
%files -n cephfs-java
|
|
|
b318545 |
%defattr(-,root,root,-)
|
|
|
b318545 |
%{_javadir}/libcephfs.jar
|
|
|
bcc7f22 |
%{_javadir}/libcephfs-test.jar
|
|
|
bcc7f22 |
%endif
|
|
|
b318545 |
|
|
|
2a379f1 |
#################################################################################
|
|
|
bcc7f22 |
%if 0%{with selinux}
|
|
|
bcc7f22 |
%files selinux
|
|
|
bcc7f22 |
%defattr(-,root,root,-)
|
|
|
bcc7f22 |
%attr(0600,root,root) %{_datadir}/selinux/packages/ceph.pp
|
|
|
bcc7f22 |
%{_datadir}/selinux/devel/include/contrib/ceph.if
|
|
|
bcc7f22 |
%{_mandir}/man8/ceph_selinux.8*
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
%post selinux
|
|
|
dadf49c |
# backup file_contexts before update
|
|
|
dadf49c |
. /etc/selinux/config
|
|
|
dadf49c |
FILE_CONTEXT=/etc/selinux/${SELINUXTYPE}/contexts/files/file_contexts
|
|
|
dadf49c |
cp ${FILE_CONTEXT} ${FILE_CONTEXT}.pre
|
|
|
dadf49c |
|
|
|
bcc7f22 |
# Install the policy
|
|
|
dadf49c |
/usr/sbin/semodule -i %{_datadir}/selinux/packages/ceph.pp
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
# Load the policy if SELinux is enabled
|
|
|
dadf49c |
if ! /usr/sbin/selinuxenabled; then
|
|
|
bcc7f22 |
# Do not relabel if selinux is not enabled
|
|
|
bcc7f22 |
exit 0
|
|
|
bcc7f22 |
fi
|
|
|
bcc7f22 |
|
|
|
dadf49c |
if diff ${FILE_CONTEXT} ${FILE_CONTEXT}.pre > /dev/null 2>&1; then
|
|
|
dadf49c |
# Do not relabel if file contexts did not change
|
|
|
bcc7f22 |
exit 0
|
|
|
bcc7f22 |
fi
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
# Check whether the daemons are running
|
|
|
dadf49c |
/usr/bin/systemctl status ceph.target > /dev/null 2>&1
|
|
|
bcc7f22 |
STATUS=$?
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
# Stop the daemons if they were running
|
|
|
bcc7f22 |
if test $STATUS -eq 0; then
|
|
|
bcc7f22 |
/usr/bin/systemctl stop ceph.target > /dev/null 2>&1
|
|
|
bcc7f22 |
fi
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
# Now, relabel the files
|
|
|
dadf49c |
/usr/sbin/fixfiles -C ${FILE_CONTEXT}.pre restore 2> /dev/null
|
|
|
dadf49c |
rm -f ${FILE_CONTEXT}.pre
|
|
|
dadf49c |
# The fixfiles command won't fix label for /var/run/ceph
|
|
|
dadf49c |
/usr/sbin/restorecon -R /var/run/ceph > /dev/null 2>&1
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
# Start the daemons iff they were running before
|
|
|
bcc7f22 |
if test $STATUS -eq 0; then
|
|
|
bcc7f22 |
/usr/bin/systemctl start ceph.target > /dev/null 2>&1 || :
|
|
|
bcc7f22 |
fi
|
|
|
bcc7f22 |
exit 0
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
%postun selinux
|
|
|
bcc7f22 |
if [ $1 -eq 0 ]; then
|
|
|
dadf49c |
# backup file_contexts before update
|
|
|
dadf49c |
. /etc/selinux/config
|
|
|
dadf49c |
FILE_CONTEXT=/etc/selinux/${SELINUXTYPE}/contexts/files/file_contexts
|
|
|
dadf49c |
cp ${FILE_CONTEXT} ${FILE_CONTEXT}.pre
|
|
|
dadf49c |
|
|
|
bcc7f22 |
# Remove the module
|
|
|
dadf49c |
/usr/sbin/semodule -n -r ceph > /dev/null 2>&1
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
# Reload the policy if SELinux is enabled
|
|
|
dadf49c |
if ! /usr/sbin/selinuxenabled ; then
|
|
|
bcc7f22 |
# Do not relabel if SELinux is not enabled
|
|
|
bcc7f22 |
exit 0
|
|
|
bcc7f22 |
fi
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
# Check whether the daemons are running
|
|
|
dadf49c |
/usr/bin/systemctl status ceph.target > /dev/null 2>&1
|
|
|
bcc7f22 |
STATUS=$?
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
# Stop the daemons if they were running
|
|
|
bcc7f22 |
if test $STATUS -eq 0; then
|
|
|
bcc7f22 |
/usr/bin/systemctl stop ceph.target > /dev/null 2>&1
|
|
|
bcc7f22 |
fi
|
|
|
bcc7f22 |
|
|
|
dadf49c |
/usr/sbin/fixfiles -C ${FILE_CONTEXT}.pre restore 2> /dev/null
|
|
|
dadf49c |
rm -f ${FILE_CONTEXT}.pre
|
|
|
dadf49c |
# The fixfiles command won't fix label for /var/run/ceph
|
|
|
dadf49c |
/usr/sbin/restorecon -R /var/run/ceph > /dev/null 2>&1
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
# Start the daemons if they were running before
|
|
|
bcc7f22 |
if test $STATUS -eq 0; then
|
|
|
bcc7f22 |
/usr/bin/systemctl start ceph.target > /dev/null 2>&1 || :
|
|
|
bcc7f22 |
fi
|
|
|
bcc7f22 |
fi
|
|
|
bcc7f22 |
exit 0
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
%endif # with selinux
|
|
|
bcc7f22 |
|
|
|
bcc7f22 |
#################################################################################
|
|
|
bcc7f22 |
%if 0%{with libs_compat}
|
|
|
08b7207 |
%files libs-compat
|
|
|
2a379f1 |
# We need an empty %%files list for ceph-libs-compat, to tell rpmbuild to actually
|
|
|
2a379f1 |
# build this meta package.
|
|
|
bde7d23 |
%endif
|
|
|
5dd73cb |
|
|
|
2a379f1 |
#################################################################################
|
|
|
628a5cf |
%files devel-compat
|
|
|
2a379f1 |
# We need an empty %%files list for ceph-devel-compat, to tell rpmbuild to
|
|
|
2a379f1 |
# actually build this meta package.
|
|
|
628a5cf |
|
|
|
2a379f1 |
#################################################################################
|
|
|
628a5cf |
%files -n python-ceph-compat
|
|
|
2a379f1 |
# We need an empty %%files list for python-ceph-compat, to tell rpmbuild to
|
|
|
2a379f1 |
# actually build this meta package.
|
|
|
628a5cf |
|
|
|
bde7d23 |
|
|
|
5dd73cb |
%changelog
|
|
|
ceab65b |
* Wed Oct 26 2016 Ken Dreyer <ktdreyer@ktdreyer.com> 1:10.2.3-3
|
|
|
ceab65b |
- update patches style for rdopkg
|
|
|
ceab65b |
|
|
|
fa9e04a |
* Thu Sep 29 2016 Boris Ranto <branto@redhat.com> - 1:10.2.3-2
|
|
|
fa9e04a |
- New release (1:10.2.3-2)
|
|
|
fa9e04a |
- common: instantiate strict_si_cast<long> not
|
|
|
fa9e04a |
|
|
|
8d319bc |
* Thu Sep 29 2016 Boris Ranto <branto@redhat.com> - 1:10.2.3-1
|
|
|
8d319bc |
- New version (1:10.2.3-1)
|
|
|
8d319bc |
- Disable erasure_codelib neon build
|
|
|
8d319bc |
|
|
Igor Gnatenko |
f3e716b |
* Sun Aug 07 2016 Igor Gnatenko <ignatenko@redhat.com> - 1:10.2.2-4
|
|
Igor Gnatenko |
f3e716b |
- Rebuild for LevelDB 1.18
|
|
Igor Gnatenko |
f3e716b |
|
|
|
50ab9b5 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.2.2-3
|
|
|
50ab9b5 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
50ab9b5 |
|
|
|
20b0b2e |
* Tue Jun 21 2016 Boris Ranto <branto@redhat.com> - 1:10.2.2-2
|
|
|
20b0b2e |
- New release (1:10.2.2-2)
|
|
|
20b0b2e |
- fix tcmalloc handling in spec file
|
|
|
20b0b2e |
|
|
|
dadf49c |
* Mon Jun 20 2016 Boris Ranto <branto@redhat.com> - 1:10.2.2-1
|
|
|
dadf49c |
- New version (1:10.2.2-1)
|
|
|
dadf49c |
- Disable erasure_codelib neon build
|
|
|
dadf49c |
- Do not use -momit-leaf-frame-pointer flag
|
|
|
dadf49c |
|
|
|
e5a890a |
* Mon May 16 2016 Boris Ranto <branto@redhat.com> - 1:10.2.1-1
|
|
|
e5a890a |
- New version (1:10.2.1-1)
|
|
|
e5a890a |
- Disable erasure_codelib neon build
|
|
|
e5a890a |
- Do not use -momit-leaf-frame-pointer flag
|
|
|
e5a890a |
|
|
|
a5a738d |
* Fri May 06 2016 Dan Horák <dan[at]danny.cz> - 10.2.0-3
|
|
|
a5a738d |
- fix build on s390(x) - gperftools/tcmalloc not available there
|
|
|
a5a738d |
|
|
|
9ca188d |
* Fri Apr 22 2016 Boris Ranto <branto@redhat.com> - 10.2.0-2
|
|
|
9ca188d |
- Do not use -momit-leaf-frame-pointer flag
|
|
|
9ca188d |
|
|
|
bde7d23 |
* Fri Apr 22 2016 Boris Ranto <branto@redhat.com> - -
|
|
|
bde7d23 |
- Rebase to version 10.2.0
|
|
|
bde7d23 |
- Disable erasure_codelib neon build
|
|
|
bde7d23 |
|
|
|
6d2e42e |
* Mon Apr 11 2016 Richard W.M. Jones <rjones@redhat.com> - 1:9.2.0-5
|
|
|
6d2e42e |
- Fix large startup times of processes linking to -lrbd.
|
|
|
6d2e42e |
Backport upstream commit 1c2831a2, fixes RHBZ#1319483.
|
|
|
b32301b |
- Add workaround for XFS header brokenness.
|
|
|
6d2e42e |
|
|
|
5e7cff5 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:9.2.0-4
|
|
|
5e7cff5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
5e7cff5 |
|
|
|
9206f82 |
* Thu Jan 14 2016 Jonathan Wakely <jwakely@redhat.com> - 1:9.2.0-3
|
|
|
9206f82 |
- Rebuilt for Boost 1.60
|
|
|
9206f82 |
|
|
|
22d0a9b |
* Mon Dec 14 2015 Dan Horák <dan[at]danny.cz> - 1:9.2.0-2
|
|
|
22d0a9b |
- fix build on s390(x) - gperftools/tcmalloc not available there
|
|
|
22d0a9b |
|
|
|
bcc7f22 |
* Tue Nov 10 2015 Boris Ranto <branto@redhat.com> - 1:9.2.0-1
|
|
|
bcc7f22 |
- Rebase to latest stable upstream version (9.2.0 - infernalis)
|
|
|
bcc7f22 |
- Use upstream spec file
|
|
|
bcc7f22 |
|
|
|
3d553af |
* Tue Oct 27 2015 Boris Ranto <branto@redhat.com> - 1:0.94.5-1
|
|
|
3d553af |
- Rebase to latest upstream version
|
|
|
3d553af |
|
|
|
8d2c0a0 |
* Tue Oct 20 2015 Boris Ranto <branto@redhat.com> - 1:0.94.4-1
|
|
|
8d2c0a0 |
- Rebase to latest upstream version
|
|
|
8d2c0a0 |
- The rtdsc patch got merged upstream and is already present in the release
|
|
|
8d2c0a0 |
|
|
|
7e0cdd8 |
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 1:0.94.3-2
|
|
|
7e0cdd8 |
- Rebuilt for Boost 1.59
|
|
|
7e0cdd8 |
|
|
|
ac5a29a |
* Thu Aug 27 2015 Boris Ranto <branto@redhat.com> - 1:0.94.3-1
|
|
|
ac5a29a |
- Rebase to latest upstream version
|
|
|
ac5a29a |
- The boost patch got merged upstream and is already present in the release
|
|
|
ac5a29a |
|
|
|
222abd2 |
* Fri Jul 31 2015 Richard W.M. Jones <rjones@redhat.com> - 1:0.94.2-4
|
|
|
222abd2 |
- Fix build against boost 1.58 (http://tracker.ceph.com/issues/11576).
|
|
|
222abd2 |
|
|
|
bb85c64 |
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.94.2-3
|
|
|
bb85c64 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
|
|
bb85c64 |
|
|
|
09905ca |
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 1:0.94.2-2
|
|
|
09905ca |
- rebuild for Boost 1.58
|
|
|
09905ca |
|
|
|
b7119dd |
* Thu Jul 16 2015 Boris Ranto <branto@redhat.com> - 1:0.94.2-1
|
|
|
b7119dd |
- Rebase to latest upstream version
|
|
|
b7119dd |
|
|
|
9b5287b |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.94.1-5
|
|
|
9b5287b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
9b5287b |
|
|
|
94d715c |
* Mon Jun 08 2015 Dan Horák <dan[at]danny.cz> - 1:0.94.1-4
|
|
|
94d715c |
- fix build on s390(x) - no gperftools there
|
|
|
94d715c |
|
|
|
c767eaf |
* Thu May 21 2015 Boris Ranto <branto@redhat.com> - 1:0.94.1-3
|
|
|
c767eaf |
- Disable lttng support (rhbz#1223319)
|
|
|
c767eaf |
|
|
|
3005097 |
* Mon May 18 2015 Boris Ranto <branto@redhat.com> - 1:0.94.1-2
|
|
|
3005097 |
- Fix arm linking issue (rhbz#1222286)
|
|
|
3005097 |
|
|
|
2a379f1 |
* Tue Apr 14 2015 Boris Ranto <branto@redhat.com> - 1:0.94.1-1
|
|
|
2a379f1 |
- Rebase to latest upstream version and sync-up the spec file
|
|
|
bedf031 |
- Add arm compilation patches
|
|
|
2a379f1 |
|
|
|
a6871cb |
* Wed Apr 01 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 1:0.87.1-3
|
|
|
a6871cb |
- add version numbers to Obsoletes (RHBZ #1193182)
|
|
|
a6871cb |
|
|
|
2a0aaf9 |
* Wed Mar 4 2015 Boris Ranto <branto@redhat.com> - 1:0.87.1-2
|
|
|
2a0aaf9 |
- Perform a hardened build
|
|
|
2a0aaf9 |
- Use git-formatted patches
|
|
|
2a0aaf9 |
- Add patch for pthreads rwlock unlock problem
|
|
|
2a0aaf9 |
- Do not remove conf files on uninstall
|
|
|
2a0aaf9 |
- Remove the cleanup function, it is only necessary for f20 and f21
|
|
|
2a0aaf9 |
|
|
|
84aa853 |
* Wed Feb 25 2015 Boris Ranto <branto@redhat.com> - 1:0.87.1-1
|
|
|
84aa853 |
- Rebase to latest upstream
|
|
|
84aa853 |
- Remove boost patch, it is in upstream tarball
|
|
|
84aa853 |
- Build with yasm, tarball contains fix for the SELinux issue
|
|
|
84aa853 |
|
|
Petr Machata |
c130ff2 |
* Thu Jan 29 2015 Petr Machata <pmachata@redhat.com> - 1:0.87-2
|
|
Petr Machata |
c485e3a |
- Rebuild for boost 1.57.0
|
|
Petr Machata |
c130ff2 |
- Include <boost/optional/optional_io.hpp> instead of
|
|
Petr Machata |
c130ff2 |
<boost/optional.hpp>. Keep the old dumping behavior in
|
|
Petr Machata |
c130ff2 |
osd/ECBackend.cc (ceph-0.87-boost157.patch)
|
|
Petr Machata |
c485e3a |
|
|
|
3b0b0e0 |
* Mon Nov 3 2014 Boris Ranto <branto@redhat.com> - 1:0.87-1
|
|
|
3b0b0e0 |
- Rebase to latest major version (firefly -> giant)
|
|
|
3b0b0e0 |
|
|
|
290a036 |
* Thu Oct 16 2014 Boris Ranto
|
|
|
290a036 |
- Rebase to latest upstream version
|
|
|
290a036 |
|
|
|
a4d87e6 |
* Sat Oct 11 2014 Boris Ranto <branto@redhat.com> - 1:0.80.6-3
|
|
|
a4d87e6 |
- Fix a typo in librados-devel vs librados2-devel dependency
|
|
|
a4d87e6 |
|
|
|
628a5cf |
* Fri Oct 10 2014 Boris Ranto <branto@redhat.com> - 1:0.80.6-2
|
|
|
628a5cf |
- Provide empty file list for python-ceph-compat and ceph-devel-compat
|
|
|
628a5cf |
|
|
|
7da3554 |
* Fri Oct 10 2014 Boris Ranto <branto@redhat.com> - 1:0.80.6-1
|
|
|
7da3554 |
- Rebase to 0.80.6
|
|
|
7da3554 |
- Split ceph-devel and python-ceph packages
|
|
|
7da3554 |
|
|
|
34495d4 |
* Tue Sep 9 2014 Dan Horák <dan[at]danny.cz> - 1:0.80.5-10
|
|
|
34495d4 |
- update Requires for s390(x)
|
|
|
34495d4 |
|
|
|
273aebe |
* Wed Sep 3 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-9
|
|
|
273aebe |
- Symlink librd.so.1 to /usr/lib64/qemu only on rhel6+ x86_64 (1136811)
|
|
|
273aebe |
|
|
|
ac3de9e |
* Thu Aug 21 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-8
|
|
|
e46d0f1 |
- Revert the previous change
|
|
|
e46d0f1 |
- Fix bz 1118504, second attempt (yasm appears to be the package that caused this
|
|
|
ac3de9e |
- Fix bogus dates
|
|
|
e46d0f1 |
|
|
|
ac3de9e |
* Wed Aug 20 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-7
|
|
|
e46d0f1 |
- Several more merges from file to try to fix the selinux issue (1118504)
|
|
|
e46d0f1 |
|
|
|
25b47f3 |
* Sun Aug 17 2014 Kalev Lember <kalevlember@gmail.com> - 1:0.80.5-6
|
|
|
25b47f3 |
- Obsolete ceph-libcephfs
|
|
|
25b47f3 |
|
|
|
e44806f |
* Sat Aug 16 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-5
|
|
|
e44806f |
- Do not require xfsprogs/xfsprogs-devel for el6
|
|
|
e44806f |
- Require gperftools-devel for non-ppc*/s390* architectures only
|
|
|
e44806f |
- Do not require junit -- no need to build libcephfs-test.jar
|
|
|
e44806f |
- Build without libxfs for el6
|
|
|
e44806f |
- Build without tcmalloc for ppc*/s390* architectures
|
|
|
e44806f |
- Location of mkcephfs must depend on a rhel release
|
|
|
e44806f |
- Use epoch in the Requires fields [1130700]
|
|
|
e44806f |
|
|
|
830e99f |
* Sat Aug 16 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-4
|
|
|
830e99f |
- Use the proper version name in Obsoletes
|
|
|
830e99f |
|
|
|
c81d313 |
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.80.5-3
|
|
|
c81d313 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
c81d313 |
|
|
|
a236dbb |
* Fri Aug 15 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-2
|
|
|
5311ad2 |
- Add the arm pthread hack
|
|
|
5311ad2 |
|
|
|
08b7207 |
* Fri Aug 15 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-1
|
|
|
08b7207 |
- Bump the Epoch, we need to keep the latest stable, not development, ceph version in fedora
|
|
|
08b7207 |
- Use the upstream spec file with the ceph-libs split
|
|
|
08b7207 |
- Add libs-compat subpackage [1116546]
|
|
|
08b7207 |
- use fedora in rhel 7 checks
|
|
|
08b7207 |
- obsolete libcephfs [1116614]
|
|
|
08b7207 |
- depend on redhat-lsb-core for the initscript [1108696]
|
|
|
08b7207 |
|
|
|
d184580 |
* Wed Aug 13 2014 Kalev Lember <kalevlember@gmail.com> - 0.81.0-6
|
|
|
d184580 |
- Add obsoletes to keep the upgrade path working (#1118510)
|
|
|
d184580 |
|
|
|
9a1331d |
* Mon Jul 7 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-5
|
|
|
9a1331d |
- revert to old spec until after f21 branch
|
|
|
9a1331d |
|
|
|
ed8d9af |
* Fri Jul 4 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
|
|
|
ed8d9af |
- temporary exclude f21/armv7hl. N.B. it builds fine on f20/armv7hl.
|
|
|
ed8d9af |
|
|
|
4be65c2 |
* Fri Jul 4 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-4
|
|
|
4be65c2 |
- upstream ceph.spec file
|
|
|
4be65c2 |
|
|
|
10fcd5e |
* Tue Jul 1 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-3
|
|
|
10fcd5e |
- upstream ceph.spec file
|
|
|
10fcd5e |
|
|
|
e605c9c |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.81.0-2
|
|
|
e605c9c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
e605c9c |
|
|
|
cca983b |
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
|
|
|
560f971 |
- el6 ppc64 likewise for tcmalloc, merge from origin/el6
|
|
|
560f971 |
|
|
|
560f971 |
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
|
|
|
cca983b |
- el6 ppc64 does not have gperftools, merge from origin/el6
|
|
|
cca983b |
|
|
|
6c2f2c4 |
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-1
|
|
|
6c2f2c4 |
- ceph-0.81.0
|
|
|
6c2f2c4 |
|
|
|
9c82455 |
* Wed Jun 4 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.80.1-5
|
|
|
9c82455 |
- gperftools now available on aarch64/ppc64
|
|
|
9c82455 |
|
|
Petr Machata |
e579d55 |
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.80.1-4
|
|
Petr Machata |
e579d55 |
- Rebuild for boost 1.55.0
|
|
Petr Machata |
e579d55 |
|
|
|
aac817e |
* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 0.80.1-3
|
|
|
aac817e |
- rebuild for boost 1.55.0
|
|
|
aac817e |
|
|
|
c28233e |
* Wed May 14 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.80.1-2
|
|
|
c28233e |
- build epel-6
|
|
|
c28233e |
- exclude %%{_libdir}/ceph/erasure-code in base package
|
|
|
c28233e |
|
|
|
f082c04 |
* Tue May 13 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.80.1-1
|
|
|
f082c04 |
- Update to latest stable upstream release, BZ 1095201
|
|
|
f082c04 |
- PIE, _hardened_build, BZ 955174
|
|
|
f082c04 |
|
|
|
4c912ae |
* Thu Feb 06 2014 Ken Dreyer <ken.dreyer@inktank.com> - 0.72.2-2
|
|
|
4c912ae |
- Move plugins from -devel into -libs package (#891993). Thanks Michael
|
|
|
4c912ae |
Schwendt.
|
|
|
4c912ae |
|
|
|
c523b37 |
* Mon Jan 06 2014 Ken Dreyer <ken.dreyer@inktank.com> 0.72.2-1
|
|
|
c523b37 |
- Update to latest stable upstream release
|
|
|
c523b37 |
- Use HTTPS for URLs
|
|
|
c523b37 |
- Submit Automake 1.12 patch upstream
|
|
|
c523b37 |
- Move unversioned shared libs from ceph-libs into ceph-devel
|
|
|
c523b37 |
|
|
|
a69f025 |
* Wed Dec 18 2013 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> 0.67.3-4
|
|
|
a69f025 |
- build without tcmalloc on aarch64 (no gperftools)
|
|
|
a69f025 |
|
|
|
975579a |
* Sat Nov 30 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.67.3-3
|
|
|
975579a |
- gperftools not currently available on aarch64
|
|
|
975579a |
|
|
|
52a2b9b |
* Mon Oct 07 2013 Dan Horák <dan[at]danny.cz> - 0.67.3-2
|
|
|
52a2b9b |
- fix build on non-x86_64 64-bit arches
|
|
|
52a2b9b |
|
|
Josef Bacik |
7d8598d |
* Wed Sep 11 2013 Josef Bacik <josef@toxicpanda.com> - 0.67.3-1
|
|
Josef Bacik |
7d8598d |
- update to 0.67.3
|
|
Josef Bacik |
7d8598d |
|
|
|
f6f6a62 |
* Wed Sep 11 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 0.61.7-3
|
|
|
f6f6a62 |
- let base package include all its documentation files via %%doc magic,
|
|
|
f6f6a62 |
so for Fedora 20 Unversioned Docdirs no files are included accidentally
|
|
|
f6f6a62 |
- include the sample config files again (instead of just an empty docdir
|
|
|
f6f6a62 |
that has been added for #846735)
|
|
|
f6f6a62 |
- don't include librbd.so.1 also in -devel package (#1003202)
|
|
|
f6f6a62 |
- move one misplaced rados plugin from -devel into -libs package (#891993)
|
|
|
f6f6a62 |
- include missing directories in -devel and -libs packages
|
|
|
f6f6a62 |
- move librados-config into the -devel pkg where its manual page is, too
|
|
|
f6f6a62 |
- add %%_isa to subpackage dependencies
|
|
|
f6f6a62 |
- don't use %%defattr anymore
|
|
|
f6f6a62 |
- add V=1 to make invocation for verbose build output
|
|
|
f6f6a62 |
|
|
|
fc25307 |
* Wed Jul 31 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.61.7-2
|
|
|
fc25307 |
- re-enable tmalloc on arm now gperftools is fixed
|
|
|
fc25307 |
|
|
Josef Bacik |
7d1f840 |
* Mon Jul 29 2013 Josef Bacik <josef@toxicpanda.com> - 0.61.7-1
|
|
Josef Bacik |
7d1f840 |
- Update to 0.61.7
|
|
Josef Bacik |
7d1f840 |
|
|
Petr Machata |
6bb58e5 |
* Sat Jul 27 2013 pmachata@redhat.com - 0.56.4-2
|
|
Petr Machata |
6bb58e5 |
- Rebuild for boost 1.54.0
|
|
Petr Machata |
6bb58e5 |
|
|
Josef Bacik |
514a2a1 |
* Fri Mar 29 2013 Josef Bacik <josef@toxicpanda.com> - 0.56.4-1
|
|
Josef Bacik |
514a2a1 |
- Update to 0.56.4
|
|
Josef Bacik |
514a2a1 |
- Add upstream d02340d90c9d30d44c962bea7171db3fe3bfba8e to fix logrotate
|
|
Josef Bacik |
514a2a1 |
|
|
Josef Bacik |
3991b7a |
* Wed Feb 20 2013 Josef Bacik <josef@toxicpanda.com> - 0.56.3-1
|
|
Josef Bacik |
3991b7a |
- Update to 0.56.3
|
|
Josef Bacik |
3991b7a |
|
|
|
ffa978b |
* Mon Feb 11 2013 Richard W.M. Jones <rjones@redhat.com> - 0.53-2
|
|
|
ffa978b |
- Rebuilt to try to fix boost dependency problem in Rawhide.
|
|
|
ffa978b |
|
|
Josef Bacik |
f5c462a |
* Thu Nov 1 2012 Josef Bacik <josef@toxicpanda.com> - 0.53-1
|
|
Josef Bacik |
f5c462a |
- Update to 0.53
|
|
Josef Bacik |
f5c462a |
|
|
Jonathan Dieter |
9855df9 |
* Mon Sep 24 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.51-3
|
|
Jonathan Dieter |
9855df9 |
- Fix automake 1.12 error
|
|
Jonathan Dieter |
0521dc9 |
- Rebuild after buildroot was messed up
|
|
Jonathan Dieter |
9855df9 |
|
|
Jonathan Dieter |
ff794c7 |
* Tue Sep 18 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.51-2
|
|
Jonathan Dieter |
ff794c7 |
- Use system leveldb
|
|
Jonathan Dieter |
ff794c7 |
|
|
David Nalley |
6449f95 |
* Fri Sep 07 2012 David Nalley <david@gnsa.us> - 0.51-1
|
|
David Nalley |
6449f95 |
- Updating to 0.51
|
|
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
|