1 Summary: Deploy Ceph with minimal infrastructure
6 Group: Applications/System
7 Source0: https://github.com/ceph/ceph-deploy/archive/v%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5: 9b92bb38adfbab41d3feff24291428ca
9 #Source0: https://pypi.python.org/packages/source/c/ceph-deploy/%{name}-%{version}.tar.gz
10 # https://github.com/jajcus/ceph-deploy/tree/pld
11 Patch0: %{name}-pld.patch
12 URL: https://github.com/ceph/ceph-deploy
13 BuildRequires: python-setuptools >= 7.0
14 BuildRequires: rpmbuild(macros) >= 1.219
15 BuildRequires: rpm-pythonprov
16 Requires: python-remoto
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 ceph-deploy is a way to deploy Ceph relying on just SSH access to the servers, sudo, and some Python. It runs fully on your workstation, requiring no servers, databases, or anything like that.
23 If you set up and tear down Ceph clusters a lot, and want minimal extra bureaucracy, this is for you.
26 %setup -q -n %{name}-%{version}
30 export CEPH_DEPLOY_NO_VENDOR=1
31 %{__python} setup.py build
34 rm -rf $RPM_BUILD_ROOT
36 export CEPH_DEPLOY_NO_VENDOR=1
37 %{__python} setup.py install \
39 --root=$RPM_BUILD_ROOT
42 # ceph-deploy uses remoto/execnet to run its source code remotely
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
50 %attr(755,root,root) %{_bindir}/ceph-deploy
51 %{py_sitescriptdir}/ceph_deploy
52 %{py_sitescriptdir}/ceph_deploy-%{version}-py*.egg-info