File openstack-cinder-doc.spec of Package openstack-cinder
#
# 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 cinder
%define version_unconverted 13.0.10.dev24
Name: openstack-%{component}-doc
Version: 13.0.10~dev24
Release: 0
Summary: OpenStack Block Storage (Cinder) - Documentation
License: Apache-2.0
Group: Documentation/HTML
URL: https://launchpad.net/cinder
Source: http://tarballs.openstack.org/cinder/cinder-stable-rocky.tar.gz
BuildRequires: graphviz
BuildRequires: openstack-suse-macros
BuildRequires: python-Babel
BuildRequires: python-Paste
BuildRequires: python-PasteDeploy
BuildRequires: python-Routes
BuildRequires: python-SQLAlchemy
BuildRequires: python-Sphinx
BuildRequires: python-WebOb
BuildRequires: python-base
BuildRequires: python-cinder = %{version}
BuildRequires: python-cinderclient
BuildRequires: python-eventlet
BuildRequires: python-glanceclient
BuildRequires: python-google-api-python-client
BuildRequires: python-iso8601
BuildRequires: python-lxml
BuildRequires: python-openstackdocstheme
BuildRequires: python-oslo.config
BuildRequires: python-oslo.i18n
BuildRequires: python-oslosphinx
BuildRequires: python-paramiko
BuildRequires: python-pbr
BuildRequires: python-setuptools
BuildRequires: python-sphinx-feature-classification
BuildRequires: python-sphinxcontrib-apidoc
BuildRequires: python-sqlalchemy-migrate
BuildRequires: python-suds-jurko
BuildRequires: python-swiftclient
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Cinder is the OpenStack Block storage service. This is a spin out of
cinder-volumes.
This package contains documentation files for %{name}.
%prep
%setup -q -n cinder-%{version_unconverted}
%openstack_cleanup_prep
%build
PYTHONPATH=. PBR_VERSION=%{version_unconverted} sphinx-build -b html doc/source doc/build/html
rm doc/build/html/.buildinfo # Remove unneeded files
rm -r doc/build/html/.doctrees # Remove unneeded files
%install
%files
%defattr(-,root,root,-)
%doc LICENSE doc/build/html
%changelog