Blame SPECS/python-pyghmi.spec

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