# Created by pyp2rpm-1.0.1 %global pypi_name hp3parclient Name: python-%{pypi_name} Version: 1.0.0 Release: 1%{?dist} Summary: HP 3PAR HTTP REST Client License: ASL 2 URL: https://pypi.python.org/pypi/hp3parclient/ Source0: https://pypi.python.org/packages/source/h/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python-devel Requires: python-httplib2 >= 0.6.0 %description HP 3PAR REST Client =================== This is a Client library that can talk to the HP 3PAR Storage array. The 3PAR storage array has a REST web service interface as of 3.1.2 of the firmware. This client library implements a simple interface to talking with that REST interface using the python httplib2 http library. Requirements ============ This REST Client requires the 3.1.2 3PAR firmware ... %prep %setup -q -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %{__python} setup.py build %install %{__python} setup.py install --skip-build --root %{buildroot} %files %doc README.rst %{python_sitelib}/%{pypi_name} %{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %changelog * Sun Aug 18 2013 Eric Harney - 1.0.0-1 - Initial package.