Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
ceph-deploy
ceph-deploy.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ceph-deploy.spec of Package ceph-deploy
# # spec file for package ceph-deploy # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %endif Name: ceph-deploy Version: 1.5.12 Release: 0 Summary: Admin and deploy tool for Ceph License: MIT Group: System/Filesystems Url: https://github.com/ceph/ceph-deploy Source0: %{name}-%{version}.tar.bz2 # remoto is from git://ceph.com/remoto, see note in prep section Patch0: 00_no_upstream_ceph_repos.patch Patch1: 01_adjust_repos_false.patch Patch2: 02_sysvinit_for_all.patch Patch3: 03_dev_or_dir.patch # PATCH-FIX-SLE calamari-suse.patch tserong@suse.com -- Support `ceph-deploy calamari` on SLES Patch4: calamari-suse.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-mock >= 1.0b1 BuildRequires: python-pushy >= 0.5.3 BuildRequires: python-remoto BuildRequires: python-setuptools BuildRequires: python-tox >= 1.2 BuildRequires: python-virtualenv BuildRequires: python-pushy >= 0.5.3 %if 0%{?suse_version} BuildRequires: python-pytest >= 2.1.3 %else BuildRequires: pytest %endif Requires: python-argparse Requires: python-pushy >= 0.5.3 Requires: python-remoto >= 0.0.19 Requires: python-setuptools %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif %if 0%{?suse_version} %if 0%{?suse_version} > 1210 Requires: gptfdisk %else Requires: scsirastools %endif %else Requires: gdisk %endif %description An easy to use admin tool for deploy ceph storage clusters. %prep %setup -q %patch0 -p1 %patch1 -p1 -F10 %patch2 -p1 %patch3 -p1 %patch4 -p1 # setup.py normally pulls down the remoto source using git. # Pre-populate the directory so that this step is avoided. %setup -q -T -D -n %{name}-%{version} %build # force no new version of remoto CEPH_DEPLOY_NO_VENDOR=no python setup.py build %install # force no new version of remoto CEPH_DEPLOY_NO_VENDOR=no python setup.py install --prefix=%{_prefix} --root=%{buildroot} install -m 0755 -D scripts/ceph-deploy %{buildroot}%{_bindir} %check # force no new version of remoto CEPH_DEPLOY_NO_VENDOR=no python setup.py test %files %defattr(-,root,root,-) %doc LICENSE README.rst %{_bindir}/ceph-deploy %{python_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor