forked from oVirt/python-ovirt-engine-sdk4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
python-ovirt-engine-sdk4.spec.in
108 lines (90 loc) · 2.65 KB
/
python-ovirt-engine-sdk4.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
Name: @PACKAGE_NAME@
Summary: Python SDK for version 4 of the oVirt Engine API
Version: @RPM_VERSION@
Release: @RPM_RELEASE@%{?release_suffix}%{?dist}
Group: Development/Languages
License: ASL 2.0
URL: http://ovirt.org
Source: ovirt-engine-sdk-python-@[email protected]
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.
%if 0%{?rhel} < 9
%package -n python38-ovirt-engine-sdk4
Summary: oVirt Engine Software Development Kit (Python)
BuildRequires: python38-devel
Requires: libxml2
Requires: python38
Requires: python38-pycurl >= 7.43.0-6
Requires: python38-six
%description -n python38-ovirt-engine-sdk4
This package contains the Python 3.8 SDK for version 4 of the oVirt Engine
API.
%endif
%prep
%setup -c -q -n ovirt-engine-sdk-python-@PACKAGE_VERSION@
%build
%define python3_pkgversion 3
%define __python3 /usr/bin/python3
%py3_build
%if 0%{?rhel} < 9
%define python3_pkgversion 38
%define __python3 /usr/bin/python3.8
%py3_build
%endif
%install
%define python3_pkgversion 3
%define __python3 /usr/bin/python3
%py3_install
%if 0%{?rhel} < 9
%define python3_pkgversion 38
%define __python3 /usr/bin/python3.8
%py3_install
%endif
%files -n python3-ovirt-engine-sdk4
%doc README.adoc
%doc examples
%license LICENSE.txt
%define python3_pkgversion 3
%define __python3 /usr/bin/python3
%{python3_sitearch}/*
%if 0%{?rhel} < 9
%files -n python38-ovirt-engine-sdk4
%doc README.adoc
%doc examples
%license LICENSE.txt
%define python3_pkgversion 38
%define __python3 /usr/bin/python3.8
%{python3_sitearch}/*
%endif
%changelog
* Thu Aug 4 2022 Ori Liel <[email protected]> - 4.5.2
- Update to model 4.5.11
* Tue Mar 29 2022 Ori Liel <[email protected]> - 4.5.1
- Update to model 4.5.7
* Wed Oct 27 2021 Martin Necas <[email protected]> - 4.5.0-1
- Update to model 4.5.0
* Thu Aug 5 2021 Martin Necas <[email protected]> - 4.4.15-1
- Update to model 4.4.34
- Improve examples upload_disk, download_disk, backup_vm
* Thu Jul 2 2020 Martin Perina <[email protected]> - 4.4.4-1
- Update to model 4.4.17
- Improve examples code around image transfer features
* Thu Jun 06 2019 Sandro Bonazzola <[email protected]> - 4.3.1-1
- 4.3.1
- Adhere to Fedora packaging guidelines naming schema
* Wed Jun 14 2017 Sandro Bonazzola <[email protected]> - 4.2.0-1
- 4.2.0