Репозиторий Sisyphus
Последнее обновление: 18 октября 2019 | Пакетов: 17501 | Посещений: 15288375
en ru br
Репозитории ALT
S:2.0.1-alt1.g86943fc.1
www.altlinux.org/Changes

Группа :: Система/Основа
Пакет: ceph-deploy

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define modname ceph-deploy

Name: ceph-deploy
Version: 2.0.1
Release: alt1.g86943fc.1

Summary: Deploy Ceph with minimal infrastructure
Group: System/Base
License: MIT
Url: https://github.com/ceph/ceph-deploy
BuildArch: noarch

Source: %name-%version.tar
Patch1: change-version.patch

BuildRequires(pre): rpm-build-python
BuildRequires: python-module-setuptools
BuildRequires: python-module-sphinx
BuildRequires: python-module-virtualenv
BuildRequires: python-module-remoto
BuildRequires: openssh-clients
BuildRequires: git

# Tox tests requirements

BuildRequires: python-module-pytest
BuildRequires: python-module-mock
BuildRequires: python-module-tox
BuildRequires: python-module-urlparse3

BuildRequires(pre): rpm-build-python3
BuildPreReq: python3-module-setuptools
BuildPreReq: python3-module-virtualenv
BuildPreReq: python3-module-remoto

# Tox tests requirements

BuildPreReq: python3-module-pytest
BuildPreReq: python3-module-mock
BuildPreReq: python3-module-tox

Requires: python3-module-%name = %EVR


%description
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.

%package -n python-module-%name
Summary: Deploy Ceph with minimal infrastructure
Group: Development/Python
%py_requires remoto

%description -n python-module-%name
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.

%package -n python3-module-%name
Summary: Deploy Ceph with minimal infrastructure
Group: Development/Python3
%py3_requires remoto

%description -n python3-module-%name
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.

%package docs
Summary: Documentation for %name
Group: Development/Documentation
Requires: %name = %version-%release

%description docs
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.

This package contains documentation for %name

%package -n python-module-%name-tests
Summary: Tests for python-module-%name
Group: System/Base
Requires: python-module-%name = %version-%release

%description -n python-module-%name-tests
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.

This package contains tests for python3-module-%name

%package -n python3-module-%name-tests
Summary: Tests for python3-module-%name
Group: System/Base
Requires: python3-module-%name = %version-%release

%description -n python3-module-%name-tests
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.

This package contains tests for python3-module-%name

%prep
%setup

# Use only for version after release, delete when updating to a new version

%patch1 -p1

%build
%python3_build_debug -b build3
%python_build_debug -b build2

export PYTHONPATH=$PWD
%make -C docs man

%install
ln -snf build2 build
%python_install -O1
mv %buildroot%_bindir/{%name,%name.py2}
ln -snf build3 build
%python3_install

install -pDm644 docs/build/man/%name.1 %buildroot%_man1dir/%name.1

%files
%doc LICENSE README.rst
%_bindir/%name
%_man1dir/*

%files -n python-module-%name
%_bindir/%name.py2
%python_sitelibdir/*
%exclude %python_sitelibdir/*/tests/

%files -n python3-module-%name
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*/tests/

%files -n python-module-%name-tests
%python_sitelibdir/*/tests/

%files -n python3-module-%name-tests
%python3_sitelibdir/*/tests/


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin