Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1
python-pyghmi
python-pyghmi.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pyghmi.spec of Package python-pyghmi
# # spec file for package python-pyghmi # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python-pyghmi Version: 1.0.44 Release: 0 Summary: General Hardware Management Initiative (IPMI and others) License: Apache-2.0 Group: Development/Languages/Python URL: https://launchpad.net/pyghmi Source0: https://files.pythonhosted.org/packages/source/p/pyghmi/pyghmi-1.0.44.tar.gz BuildRequires: openstack-macros BuildRequires: python-devel BuildRequires: python2-oslotest >= 3.2.0 BuildRequires: python2-pycrypto >= 2.6 BuildRequires: python3-devel BuildRequires: python3-oslotest >= 3.2.0 BuildRequires: python3-pycrypto >= 2.6 Requires: python-pycrypto >= 2.6 BuildArch: noarch %if 0%{?suse_version} Requires(post): update-alternatives Requires(postun): update-alternatives %else # on RDO, update-alternatives is in chkconfig Requires(post): chkconfig Requires(postun): chkconfig %endif %python_subpackages %description This is a pure python implementation of IPMI protocol. pyghmicons and pyghmiutil are example scripts to show how one may incorporate this library into python code %package -n python-pyghmi-doc Summary: General Hardware Management Initiative (IPMI and others) -- Documentation Group: Documentation/HTML BuildRequires: python-Sphinx BuildRequires: python-openstackdocstheme >= 1.18.1 %description -n python-pyghmi-doc This is a pure python implementation of IPMI protocol. pyghmicons and pyghmiutil are example scripts to show how one may incorporate this library into python code %prep %autosetup -p1 -n pyghmi-%{version} %py_req_cleanup sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build %{python_build} %{__python2} setup.py build_sphinx --builder=html rm -rf html/.{doctrees,buildinfo} %install %{python_install} %python_clone -a %{buildroot}%{_bindir}/pyghmicons %python_clone -a %{buildroot}%{_bindir}/pyghmiutil %python_clone -a %{buildroot}%{_bindir}/virshbmc %post %python_install_alternative pyghmicons %python_install_alternative pyghmiutil %python_install_alternative virshbmc %postun %python_uninstall_alternative pyghmicons %python_uninstall_alternative pyghmiutil %python_uninstall_alternative virshbmc %check %{python_expand rm -rf .testrepository $python setup.py testr } %files %{python_files} %doc README.md ChangeLog %license LICENSE %python_alternative %{_bindir}/pyghmicons %python_alternative %{_bindir}/pyghmiutil %python_alternative %{_bindir}/virshbmc %{python_sitelib}/pyghmi* %{python_sitelib}/*.egg-info %files -n python-pyghmi-doc %doc doc/build/html %license LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor