]> git.pld-linux.org Git - packages/ceph-deploy.git/blob - ceph-deploy.spec
new package
[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:  rpmbuild(macros) >= 1.219
15 BuildRequires:  rpm-pythonprov
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 servers, sudo, and some Python. It runs fully on your workstation, requiring no servers, databases, or anything like that.
22
23 If you set up and tear down Ceph clusters a lot, and want minimal extra bureaucracy, this is for you.
24
25 %prep
26 %setup -q -n %{name}-%{version}
27 %patch0 -p1
28
29 %build
30 export CEPH_DEPLOY_NO_VENDOR=1
31 %{__python} setup.py build
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35
36 export CEPH_DEPLOY_NO_VENDOR=1
37 %{__python} setup.py install \
38         --optimize=2 \
39         --root=$RPM_BUILD_ROOT
40
41 # no %%py_postclean !
42 # ceph-deploy uses remoto/execnet to run its source code remotely
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc README.rst
50 %attr(755,root,root) %{_bindir}/ceph-deploy
51 %{py_sitescriptdir}/ceph_deploy
52 %{py_sitescriptdir}/ceph_deploy-%{version}-py*.egg-info
This page took 0.061986 seconds and 3 git commands to generate.