forked from psphere-project/psphere
-
Notifications
You must be signed in to change notification settings - Fork 0
/
python-psphere.spec.in
41 lines (32 loc) · 1.01 KB
/
python-psphere.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
Summary: vSphere SDK for Python
Name: python-psphere
Version: @VERSION@
Release: 1%{?dist}
Source0: %{name}-%{version}.tar.gz
License: ASL 2.0
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}
BuildArch: noarch
Url: http://jkinred.bitbucket.org/psphere
BuildRequires: python-setuptools
Requires: python-suds
%description
This is a simple Python binding for elements of the vsphere SOAP-API
%prep
%setup -n %{name}-%{version} -n %{name}-%{version}
%build
python setup.py build
%install
python setup.py install -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
%clean
rm -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES
%defattr(-,root,root)
%changelog
* Thu Mar 15 2012 Ian McLeod <[email protected]> - 0.1-5
- Remove Vendor field from SPEC file
* Fri Jan 20 2012 Ian McLeod <[email protected]> - 0.1-4
- Add DistributedVirtualPortgroup to support new style distributed switches
* Wed Jun 08 2011 Richard Su <[email protected]> - 0.1-3
- pull new upstream version