python-ovirt-engine-sdk4/python-ovirt-engine-sdk4.spec
2021-06-30 15:11:57 +08:00

56 lines
1.2 KiB
RPMSpec

%global tar_version 4.4.12
Name: python-ovirt-engine-sdk4
Summary: Python SDK for version 4 of the oVirt Engine API
Version: 4.4.12
Release: 1
Group: Development/Languages
License: ASL 2.0
URL: http://ovirt.org
Source: https://resources.ovirt.org/pub/ovirt-4.4/src/python-ovirt-engine-sdk4/ovirt-engine-sdk-python-%{tar_version}.tar.gz
BuildRequires: gcc
BuildRequires: libxml2-devel
Requires: libxml2
%description
This package contains the Python SDK for version 4 of the oVirt Engine
API.
%package -n python3-ovirt-engine-sdk4
Summary: oVirt Engine Software Development Kit (Python)
BuildRequires: python3-devel
Requires: libxml2
Requires: python3
Requires: python3-pycurl >= 7.43.0-6
Requires: python3-six
%description -n python3-ovirt-engine-sdk4
This package contains the Python 3 SDK for version 4 of the oVirt Engine
API.
%prep
%setup -q -n ovirt-engine-sdk-python-%{tar_version}
%build
%py3_build
%install
%py3_install
%files -n python3-ovirt-engine-sdk4
%doc README.adoc
%doc examples
%license LICENSE.txt
%{python3_sitearch}/*
%changelog
* Mon Jun 28 2021 wangdi <wangdi@kylinos.cn> - 4.4.12-1
- Bump version to 4.4.12
* Thu Mar 5 2020 di.wang <di.wang@cs2c.com.cn> - 4.3.2-2
- Package Initialization