Name: breathe Version: 4.0.0 Release: 1%{?dist} Summary: Adds support for Doxygen xml output to reStructuredText and Sphinx License: BSD URL: https://github.com/michaeljones/breathe Source0: https://github.srcurl.net/michaeljones/breathe/v%{version}/%{name}-%{version}.tar.gz # Submitted upstream ( see https://github.com/michaeljones/breathe/pull/190 ) Patch0: breathe_build_html.patch BuildArch: noarch BuildRequires: doxygen BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: python-sphinx # NOTE: git is only needed because part of the build process checks if it's in # a git repo BuildRequires: git %description Breathe is an extension to reStructuredText and Sphinx to be able to read and render the Doxygen xml output. %package doc Summary: Documentation files for %{name} %description doc This package contains documentation for developer documentation for %{name}. %prep %setup -q %patch0 %build %{__python2} setup.py build make %{?_smp_mflags} html %install %{__python2} setup.py install --skip-build --root %{buildroot} # Remove the .buildinfo file rm documentation/build/html/.buildinfo %files %{python2_sitelib}/* %files doc %doc documentation/build/html %changelog * Sat May 16 2015 Dave Johansen - 4.0.0-1 - Initial RPM release