]> git.pld-linux.org Git - packages/ceph-deploy.git/blob - ceph-deploy.spec
b05a7bc1cbc20fad76c6bd482852c08077b147fb
[packages/ceph-deploy.git] / ceph-deploy.spec
1
2 # TODO:
3 #       - rgw support
4
5 Summary:        Deploy Ceph with minimal infrastructure
6 Name:           ceph-deploy
7 Version:        1.5.23
8 Release:        1
9 License:        MIT
10 Group:          Applications/System
11 Source0:        https://github.com/ceph/ceph-deploy/archive/v%{version}/%{name}-%{version}.tar.gz
12 # Source0-md5:  9b92bb38adfbab41d3feff24291428ca
13 #Source0:       https://pypi.python.org/packages/source/c/ceph-deploy/%{name}-%{version}.tar.gz
14 # https://github.com/jajcus/ceph-deploy/tree/pld
15 Patch0:         %{name}-pld.patch
16 URL:            https://github.com/ceph/ceph-deploy
17 BuildRequires:  python-setuptools >= 7.0
18 BuildRequires:  rpm-pythonprov
19 BuildRequires:  rpmbuild(macros) >= 1.219
20 Requires:       python-remoto
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 ceph-deploy is a way to deploy Ceph relying on just SSH access to the
26 servers, sudo, and some Python. It runs fully on your workstation,
27 requiring no servers, databases, or anything like that.
28
29 If you set up and tear down Ceph clusters a lot, and want minimal
30 extra bureaucracy, this is for you.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35
36 %build
37 export CEPH_DEPLOY_NO_VENDOR=1
38 %py_build
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 export CEPH_DEPLOY_NO_VENDOR=1
44 %py_install
45
46 # no %%py_postclean !
47 # ceph-deploy uses remoto/execnet to run its source code remotely
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc README.rst
55 %attr(755,root,root) %{_bindir}/ceph-deploy
56 %{py_sitescriptdir}/ceph_deploy
57 %{py_sitescriptdir}/ceph_deploy-%{version}-py*.egg-info
This page took 0.050438 seconds and 2 git commands to generate.