## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?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.31.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 BuildArch: noarch BuildRequires: doxygen >= 1.8.4 BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: %{py3_dist six} >= 1.9 BuildRequires: (%{py3_dist Sphinx} >= 3.0 and %{py3_dist Sphinx} < 5) BuildRequires: %{py3_dist docutils} >= 0.12 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 * Thu Sep 16 2021 Dan Čermák 4.31.0-1 - New upstream release 4.31.0, fixes rhbz#2004372 * Thu Aug 12 2021 Orion Poplawski 4.30.0-5 - Rebuild into side tag * Wed Aug 11 2021 Dan Čermák 4.30.0-4 - Add patch to fix parsing errors, fixes rhbz#1992426 * 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