Merge commit '93b3e520'

This commit is contained in:
Devananda van der Veen 2015-04-04 08:50:31 -07:00
commit 4ff80bb9bd

34
python-redfish.spec Normal file
View File

@ -0,0 +1,34 @@
%global srcname redfish
Name: python-%{srcname}
Version: 0.1
Release: %mkrel 1
Summary: Redfish python library
Group: Development/Python
License: Apache v2.0
URL: https://github.com/devananda/python-redfish
Source0: %name-%version.tar.gz
BuildArch: noarch
BuildRequires: python-devel
BuildRequires: python-setuptools
%description
The Redfish API supports dialoging with a Redfish compliant
system such as defined by http://www.redfishcertification.org
%prep
%setup -q -n %{name}
#-%{version}
%build
%{__python} setup.py build
%install
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
%files
%dir %{python_sitelib}/redfish
%{python_sitelib}/redfish/*
%{python_sitelib}/python_redfish*