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 <imcleod@redhat.com> - 0.1-5
- Remove Vendor field from SPEC file

* Fri Jan 20 2012 Ian McLeod <imcleod@redhat.com> - 0.1-4
- Add DistributedVirtualPortgroup to support new style distributed switches

* Wed Jun 08 2011 Richard Su <rwsu@redhat.com> - 0.1-3
- pull new upstream version
