forked from HewlettPackard/python-ilorest-library-old
-
Notifications
You must be signed in to change notification settings - Fork 8
/
python-redfish.spec
36 lines (28 loc) · 847 Bytes
/
python-redfish.spec
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
%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*