Summary: Adds support for Doxygen xml output to reStructuredText and Sphinx Name: python-breathe License: BSD Group: Development/Python Version: 4.18.1 Release: 1 URL: https://github.com/michaeljones/breathe Source0: https://github.com/michaeljones/breathe/archive/v%{version}.tar.gz?/%{name}-%{version}.tar.gz BuildRequires: doxygen BuildRequires: which BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-six BuildRequires: python3-sphinx BuildRequires: python3-docutils BuildRequires: python3-pytest BuildRequires: python3-nose BuildRequires: python3egg(sphinx) >= 3.0 # NOTE: git is only needed because part of the build process checks if it's in a git repo BuildRequires: git-core BuildArch: noarch %define _description \ Breathe is an extension to reStructuredText and Sphinx to be able to read and \ render the Doxygen xml output. %description %_description #------------------------------------------------------------------------------ %package -n python3-breathe Summary: %{summary} Group: Development/Python Requires: python3-six Requires: doxygen %description -n python3-breathe %_description %files -n python3-breathe %doc LICENSE README.rst %{_bindir}/breathe-apidoc %{python3_sitelib}/* #------------------------------------------------------------------------------ %package doc Summary: Documentation files for breathe Group: Documentation # tinyxml uses zlib license License: BSD and zlib %description doc This package contains documentation for developer documentation for breathe. %files doc %doc LICENSE #documentation/build/html #------------------------------------------------------------------------------ %prep %setup -qn breathe-%{version} %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