File openstack-heat-doc.spec of Package openstack-heat-doc
#
# spec file
#
# Copyright (c) 2023 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 heat
%define version_unconverted 11.0.4.dev4
Name: openstack-%{component}-doc
Version: 11.0.4~dev4
Release: 0
Summary: OpenStack Orchestration (Heat) - Documentation
License: Apache-2.0
Group: Documentation/HTML
URL: https://launchpad.net/heat
Source: http://tarballs.openstack.org/heat/heat-stable-rocky.tar.gz
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
%description
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.
%prep
%setup -q -n openstack-%{component}-%{version_unconverted}
%openstack_cleanup_prep
%build
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
%install
%files
%defattr(-,root,root,-)
%doc LICENSE doc/build/html
%changelog