Lucas Alvares Gomes 1d2dfb0
%global sname pyghmi
5859335
%global common_summary Python General Hardware Management Initiative (IPMI and others)
5859335
5859335
%global common_desc This is a pure Python implementation of IPMI protocol. \
5859335
\
5859335
The included pyghmicons and pyghmiutil scripts demonstrate how one may \
5859335
incorporate the pyghmi library into a Python application.
5859335
5859335
%global common_desc_tests Tests for the pyghmi library
5859335
5859335
Summary: %{common_summary}
5859335
Name: python-%{sname}
Dmitry Tantsur c03372c
Version: %{?version:%{version}}%{!?version:1.5.69}
Dmitry Tantsur c03372c
Release: 1%{?dist}
2c5adfe
Source0: https://tarballs.opendev.org/x/%{sname}/%{sname}-%{version}.tar.gz
1860078
License: ASL 2.0
5859335
Prefix: %{_prefix}
5859335
BuildArch: noarch
39b14c1
Url: https://opendev.org/x/pyghmi
5859335
5859335
%description
5859335
%{common_desc}
Lucas Alvares Gomes 1d2dfb0
5859335
%package -n python3-%{sname}
5859335
Summary: %{common_summary}
5859335
%{?python_provide:%python_provide python3-%{sname}}
Lucas Alvares Gomes 1d2dfb0
5859335
BuildRequires: python3-devel
5859335
BuildRequires: python3-pbr
5859335
BuildRequires: python3-setuptools
Dmitry Tantsur c03372c
BuildRequires: python3-oslotest
Dmitry Tantsur c03372c
BuildRequires: python3-stestr
Dmitry Tantsur c03372c
Dmitry Tantsur c03372c
BuildRequires: python3-cryptography
Dmitry Tantsur c03372c
BuildRequires: python3-six
Dmitry Tantsur c03372c
BuildRequires: python3-dateutil
5859335
5bc078a
Requires: python3-cryptography >= 2.1
425fc8e
Requires: python3-six >= 1.10.0
Dmitry Tantsur c03372c
Requires: python3-dateutil >= 2.8.1
5859335
5859335
%description -n python3-%{sname}
5859335
%{common_desc}
5859335
5859335
%package -n python3-%{sname}-tests
5859335
Summary: %{common_desc_tests}
5859335
Requires: python3-%{sname} = %{version}-%{release}
Lucas Alvares Gomes 1d2dfb0
5859335
%description -n python3-%{sname}-tests
5859335
%{common_desc_tests}
Lucas Alvares Gomes 1d2dfb0
5859335
%package -n python-%{sname}-doc
5859335
Summary: The pyghmi library documentation
5859335
f023cca
BuildRequires: python3-sphinx
f023cca
BuildRequires: python3-openstackdocstheme
f023cca
5859335
%description -n python-%{sname}-doc
5859335
Documentation for the pyghmi library
5859335
5859335
%prep
1860078
%setup -qn %{sname}-%{version}
Lucas Alvares Gomes 1d2dfb0
Lucas Alvares Gomes 1d2dfb0
%build
5859335
%py3_build
Dmitry Tantsur 16874b1
sphinx-build -b html doc/source doc/build/html
Dmitry Tantsur 16874b1
5859335
# remove the sphinx-build leftovers
5859335
rm -rf doc/build/html/.{doctrees,buildinfo}
Lucas Alvares Gomes 1d2dfb0
5859335
%install
5859335
%py3_install
5859335
Dmitry Tantsur c03372c
%check
Dmitry Tantsur c03372c
stestr run
Dmitry Tantsur c03372c
5859335
%files -n python3-%{sname}
5859335
%license LICENSE
Dmitry Tantsur 95adb84
%{_bindir}/pyghmicons
Dmitry Tantsur 95adb84
%{_bindir}/pyghmiutil
Dmitry Tantsur 95adb84
%{_bindir}/virshbmc
f023cca
%{_bindir}/fakebmc
5859335
%{python3_sitelib}/%{sname}
5859335
%{python3_sitelib}/%{sname}-*.egg-info
5859335
%exclude %{python3_sitelib}/%{sname}/tests
5859335
5859335
%files -n python3-%{sname}-tests
5859335
%license LICENSE
5859335
%{python3_sitelib}/%{sname}/tests
5859335
5859335
%files -n python-%{sname}-doc
5859335
%license LICENSE
287b03c
%doc doc/build/html README.md
Lucas Alvares Gomes 1d2dfb0
Lucas Alvares Gomes 1d2dfb0
%changelog
Dmitry Tantsur c03372c
* Sun Apr 21 2024 Dmitry Tantsur <dtantsur@proton.me> - 1.5.69-1
Dmitry Tantsur c03372c
- Update to 1.5.69
Dmitry Tantsur c03372c
965c7b2
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.29-10
965c7b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
965c7b2
95e3aef
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.29-9
95e3aef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
95e3aef
5816601
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.29-8
5816601
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
5816601
Dmitry Tantsur 16874b1
* Tue Jul 11 2023 Dmitry Tantsur <dtantsur@protonmail.com> - 1.5.29-7
Dmitry Tantsur 16874b1
- Avoid setup.py build_sphinx (#2221967)
Dmitry Tantsur 16874b1
6c91449
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 1.5.29-6
6c91449
- Rebuilt for Python 3.12
6c91449
8197f21
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.29-5
8197f21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
8197f21
5a4870f
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.29-4
5a4870f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
5a4870f
a785458
* Thu Jun 16 2022 Python Maint <python-maint@redhat.com> - 1.5.29-3
a785458
- Rebuilt for Python 3.11
a785458
a413cdd
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.29-2
a413cdd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
a413cdd
39b14c1
* Mon Aug 09 2021 Joel Capitao <jcapitao@redhat.com> - 1.5.29-1
39b14c1
- Update to 1.5.29.
39b14c1
79205c4
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.19-4
79205c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
79205c4
61b7179
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.5.19-3
61b7179
- Rebuilt for Python 3.10
61b7179
1175562
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.19-2
1175562
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
1175562
d74cde1
* Fri Nov 06 2020 Joel Capitao <jcapitao@redhat.com> - 1.5.19-1
d74cde1
- Updated to 1.5.19.
d74cde1
Dmitry Tantsur 8eab5ff
* Sun Aug 30 2020 Dmitry Tantsur <divius.inside@gmail.com> - 1.5.16-1
Dmitry Tantsur 8eab5ff
- Updated to 1.5.16.
Dmitry Tantsur 8eab5ff
9e392b6
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.14-5
9e392b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9e392b6
Dmitry Tantsur 7aa58c3
* Tue May 26 2020 Dmitry Tantsur <divius.inside@gmail.com> - 1.5.14-4
Dmitry Tantsur d5d3765
- Relax dateutil requirement in requirement.txt as well (#1835084)
Dmitry Tantsur d5d3765
438eb26
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.5.14-3
438eb26
- Rebuilt for Python 3.9
438eb26
425fc8e
* Wed May 13 2020 Yatin Karel <ykarel@redhat.com> - 1.5.14-2
425fc8e
- Fix typo in requirements
425fc8e
2c5adfe
* Mon May 11 2020 Yatin Karel <ykarel@redhat.com> - 1.5.14-1
2c5adfe
- Updated to 1.5.14.
2c5adfe
1e1e3a8
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.16-4
1e1e3a8
- Rebuilt for Python 3.8.0rc1 (#1748018)
1e1e3a8
466b748
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.16-3
466b748
- Rebuilt for Python 3.8
466b748
3bcfcdb
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.16-2
3bcfcdb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
3bcfcdb
f023cca
* Tue Feb 05 2019 Alfredo Moralejo <amoralej@redhat.com> - 1.2.16-1
f023cca
- Updated to 1.2.16.
f023cca
1e55a87
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-5
1e55a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1e55a87
4737462
* Thu Oct 11 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.4-4
4737462
- Python2 binary package has been removed
4737462
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
4737462
e1b42f0
* Tue Aug 14 2018 Ilya Etingof <etingof@gmail.com> - 1.2.4-3
5859335
- Added Python 3 build
5859335
9502bc0
* Mon Aug 13 2018 Ilya Etingof <etingof@gmail.com> - 1.2.4-1
9502bc0
- Upstream 1.2.4
9502bc0
f0effa0
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.22-4
f0effa0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
f0effa0
c28f535
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.22-3
c28f535
- Update Python 2 dependency declarations to new packaging standards
c28f535
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
c28f535
a3f7644
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.22-2
a3f7644
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a3f7644
f94a375
* Thu Oct  5 2017 Haïkel Guémar <hguemar@fedoraproject.org> - 1.0.22-1
f94a375
- Upstream 1.0.22
f94a375
2ca0bc7
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.12-4
2ca0bc7
- Python 2 binary package renamed to python2-pyghmi
2ca0bc7
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
2ca0bc7
2ff89d7
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-3
2ff89d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2ff89d7
47ff9fb
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-2
47ff9fb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
47ff9fb
Lucas Alvares Gomes 787fdf1
* Mon Nov 07 2016 Lucas Alvares Gomes <lucasagomes@gmail.com> - 1.0.12-1
Lucas Alvares Gomes 787fdf1
- Rebased to 1.0.12
Lucas Alvares Gomes 787fdf1
18c6f57
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-3
18c6f57
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
18c6f57
a512e9c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
a512e9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a512e9c
Lucas Alvares Gomes 8c71325
* Fri Sep 25 2015 Lucas Alvares Gomes <lucasagomes@gmail.com> - 0.8.0-1
Lucas Alvares Gomes 8c71325
- Rebased to 0.8.0
Lucas Alvares Gomes 8c71325
4e26ca1
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.9-3
4e26ca1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4e26ca1
12e13ec
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.9-2
12e13ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
12e13ec
Lucas Alvares Gomes 1d2dfb0
* Thu Feb 20 2014 Lucas Alvares Gomes <lucasagomes@gmail.com> - 0.5.9-1
Lucas Alvares Gomes 1d2dfb0
- Initial package.