Debian Codegraph @

devtools/python-hpilo.spec

raw
1 Summary: Accessing HP iLO interfaces from python
2 Name: python-hpilo
3 Version: 4.4.3
4 Release: 1%{?dist}
5 Source0: http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
6 License: GPL/APL
7 Group: Development/Libraries
8 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
9 Prefix: %{_prefix}
10 BuildArch: noarch
11 Vendor: Dennis Kaarsemaker <[email protected]>
12 Url: http://github.com/seveas/python-hpilo
13 BuildRequires: python python-setuptools
14
15 %description
16 This module will make it easy for you to access the Integrated Lights Out
17 management interface of your HP hardware. It supports RILOE II, iLO, iLO 2, iLO
18 3 and iLO 4. It uses the XML interface or hponcfg to access and change the iLO.
19
20 %prep
21 %setup -n %{name}-%{version}
22
23 %build
24 python setup.py build
25
26 %install
27 python setup.py install -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
28 sed -e 's!/usr/bin/python!/usr/bin/python3!' -i $RPM_BUILD_ROOT/usr/bin/hpilo_cli
29
30 %clean
31 rm -rf $RPM_BUILD_ROOT
32
33 %files -f INSTALLED_FILES
34 %doc docs
35 %doc examples
36 %doc README.md
37 %doc CHANGES
38 %defattr(-,root,root)