python-redfish/python-redfish.spec
Bruno Cornec 56c9f0a910 Update to Redfish 1.0.0 (official)
- Update Redfish spec and schema to version 1.0.0
- Update Redfish simulator to version 0.99.0a
- Comply with Redfish 1.0.0 by changing remaining refs from /rest/v1 to /redfish/v1
- Adds a README to explain how to use the Docker container to launch the
  DMTF Redfish mockup in order to test without hardware
- Update spec file for local usage
2015-08-31 15:47:33 +02:00

37 lines
847 B
RPMSpec

%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/%{name}
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
%doc README.rst examples/*.py
%dir %{python_sitelib}/redfish
%{python_sitelib}/redfish/*.py*
%{python_sitelib}/redfish/tests/*.py*
%{python_sitelib}/python_redfish*