File openstack-heat-doc.spec of Package openstack-heat

# spec file for package openstack-heat-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

%define component heat

%define version_unconverted 11.0.3.dev35

Name:           openstack-%{component}-doc
Version:        11.0.3~dev35
Release:        0
Summary:        OpenStack Orchestration (Heat) - Documentation
License:        Apache-2.0
Group:          Documentation/HTML
BuildRequires:  graphviz
BuildRequires:  openstack-heat-test
BuildRequires:  openstack-suse-macros
BuildRequires:  python-Babel
BuildRequires:  python-PasteDeploy
BuildRequires:  python-PyYAML
BuildRequires:  python-Routes
BuildRequires:  python-SQLAlchemy
BuildRequires:  python-Sphinx
BuildRequires:  python-base
BuildRequires:  python-boto
BuildRequires:  python-ceilometerclient
BuildRequires:  python-cinderclient
BuildRequires:  python-fixtures
BuildRequires:  python-glanceclient
BuildRequires:  python-heat
BuildRequires:  python-heatclient
BuildRequires:  python-keystoneclient
BuildRequires:  python-mock
BuildRequires:  python-netaddr
BuildRequires:  python-neutronclient
BuildRequires:  python-novaclient
BuildRequires:  python-openstackdocstheme
BuildRequires:  python-oslo.cache
BuildRequires:  python-oslo.concurrency
BuildRequires:  python-oslo.config
BuildRequires:  python-oslo.messaging
BuildRequires:  python-oslo.policy
BuildRequires:  python-oslo.versionedobjects
BuildRequires:  python-oslosphinx
BuildRequires:  python-paramiko
BuildRequires:  python-sphinxcontrib-apidoc
BuildRequires:  python-sphinxcontrib-httpdomain
BuildRequires:  python-swiftclient
BuildRequires:  python-testscenarios
BuildRequires:  python-testtools
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Heat is a service to orchestrate multiple composite cloud applications using
templates, through both an OpenStack-native ReST API and a
CloudFormation-compatible Query API.

This package contains documentation files for openstack-heat.

%setup -q -n openstack-%{component}-%{version_unconverted}

PBR_VERSION=%version_unconverted PYTHONPATH=. sphinx-build -a -E -d doc/build/doctrees -b html doc/source doc/build/html
rm doc/build/html/.buildinfo # Remove unneeded files


%doc LICENSE doc/build/html