File python-vmware-nsx.spec of Package python-vmware-nsx
#
# spec file for package python39-vmware-nsx
#
# 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/
#
Name: python39-vmware-nsx
Version: 15.0.1~dev631
Release: 0
Summary: VMware-NSX family of Neutron plugins
License: Apache-2.0
Group: Development/Languages/Python
URL: https://docs.openstack.org/vmware-nsx
Source0: vmware-nsx-master.tar.gz
BuildRequires: openstack-macros
BuildRequires: python39-pbr
Requires: python3-openstackclient
Requires: python39-PrettyTable
Requires: python39-SQLAlchemy
Requires: python39-decorator
Requires: python39-eventlet
Requires: python39-httplib2
Requires: python39-netaddr
Requires: python39-osc-lib
Requires: python39-oslo.concurrency
Requires: python39-oslo.config
Requires: python39-oslo.db
Requires: python39-oslo.i18n
Requires: python39-oslo.log
Requires: python39-oslo.serialization
Requires: python39-oslo.utils
Requires: python39-stevedore
Requires: python39-tenacity
Requires: python39-vmware-nsxlib
BuildArch: noarch
%description
VMWare NSX plugins for the OpenStack Neutron component
%package -n python-vmware-nsx-doc
Summary: Documentation for vmware-nsx
Group: Documentation/HTML
BuildRequires: fdupes
BuildRequires: python39-Sphinx
BuildRequires: python39-openstackdocstheme
%description -n python-vmware-nsx-doc
VMWare NSX plugins for the OpenStack Neutron component
This package contains the documentation
%prep
%autosetup -p1 -n vmware-nsx-15.0.1.dev631
%py_req_cleanup
%build
%{py3_build}
# generate html docs
PBR_VERSION=15.0.1.dev631 %sphinx_build -b html doc/source doc/build/html
# remove the sphinx-build leftovers
rm -rf doc/build/html/.{doctrees,buildinfo}
%fdupes doc/build/html/
%install
%{py3_install}
%files
%license LICENSE
%{python3_sitelib}/vmware_nsx
%{python3_sitelib}/*.egg-info
%{_bindir}/neutron-check-nsx-config
%{_bindir}/nsxadmin
%{_bindir}/nsx-migration
%files -n python-vmware-nsx-doc
%license LICENSE
%doc README.rst doc/build/html
%changelog