|
|
2568a8b |
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
2568a8b |
%bcond_with python2
|
|
|
2568a8b |
%bcond_without python3
|
|
|
2568a8b |
%else
|
|
|
2568a8b |
%bcond_without python2
|
|
|
2568a8b |
%bcond_with python3
|
|
|
f7ec301 |
%endif
|
|
|
f7ec301 |
|
|
|
f7ec301 |
%global pypi_name sphinxcontrib-blockdiag
|
|
|
f7ec301 |
|
|
|
f7ec301 |
Name: python-%{pypi_name}
|
|
|
2b58a48 |
Version: 2.0.0
|
|
|
68d5f3c |
Release: 9%{?dist}
|
|
|
f7ec301 |
Summary: Sphinx "blockdiag" extension
|
|
|
f7ec301 |
|
|
|
f7ec301 |
License: BSD
|
|
|
f7ec301 |
URL: https://github.com/blockdiag/sphinxcontrib-blockdiag
|
|
|
f7ec301 |
Source0: https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
|
f7ec301 |
BuildArch: noarch
|
|
|
f7ec301 |
|
|
|
f7ec301 |
%description
|
|
|
f7ec301 |
A sphinx extension for embedding block diagram using blockdiag_.
|
|
|
f7ec301 |
|
|
|
2568a8b |
%if %{with python2}
|
|
|
f7ec301 |
%package -n python2-%{pypi_name}
|
|
|
f7ec301 |
Summary: Sphinx "blockdiag" extension
|
|
|
f7ec301 |
%{?python_provide:%python_provide python2-%{pypi_name}}
|
|
|
f7ec301 |
|
|
|
fc33978 |
BuildRequires: python2-setuptools
|
|
|
f7ec301 |
BuildRequires: python2-devel
|
|
|
fc33978 |
Requires: python2-blockdiag >= 1.5.0
|
|
|
fc33978 |
Requires: python2-sphinx >= 0.6
|
|
|
f7ec301 |
%description -n python2-%{pypi_name}
|
|
|
f7ec301 |
A sphinx extension for embedding block diagram using blockdiag_.
|
|
|
2568a8b |
%endif
|
|
|
f7ec301 |
|
|
|
2568a8b |
%if %{with python3}
|
|
|
f7ec301 |
%package -n python3-%{pypi_name}
|
|
|
f7ec301 |
Summary: Sphinx "blockdiag" extension
|
|
|
f7ec301 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
f7ec301 |
BuildRequires: python3-setuptools
|
|
|
f7ec301 |
BuildRequires: python3-devel
|
|
|
2b58a48 |
Requires: python3-blockdiag >= 2.0.0
|
|
|
2b58a48 |
Requires: python3-sphinx >= 2.0.0
|
|
|
f7ec301 |
%description -n python3-%{pypi_name}
|
|
|
f7ec301 |
A sphinx extension for embedding block diagram using blockdiag_.
|
|
|
f7ec301 |
%endif
|
|
|
f7ec301 |
|
|
|
f7ec301 |
%prep
|
|
|
f7ec301 |
%autosetup -n %{pypi_name}-%{version}
|
|
|
f7ec301 |
# Remove bundled egg-info
|
|
|
f7ec301 |
rm -rf %{pypi_name}.egg-info
|
|
|
f7ec301 |
|
|
|
f7ec301 |
%build
|
|
|
2568a8b |
%if %{with python2}
|
|
|
f7ec301 |
%py2_build
|
|
|
2568a8b |
%endif
|
|
|
2568a8b |
%if %{with python3}
|
|
|
f7ec301 |
%py3_build
|
|
|
f7ec301 |
%endif
|
|
|
f7ec301 |
|
|
|
f7ec301 |
%install
|
|
|
2568a8b |
%if %{with python2}
|
|
|
f7ec301 |
%py2_install
|
|
|
2568a8b |
%endif
|
|
|
2568a8b |
%if 0%{with python3}
|
|
|
f7ec301 |
%py3_install
|
|
|
f7ec301 |
%endif
|
|
|
f7ec301 |
|
|
|
2568a8b |
%if %{with python2}
|
|
|
f7ec301 |
%files -n python2-%{pypi_name}
|
|
|
f7ec301 |
%license LICENSE
|
|
|
f7ec301 |
%doc README.rst
|
|
|
f7ec301 |
%{python2_sitelib}/sphinxcontrib
|
|
|
f7ec301 |
%{python2_sitelib}/sphinxcontrib_blockdiag-*.egg-info
|
|
|
f7ec301 |
%{python2_sitelib}/sphinxcontrib_blockdiag-*.pth
|
|
|
f7ec301 |
%exclude %{python2_sitelib}/sphinxcontrib/tests
|
|
|
2568a8b |
%endif
|
|
|
f7ec301 |
|
|
|
2568a8b |
%if %{with python3}
|
|
|
f7ec301 |
%files -n python3-%{pypi_name}
|
|
|
f7ec301 |
%license LICENSE
|
|
|
f7ec301 |
%doc README.rst
|
|
|
f7ec301 |
%{python3_sitelib}/sphinxcontrib
|
|
|
f7ec301 |
%{python3_sitelib}/sphinxcontrib_blockdiag-*.egg-info
|
|
|
f7ec301 |
%{python3_sitelib}/sphinxcontrib_blockdiag-*.pth
|
|
|
f7ec301 |
%exclude %{python3_sitelib}/sphinxcontrib/tests
|
|
|
f7ec301 |
%endif
|
|
|
f7ec301 |
|
|
|
f7ec301 |
%changelog
|
|
|
68d5f3c |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-9
|
|
|
68d5f3c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
68d5f3c |
|
|
|
9131a7b |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.0.0-8
|
|
|
9131a7b |
- Rebuilt for Python 3.11
|
|
|
9131a7b |
|
|
|
8999fdf |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-7
|
|
|
8999fdf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
8999fdf |
|
|
|
9834e36 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-6
|
|
|
9834e36 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
9834e36 |
|
|
|
2807a55 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.0.0-5
|
|
|
2807a55 |
- Rebuilt for Python 3.10
|
|
|
2807a55 |
|
|
|
d041282 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
|
|
|
d041282 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
d041282 |
|
|
|
4c6930c |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
|
|
|
4c6930c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
4c6930c |
|
|
|
3995867 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-2
|
|
|
3995867 |
- Rebuilt for Python 3.9
|
|
|
3995867 |
|
|
|
2b58a48 |
* Tue Mar 10 2020 Fabien Boucher <fboucher@redhat.com> - 2.0.0-1
|
|
|
2b58a48 |
- Bump to last release 2.0.0 (#1811927)
|
|
|
2b58a48 |
|
|
|
ce83c1f |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.5-14
|
|
|
ce83c1f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
ce83c1f |
|
|
|
6e959c7 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.5-13
|
|
|
6e959c7 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
6e959c7 |
|
|
|
6e05058 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.5-12
|
|
|
6e05058 |
- Rebuilt for Python 3.8
|
|
|
6e05058 |
|
|
|
559d95d |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.5-11
|
|
|
559d95d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
559d95d |
|
|
|
0e8b534 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.5-10
|
|
|
0e8b534 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
0e8b534 |
|
|
|
2568a8b |
* Thu Sep 13 2018 Javier Peña <jpena@redhat.com> - 1.5.5-9
|
|
|
2568a8b |
- Remove the python2 package for Fedora 30+ (bz#1627370)
|
|
|
2568a8b |
|
|
|
f3e3e80 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.5-8
|
|
|
f3e3e80 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
f3e3e80 |
|
|
|
3f6dc66 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.5.5-7
|
|
|
3f6dc66 |
- Rebuilt for Python 3.7
|
|
|
3f6dc66 |
|
|
|
fc33978 |
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.5.5-6
|
|
|
fc33978 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
fc33978 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
fc33978 |
|
|
|
5da1bcc |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.5-5
|
|
|
5da1bcc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
5da1bcc |
|
|
|
d1c13d1 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.5-4
|
|
|
d1c13d1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
d1c13d1 |
|
|
|
d0d33ac |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.5-3
|
|
|
d0d33ac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
d0d33ac |
|
|
|
b5dded3 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.5.5-2
|
|
|
b5dded3 |
- Rebuild for Python 3.6
|
|
|
b5dded3 |
|
|
|
f7ec301 |
* Tue Sep 20 2016 Javier Peña <jpena@redhat.com> - 1.5.5-1
|
|
|
f7ec301 |
- Initial package.
|