File openstack-barbican-doc.spec of Package openstack-barbican
#
# spec file for package openstack-barbican-doc
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define component barbican
%define version_unconverted 3.0.1.dev9
Name: openstack-%{component}-doc
Version: 3.0.1~dev9
Release: 0
Summary: OpenStack key and secret management (Barbican)
License: Apache-2.0
Group: Documentation/HTML
URL: https://github.com/openstack/barbican
Source: http://tarballs.openstack.org/barbican/barbican-stable-newton.tar.gz
BuildArch: noarch
BuildRequires: crudini
BuildRequires: openstack-suse-macros
BuildRequires: python-Babel
BuildRequires: python-Paste
BuildRequires: python-PasteDeploy
BuildRequires: python-Sphinx
BuildRequires: python-WebOb
BuildRequires: python-argparse
BuildRequires: python-barbican
BuildRequires: python-eventlet
BuildRequires: python-fixtures
BuildRequires: python-iso8601
BuildRequires: python-mock
BuildRequires: python-netaddr
BuildRequires: python-neutronclient
BuildRequires: python-oslo.i18n
BuildRequires: python-oslo.log
BuildRequires: python-oslo.messaging
BuildRequires: python-oslo.policy
BuildRequires: python-oslo.utils
BuildRequires: python-oslosphinx
BuildRequires: python-pbr
BuildRequires: python-posix_ipc
BuildRequires: python-sqlalchemy
BuildRequires: python-stevedore
BuildRequires: python-testtools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Barbican is a REST API designed for the secure storage, provisioning and
management of secrets. It is aimed at being useful for all environments,
including large ephemeral Clouds.
This package contains documentation files for openstack-barbican.
%prep
%setup -q -n barbican-%{version_unconverted}
%openstack_cleanup_prep
%build
python setup.py build_sphinx
rm doc/build/html/.buildinfo # Remove unneeded files
%install
%files
%defattr(-,root,root,-)
%doc LICENSE doc/build/html
%changelog