]> git.pld-linux.org Git - packages/ceph-deploy.git/blob - ceph-deploy.spec
adapter
[packages/ceph-deploy.git] / ceph-deploy.spec
1 Summary:        Deploy Ceph with minimal infrastructure
2 Name:           ceph-deploy
3 Version:        1.5.23
4 Release:        0.1
5 License:        MIT
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
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
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.
24
25 If you set up and tear down Ceph clusters a lot, and want minimal
26 extra bureaucracy, this is for you.
27
28 %prep
29 %setup -q
30 %patch0 -p1
31
32 %build
33 export CEPH_DEPLOY_NO_VENDOR=1
34 %{__python} setup.py build
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 export CEPH_DEPLOY_NO_VENDOR=1
40 %{__python} setup.py install \
41         --optimize=2 \
42         --root=$RPM_BUILD_ROOT
43
44 # no %%py_postclean !
45 # ceph-deploy uses remoto/execnet to run its source code remotely
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc README.rst
53 %attr(755,root,root) %{_bindir}/ceph-deploy
54 %{py_sitescriptdir}/ceph_deploy
55 %{py_sitescriptdir}/ceph_deploy-%{version}-py*.egg-info
This page took 0.072523 seconds and 4 git commands to generate.