Compare commits
12 Commits
63a9209658
...
be5e1f3763
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
be5e1f3763 | ||
|
|
a809ee259d | ||
|
|
96d3b14ce4 | ||
|
|
81fb9adcb9 | ||
|
|
0e8e013201 | ||
|
|
6acaa26dfd | ||
|
|
04c2d1efa2 | ||
|
|
d3a969eeb2 | ||
|
|
ade17bf1ea | ||
|
|
bdc6187f4b | ||
|
|
72eef6df93 | ||
|
|
05088d8355 |
Binary file not shown.
BIN
docutils-0.20.1.tar.gz
Normal file
BIN
docutils-0.20.1.tar.gz
Normal file
Binary file not shown.
@ -7,12 +7,12 @@ open-document or XML. It includes reStructuredText, the easy to read, easy\
|
|||||||
to use, what-you-see-is-what-you-get plaintext markup language.
|
to use, what-you-see-is-what-you-get plaintext markup language.
|
||||||
|
|
||||||
Name: python-docutils
|
Name: python-docutils
|
||||||
Version: 0.19
|
Version: 0.20.1
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Documentation Utilities Written in Python, for General- and Special-Purpose Use
|
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
|
License: Public Domain and BSD-2-Clause and Python and GPL-3.0-or-later
|
||||||
URL: http://docutils.sourceforge.net
|
URL: http://docutils.sourceforge.net
|
||||||
Source0: https://files.pythonhosted.org/packages/6b/5c/330ea8d383eb2ce973df34d1239b3b21e91cd8c865d21ff82902d952f91f/%{modname}-0.19.tar.gz
|
Source0: https://files.pythonhosted.org/packages/1f/53/a5da4f2c5739cf66290fac1431ee52aff6851c7c8ffd8264f13affd7bcdd/docutils-0.20.1.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -20,8 +20,15 @@ BuildArch: noarch
|
|||||||
|
|
||||||
%package -n python3-docutils
|
%package -n python3-docutils
|
||||||
Summary: Documentation Utilities Written in Python, for General- and Special-Purpose Use
|
Summary: Documentation Utilities Written in Python, for General- and Special-Purpose Use
|
||||||
|
Requires: python3-lxml
|
||||||
Provides: python-docutils = %{version}-%{release}
|
Provides: python-docutils = %{version}-%{release}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: python3-hatchling
|
||||||
|
|
||||||
%description -n python3-docutils
|
%description -n python3-docutils
|
||||||
%{_description}
|
%{_description}
|
||||||
|
|
||||||
@ -35,10 +42,10 @@ Provides: python3-docutils-doc
|
|||||||
%autosetup -n docutils-%{version}
|
%autosetup -n docutils-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install
|
||||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
@ -54,17 +61,16 @@ fi
|
|||||||
if [ -d usr/lib64 ]; then
|
if [ -d usr/lib64 ]; then
|
||||||
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
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
|
touch doclist.lst
|
||||||
if [ -d usr/share/man ]; then
|
if [ -d usr/share/man ]; then
|
||||||
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
|
for file in %{buildroot}%{_bindir}/*.py;do
|
||||||
|
mv $file $(dirname $file)/$(basename $file .py)
|
||||||
|
done
|
||||||
|
|
||||||
mv %{buildroot}/filelist.lst .
|
mv %{buildroot}/filelist.lst .
|
||||||
mv %{buildroot}/doclist.lst .
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
@ -73,6 +79,9 @@ python3 test/alltests.py
|
|||||||
|
|
||||||
%files -n python3-docutils -f filelist.lst
|
%files -n python3-docutils -f filelist.lst
|
||||||
%dir %{python3_sitelib}/*
|
%dir %{python3_sitelib}/*
|
||||||
|
%{_bindir}/rst*
|
||||||
|
%{_bindir}/docutils
|
||||||
|
%{python3_sitelib}/docutils
|
||||||
|
|
||||||
%files help -f doclist.lst
|
%files help -f doclist.lst
|
||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
@ -80,6 +89,21 @@ python3 test/alltests.py
|
|||||||
%license COPYING.txt licenses/*.txt
|
%license COPYING.txt licenses/*.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 1 2023 luluoc <luluoc@isoftstone.com> - 0.20.1-1
|
||||||
|
- upgrade package to version 0.20.1
|
||||||
|
|
||||||
|
* Thu Jul 27 2023 zhuofeng <zhuofeng2@huawei.com> - 0.20-1
|
||||||
|
- Update package to version 0.20
|
||||||
|
|
||||||
|
* Sat Mar 4 2023 yanglongkang <yanglongkang@h-partners.com> - 0.17.1-3
|
||||||
|
- add requires python3-lxml
|
||||||
|
|
||||||
|
* Thu Jan 12 2023 yanglongkang <yanglongkang@h-partners.com> - 0.17.1-2
|
||||||
|
- Changing the binary packing mode
|
||||||
|
|
||||||
|
* 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
|
* Mon Dec 05 2022 wangjunqi <wangjunqi@kylinos.cn> - 0.19-1
|
||||||
- Update package to version 0.19
|
- Update package to version 0.19
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user