diff --git a/ovn-octavia-provider-1.0.2.tar.gz b/ovn-octavia-provider-1.0.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..e1bc2f2e9256d94b3826f842aed2c4db34c76772 Binary files /dev/null and b/ovn-octavia-provider-1.0.2.tar.gz differ diff --git a/python-ovn-octavia-provider.spec b/python-ovn-octavia-provider.spec new file mode 100644 index 0000000000000000000000000000000000000000..4d582a6729fc033b200bf11e9565020ca69aaeff --- /dev/null +++ b/python-ovn-octavia-provider.spec @@ -0,0 +1,119 @@ +%global _empty_manifest_terminate_build 0 +Name: python-ovn-octavia-provider +Version: 1.0.2 +Release: 1 +Summary: OpenStack Octavia integration with OVN +License: Apache-2.0 +URL: https://docs.openstack.org/ovn-octavia-provider/latest/ +Source0: https://files.pythonhosted.org/packages/ed/e9/8120c0f6a021e958a2c8f4d463549d0f496cb36dcf48e6976f2a9f033f41/ovn-octavia-provider-1.0.2.tar.gz +BuildArch: noarch +%description + ovn-octavia-provider OVN Provider driver for Octavia LoadBalancer OVN provides +virtual networking for Open vSwitch and is a component of the Open vSwitch +project. This project provides integration between OpenStack Octavia Free +software: Apache license Source: Bugs: list: IRC: openstack-neutron on Freenode. + +%package -n python3-ovn-octavia-provider +Summary: OpenStack Octavia integration with OVN +Provides: python-ovn-octavia-provider +# Base build requires +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel +# General build requires +BuildRequires: python3-sqlalchemy +BuildRequires: python3-keystoneauth1 +BuildRequires: python3-netaddr +BuildRequires: python3-neutron-lib +BuildRequires: python3-octavia-lib +BuildRequires: python3-oslo-config +BuildRequires: python3-oslo-log +BuildRequires: python3-oslo-messaging +BuildRequires: python3-oslo-serialization +BuildRequires: python3-oslo-utils +BuildRequires: python3-openvswitch +BuildRequires: python3-ovsdbapp +BuildRequires: python3-neutronclient +BuildRequires: python3-tenacity +# General requires +Requires: python3-sqlalchemy +Requires: python3-keystoneauth1 +Requires: python3-netaddr +Requires: python3-neutron-lib +Requires: python3-octavia-lib +Requires: python3-oslo-config +Requires: python3-oslo-log +Requires: python3-oslo-messaging +Requires: python3-oslo-serialization +Requires: python3-oslo-utils +Requires: python3-openvswitch +Requires: python3-ovsdbapp +Requires: python3-pbr +Requires: python3-neutronclient +Requires: python3-tenacity +%description -n python3-ovn-octavia-provider + ovn-octavia-provider OVN Provider driver for Octavia LoadBalancer OVN provides +virtual networking for Open vSwitch and is a component of the Open vSwitch +project. This project provides integration between OpenStack Octavia Free +software: Apache license Source: Bugs: list: IRC: openstack-neutron on Freenode. + +%package help +Summary: OpenStack Octavia integration with OVN +Provides: python3-ovn-octavia-provider-doc +%description help + ovn-octavia-provider OVN Provider driver for Octavia LoadBalancer OVN provides +virtual networking for Open vSwitch and is a component of the Open vSwitch +project. This project provides integration between OpenStack Octavia Free +software: Apache license Source: Bugs: list: IRC: openstack-neutron on Freenode. + +%prep +%autosetup -n ovn-octavia-provider-%{version} + +%build +%py3_build + +%install +%py3_install + +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%check +# %{__python3} setup.py test + +%files -n python3-ovn-octavia-provider -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 17 2023 OpenStack_SIG - 1.0.2-1 +- Init package python3-ovn-octavia-provider of version 1.0.2 + +