代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-docutils 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global _empty_manifest_terminate_build 0
%global modname docutils
%global _description \
Docutils is an open-source text processing system for processing plaintext\
documentation into useful formats, such as HTML, LaTeX, man-pages,\
open-document or XML. It includes reStructuredText, the easy to read, easy\
to use, what-you-see-is-what-you-get plaintext markup language.
Name: python-docutils
Version: 0.17.1
Release: 1
Summary: Documentation Utilities Written in Python, for General- and Special-Purpose Use
License: Public Domain and BSD-2-Clause and Python and GPL-3.0-or-later
URL: http://docutils.sourceforge.net
Source0: https://files.pythonhosted.org/packages/4c/17/559b4d020f4b46e0287a2eddf2d8ebf76318fd3bd495f1625414b052fdc9/docutils-0.17.1.tar.gz
BuildArch: noarch
%description
%{_description}
%package -n python3-docutils
Summary: Documentation Utilities Written in Python, for General- and Special-Purpose Use
Provides: python-docutils = %{version}-%{release}
BuildRequires: python3-devel
%description -n python3-docutils
%{_description}
%package help
Summary: Development documents and examples for docutils
Provides: python3-docutils-doc
%description help
%{_description}
%prep
%autosetup -n docutils-%{version}
%build
%py3_build
%install
%py3_install
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
if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.txt ]; then cp -af README.txt %{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 .
%check
python3 test/alltests.py
%files -n python3-docutils -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%doc BUGS.txt FAQ.txt HISTORY.txt README.txt RELEASE-NOTES.txt THANKS.txt tools/editors
%license COPYING.txt licenses/*.txt
%changelog
* Mon Dec 19 2022 wangjunqi <wangjunqi@kylinos.cn> - 0.17.1-1
- Update package to version 0.17.1
* Mon Dec 05 2022 wangjunqi <wangjunqi@kylinos.cn> - 0.19-1
- Update package to version 0.19
* Mon May 9 2022 baizhonggui <baizhonggui@h-partners.com> - 0.17.1-2
- modify license identifier
* Wed Jan 12 2022 shixuantong <shixuantong@huawei.com> - 0.17.1-1
- update version to 0.17.1
* Mon Nov 2 2020 wangjie<wangjie294@huawei.com> -0.16-5
- Type:NA
- ID:NA
- SUG:NA
- DESC:remove python2
* Thu Sep 10 2020 wangxiao <wangxiao65@huawei.com> - 0.16-4
- fix rst2odt_prepstyles error
* Mon Aug 3 2020 wutao <wutao61@huawei.com> - 0.16-3
- fix test error problem
* Wed Jul 29 2020 dingyue <dingyue5@huawei.com> - 0.16-2
- Fix 0.16-1 for error
* Thu Jul 23 2020 dingyue <dingyue5@huawei.com> - 0.16-1
- NA
* Wed Jun 24 2020 wangyue <wangyue92@huawei.com> - 0.14-8
- Fix python3.8 complied failed
* Fri Jan 10 2020 qinjian <qinjian18@huawei.com> - 0.14-7
- Update Source0
* Tue Dec 10 2019 mengxian <mengxian@huawei.com> - 0.14-6
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。