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: rpm-pythonprov
15 BuildRequires: rpmbuild(macros) >= 1.219
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
22 servers, sudo, and some Python. It runs fully on your workstation,
23 requiring no servers, databases, or anything like that.
25 If you set up and tear down Ceph clusters a lot, and want minimal
26 extra bureaucracy, this is for you.
33 export CEPH_DEPLOY_NO_VENDOR=1
34 %{__python} setup.py build
37 rm -rf $RPM_BUILD_ROOT
39 export CEPH_DEPLOY_NO_VENDOR=1
40 %{__python} setup.py install \
42 --root=$RPM_BUILD_ROOT
45 # ceph-deploy uses remoto/execnet to run its source code remotely
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
53 %attr(755,root,root) %{_bindir}/ceph-deploy
54 %{py_sitescriptdir}/ceph_deploy
55 %{py_sitescriptdir}/ceph_deploy-%{version}-py*.egg-info