## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global owner michaeljones %global srcname breathe %global _description \ Breathe is an extension to reStructuredText and Sphinx to be able to read and \ render the Doxygen xml output. Name: python-%{srcname} Version: 4.34.0 Release: %autorelease Summary: Adds support for Doxygen xml output to reStructuredText and Sphinx License: BSD URL: https://github.com/%{owner}/%{srcname} Source0: %{URL}/archive/v%{version}.tar.gz Source1: %{URL}/releases/download/v%{version}/%{srcname}-%{version}.tar.gz.sig Source2: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8aed58021feacdd5f27ba0e6a72f627716ea9d96#./vermware.key # The patch is needed to ensure proper build with Sphinx 5.3+ Patch: https://github.com/breathe-doc/breathe/commit/12155e05c0.patch BuildArch: noarch BuildRequires: doxygen >= 1.8.4 BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: %{py3_dist six} >= 1.9 %if 0%{?rhel} BuildRequires: %{py3_dist Sphinx} %else # Sphinx>=4.0,<6,!=5.0.0 BuildRequires: ((%{py3_dist Sphinx} >= 4.0 and %{py3_dist Sphinx} < 5.0.0) or (%{py3_dist Sphinx} > 5.0.0 and %{py3_dist Sphinx} < 6)) %endif BuildRequires: %{py3_dist docutils} >= 0.12 BuildRequires: %{py3_dist Jinja2} >= 2.7.3 BuildRequires: %{py3_dist MarkupSafe} >= 0.23 BuildRequires: %{py3_dist Pygments} >= 1.6 BuildRequires: %{py3_dist pytest} # NOTE: git is only needed because part of the build process checks if it's in # a git repo BuildRequires: git BuildRequires: make BuildRequires: gnupg2 # Set the name of the documentation directory %global _docdir_fmt %{name} %description %_description %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} Requires: python%{python3_pkgversion}-six Requires: doxygen >= 1.8.4 %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} %description -n python%{python3_pkgversion}-%{srcname} %_description %package doc Summary: Documentation files for %{srcname} # tinyxml uses zlib license License: BSD and zlib %description doc This package contains documentation for developer documentation for %{srcname}. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup -n %{srcname}-%{version} -p1 %build %py3_build # Build the documentation %make_build DOXYGEN=$(which doxygen) PYTHONPATH=$(pwd) html # Remove temporary build files rm documentation/build/html/.buildinfo %install %py3_install %check %make_build dev-test %files -n python%{python3_pkgversion}-%{srcname} %doc README.rst %{_bindir}/breathe-apidoc %{python3_sitelib}/* %license LICENSE %files doc %doc documentation/build/html %license LICENSE %changelog * Fri Jan 20 2023 Fedora Release Engineering 4.34.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Nov 09 2022 Karolina Surma 4.34.0-5 - Backport upstream patch to enable successful build with Sphinx 5.3+ * Mon Sep 19 2022 Tom Rix 4.34.0-4 - Use any version of sphinx on RHEL * Fri Jul 22 2022 Fedora Release Engineering 4.34.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 4.30.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Jun 12 2021 Dan Čermák - 4.30.0-1 - New upstream release 4.30.0 - Fixes rhbz#1955833 * Fri Jun 04 2021 Python Maint - 4.29.1-2 - Rebuilt for Python 3.10 * Sat Apr 24 2021 Dan Čermák - 4.29.1-1 - New upstream release 4.29.1 - Fixes rhbz#1953104 * Thu Apr 15 2021 Dan Čermák - 4.29.0-1 - New upstream release 4.29.0 - Fixes rhbz#1944821 * Wed Mar 10 2021 Charalampos Stratakis - 4.27.0-2 - Fix an IndexError when generating toctree (rhbz#1930910) * Tue Feb 16 2021 Charalampos Stratakis - 4.27.0-1 - New upstream release 4.27.0 (rhbz#1918566, rhbz#1929448) * Wed Jan 27 2021 Fedora Release Engineering - 4.26.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Jan 14 2021 Charalampos Stratakis - 4.26.0-1 - New upstream release 4.26.0 (rhbz#1914147) * Sun Dec 20 2020 Dan Čermák - 4.25.1-1 - New upstream release 4.25.1 (rhbz#1908213) * Mon Dec 7 2020 Dan Čermák - 4.24.1-1 - New upstream release 4.24.1 (rhbz#1903366) * Mon Nov 16 2020 Dan Čermák - 4.24.0-1 - New upstream release 4.24.0 (rhbz#1897984) * Tue Nov 3 2020 Dan Čermák - 4.23.0-1 - New upstream release 4.23.0 (rhbz#1889874) * Thu Oct 1 2020 Dan Čermák - 4.22.1-1 - New upstream release 4.22.1 (rhbz#1880753) * Thu Oct 1 2020 Dan Čermák - 4.22.0-1 - New upstream release 4.22.0 (rhbz#1880753) * Sun Sep 13 2020 Dan Čermák - 4.21.0-1 - New upstream release 4.21.0 (rhbz#1878050) * Thu Aug 20 2020 Dan Čermák - 4.20.0-1 - New upstream release 4.20.0 (rhbz#1870404) * Thu Aug 20 2020 Dan Čermák - 4.19.2-3 - Add patch to add support for sphinx 3.2 * Wed Jul 29 2020 Fedora Release Engineering - 4.19.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jul 9 2020 Dan Čermák - 4.19.2-1 - New upstream release 4.19.2 (rhbz#1821614, rhbz#1823718) * Mon Jun 8 2020 Dan Čermák - 4.19.1-1 - New upstream release 4.19.1 (rhbz#1821614, rhbz#1823718) * Tue May 26 2020 Miro Hrončok - 4.14.2-2 - Rebuilt for Python 3.9 * Tue May 5 2020 Dan Čermák - 4.18.0-1 - New upstream release 4.18.0 (rhbz#1821614, rhbz#1823718) * Thu Apr 23 2020 Dan Čermák - 4.16.0-1 - New upstream release 4.16.0 (rhbz#1821614, rhbz#1823718) * Wed Apr 15 2020 Dan Čermák - 4.15.0-1 - New upstream release 4.15.0 * Wed Apr 8 2020 Dan Čermák - 4.14.2-1 - New upstream release 4.14.2 * Sun Feb 2 2020 Dan Čermák - 4.14.1-1 - New upstream release 4.14.1 * Thu Jan 30 2020 Fedora Release Engineering - 4.14.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Nov 26 2019 Dan Čermák - 4.14.0-1 - New upstream release 4.14.0 * Thu Oct 03 2019 Miro Hrončok - 4.13.1-2 - Rebuilt for Python 3.8.0rc1 (#1748018) * Wed Aug 28 2019 Dan Čermák - 4.13.1-1 - New upstream release 4.13.1 - Enable test run in %%check * Mon Aug 19 2019 Miro Hrončok - 4.13.0.post0-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 4.13.0.post0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Jul 15 2019 Dan Čermák - 4.13.0.post0-1 - New upstream release 4.13.0.post0 * Mon Mar 18 2019 Miro Hrončok - 4.7.3-7 - Subpackage python2-breathe has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Feb 02 2019 Fedora Release Engineering - 4.7.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 4.7.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 4.7.3-4 - Rebuilt for Python 3.7 * Wed Feb 21 2018 Iryna Shcherbina - 4.7.3-3 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Fri Feb 09 2018 Fedora Release Engineering - 4.7.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Oct 24 2017 Dave Johansen - 4.7.3-1 - Upstream update * Tue Aug 22 2017 Dave Johansen - 4.7.2-1 - Upstream update * Wed Aug 16 2017 Dave Johansen - 4.7.1-1 - Upstream update * Wed Aug 09 2017 Dave Johansen - 4.7.0-1 - Upstream update * Sat Aug 05 2017 Dave Johansen - 4.6.0-3 - Fix for node without parent * Thu Jul 27 2017 Fedora Release Engineering - 4.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Apr 29 2017 Miro Hrončok - 4.6.0-1 - Upstream update * Sat Feb 11 2017 Fedora Release Engineering - 4.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Dec 20 2016 Miro Hrončok - 4.4.0-2 - Rebuild for Python 3.6 * Mon Dec 19 2016 Dave Johansen - 4.4.0-1 - Upstream release * Mon Dec 19 2016 Miro Hrončok - 4.2.0-5 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 4.2.0-4 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Fri May 13 2016 Dave Johansen - 4.2.0-3 - Fix for Python 3 * Sun Apr 10 2016 Orion Poplawski - 4.2.0-2 - Fix BR/Rs * Wed Apr 06 2016 Dave Johansen - 4.2.0-1 - Initial RPM release