83 lines
2.9 KiB
RPMSpec
83 lines
2.9 KiB
RPMSpec
Name: python-breathe
|
||
Version: 4.11.1
|
||
Release: 2
|
||
Summary: An extension to reStructuredText and Sphinx
|
||
License: BSD
|
||
URL: https://github.com/michaeljones/breathe
|
||
Source0: https://github.com/michaeljones/breathe/archive/v%{version}.tar.gz
|
||
BuildArch: noarch
|
||
BuildRequires: doxygen git python2-devel python3-devel python2-six >= 1.4 python2-setuptools
|
||
BuildRequires: python3-setuptools python2-sphinx >= 1.4 python3-six >= 1.4 python2-docutils >= 0.5
|
||
BuildRequires: python2-nose python3-docutils >= 0.5 python-sphinx
|
||
|
||
%description
|
||
Breathe provides a bridge between the Sphinx and Doxygen documentation systems. It is an easy way
|
||
to include Doxygen information in a set of documentation generated by Sphinx. The aim is to produce
|
||
an autodoc like support for people who enjoy using Sphinx but work with languages other than Python.
|
||
The system relies on the Doxygen’s xml output.
|
||
|
||
%package -n python2-breathe
|
||
Summary: An extension to reStructuredText and Sphinx
|
||
Requires: python2-six doxygen
|
||
Provides: breathe = %{version}-%{release}
|
||
Obsoletes: breathe < %{version}-%{release}
|
||
%{?python_provide:%python_provide python2-breathe}
|
||
|
||
%description -n python2-breathe
|
||
Breathe provides a bridge between the Sphinx and Doxygen documentation systems. It is an easy way
|
||
to include Doxygen information in a set of documentation generated by Sphinx. The aim is to produce
|
||
an autodoc like support for people who enjoy using Sphinx but work with languages other than Python.
|
||
The system relies on the Doxygen’s xml output.
|
||
|
||
%package -n python3-breathe
|
||
Summary: An extension to reStructuredText and Sphinx
|
||
Requires: python3-six doxygen
|
||
%{?python_provide:%python_provide python3-breathe}
|
||
|
||
%description -n python3-breathe
|
||
Breathe provides a bridge between the Sphinx and Doxygen documentation systems. It is an easy way
|
||
to include Doxygen information in a set of documentation generated by Sphinx. The aim is to produce
|
||
an autodoc like support for people who enjoy using Sphinx but work with languages other than Python.
|
||
The system relies on the Doxygen’s xml output.
|
||
|
||
%package help
|
||
Summary: Documentation files for breathe
|
||
Provides: python-breathe-doc = %{version}-%{release}
|
||
Obsoletes: python-breathe-doc < %{version}-%{release}
|
||
License: BSD and zlib
|
||
|
||
%description help
|
||
Documentation for developer documentation for breathe.
|
||
|
||
%prep
|
||
%autosetup -n breathe-%{version}
|
||
|
||
%build
|
||
%py2_build
|
||
%py3_build
|
||
%make_build html
|
||
rm documentation/build/html/.buildinfo
|
||
|
||
%install
|
||
%py2_install
|
||
%py3_install
|
||
|
||
%check
|
||
make dev-test
|
||
|
||
%files -n python2-breathe
|
||
%doc README.rst LICENSE
|
||
%{python2_sitelib}/*
|
||
|
||
%files -n python3-breathe
|
||
%doc README.rst LICENSE
|
||
%{_bindir}/breathe-apidoc
|
||
%{python3_sitelib}/*
|
||
|
||
%files help
|
||
%doc documentation/build/html LICENSE
|
||
|
||
%changelog
|
||
* Thu Feb 20 2020 Ling Yang <lingyang2@huawei.com> - 4.11.1-2
|
||
- Package init
|