2020-10-12 17:17:22 +08:00
|
|
|
%global _empty_manifest_terminate_build 0
|
2020-02-26 17:51:22 +08:00
|
|
|
Name: python-breathe
|
2022-06-17 10:29:16 +08:00
|
|
|
Version: 4.33.1
|
|
|
|
|
Release: 1
|
2020-10-12 17:17:22 +08:00
|
|
|
Summary: Sphinx Doxygen renderer
|
2022-05-10 18:42:00 +08:00
|
|
|
License: BSD-3-Clause
|
2020-02-26 17:51:22 +08:00
|
|
|
URL: https://github.com/michaeljones/breathe
|
2022-06-17 10:29:16 +08:00
|
|
|
Source0: https://github.com/michaeljones/breathe/archive/refs/tags/v4.33.1.tar.gz
|
2020-02-26 17:51:22 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
2020-10-12 17:17:22 +08:00
|
|
|
Breathe is an extension to reStructuredText and Sphinx to be able to read and render Doxygen xml output.
|
2020-02-26 17:51:22 +08:00
|
|
|
|
2020-10-12 17:17:22 +08:00
|
|
|
%package -n python3-breathe
|
|
|
|
|
Summary: Sphinx Doxygen renderer
|
|
|
|
|
Provides: python-breathe
|
2021-08-23 15:51:32 +00:00
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
|
BuildRequires: python3-docutils
|
2022-01-04 22:56:49 +08:00
|
|
|
BuildRequires: python3-six python3-pip
|
2021-02-04 17:28:14 +08:00
|
|
|
|
2021-08-23 15:51:32 +00:00
|
|
|
%description -n python3-breathe
|
2020-10-12 17:17:22 +08:00
|
|
|
Breathe is an extension to reStructuredText and Sphinx to be able to read and render Doxygen xml output.
|
2020-02-26 17:51:22 +08:00
|
|
|
|
2020-10-12 17:17:22 +08:00
|
|
|
%package help
|
2021-08-23 15:51:32 +00:00
|
|
|
Summary: Sphinx Doxygen renderer
|
2020-10-12 17:17:22 +08:00
|
|
|
Provides: python3-breathe-doc
|
|
|
|
|
%description help
|
|
|
|
|
Breathe is an extension to reStructuredText and Sphinx to be able to read and render Doxygen xml output.
|
2020-02-26 17:51:22 +08:00
|
|
|
|
|
|
|
|
%prep
|
2022-06-17 10:29:16 +08:00
|
|
|
%autosetup -n breathe-4.33.1 -p1
|
2020-02-26 17:51:22 +08:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
2020-10-12 17:17:22 +08:00
|
|
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
|
|
|
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
pushd %{buildroot}
|
|
|
|
|
if [ -d usr/lib ]; then
|
|
|
|
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
|
|
|
|
fi
|
|
|
|
|
if [ -d usr/lib64 ]; then
|
|
|
|
|
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
|
|
|
|
fi
|
|
|
|
|
if [ -d usr/bin ]; then
|
|
|
|
|
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
|
|
|
|
fi
|
|
|
|
|
if [ -d usr/sbin ]; then
|
|
|
|
|
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
|
|
|
|
fi
|
|
|
|
|
touch doclist.lst
|
|
|
|
|
if [ -d usr/share/man ]; then
|
|
|
|
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
|
|
|
|
fi
|
|
|
|
|
popd
|
|
|
|
|
mv %{buildroot}/filelist.lst .
|
|
|
|
|
mv %{buildroot}/doclist.lst .
|
2020-02-26 17:51:22 +08:00
|
|
|
|
2021-08-23 15:51:32 +00:00
|
|
|
%check
|
|
|
|
|
%{__python3} setup.py test
|
|
|
|
|
|
2020-10-12 17:17:22 +08:00
|
|
|
%files -n python3-breathe -f filelist.lst
|
|
|
|
|
%dir %{python3_sitelib}/*
|
2020-02-26 17:51:22 +08:00
|
|
|
|
2020-10-12 17:17:22 +08:00
|
|
|
%files help -f doclist.lst
|
|
|
|
|
%{_docdir}/*
|
2020-02-26 17:51:22 +08:00
|
|
|
|
|
|
|
|
%changelog
|
2022-06-17 10:29:16 +08:00
|
|
|
* Fri Jun 17 2022 houyingchao <houyingchao@h-partners.com> - 4.33.1-1
|
|
|
|
|
- Upgrade to version 4.33.1
|
|
|
|
|
|
2022-05-10 18:42:00 +08:00
|
|
|
* Tue May 10 2022 houyingchao <houyingchao@h-partners.com> - 4.29.0-3
|
|
|
|
|
- License compliance rectification
|
|
|
|
|
|
2022-01-04 22:56:49 +08:00
|
|
|
* Sat Jan 8 2022 baizhonggui <baizhonggui@huawei.com> - 4.29.0-2
|
|
|
|
|
- fix build error
|
|
|
|
|
|
2021-08-23 15:51:32 +00:00
|
|
|
* Mon Aug 23 2021 OpenStack_SIG <openstack@openeuler.org> - 4.29.0-1
|
|
|
|
|
- Package update to 4.29.0
|
|
|
|
|
|
2022-06-16 01:43:42 +00:00
|
|
|
* Thu Feb 04 2021 wangxiao <wangxiao65@huawei.com> - 4.26.1-1
|
2021-02-04 17:28:14 +08:00
|
|
|
- update to 4.26.1 for fix build errors with Sphinx 3.4
|
|
|
|
|
|
2020-10-12 17:17:22 +08:00
|
|
|
* Sat Oct 10 2020 zhanghua <zhanghua40@huawei.com> - 4.22.1-1
|
|
|
|
|
- update to 4.22.1 for fix build errors with Sphinx 3.1
|
|
|
|
|
|
2020-02-26 17:51:22 +08:00
|
|
|
* Thu Feb 20 2020 Ling Yang <lingyang2@huawei.com> - 4.11.1-2
|
|
|
|
|
- Package init
|