+
+# TODO:
+# - rgw support
+
Summary: Deploy Ceph with minimal infrastructure
+Summary(pl.UTF-8): Wdrażanie Cepha z minimalną infrastrukturą
Name: ceph-deploy
Version: 1.5.23
-Release: 0.1
+Release: 2
License: MIT
Group: Applications/System
Source0: https://github.com/ceph/ceph-deploy/archive/v%{version}/%{name}-%{version}.tar.gz
# https://github.com/jajcus/ceph-deploy/tree/pld
Patch0: %{name}-pld.patch
URL: https://github.com/ceph/ceph-deploy
-BuildRequires: python-setuptools >= 7.0
+BuildRequires: python-setuptools >= 1:7.0
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.219
+BuildRequires: rpmbuild(macros) >= 1.714
Requires: python-remoto
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
If you set up and tear down Ceph clusters a lot, and want minimal
extra bureaucracy, this is for you.
+%description -l pl.UTF-8
+ceph-deploy to sposób wdrażania Cepha polegający jedynie na dostępie
+SSH do serwerów, sudo i odrobinie Pythona. Uruchamia w pełni stację
+roboczą bez wymagania serwerów, baz danych itp.
+
+Jest to rozwiązanie dla tych, którzy często stawiają i wyłączają
+klastry Cepha i chcą mieć przy tym jak najmniej biurokracji.
+
%prep
%setup -q
%patch0 -p1
%build
export CEPH_DEPLOY_NO_VENDOR=1
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
export CEPH_DEPLOY_NO_VENDOR=1
-%{__python} setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
# no %%py_postclean !
# ceph-deploy uses remoto/execnet to run its source code remotely