!11 Upgrade to 10.2.0
From: @li-long315 Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
f38660dc54
Binary file not shown.
BIN
asciidoc-py-10.2.0.tar.gz
Normal file
BIN
asciidoc-py-10.2.0.tar.gz
Normal file
Binary file not shown.
@ -1,14 +1,14 @@
|
|||||||
Name: asciidoc
|
Name: asciidoc
|
||||||
Version: 10.1.4
|
Version: 10.2.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Python 3 port of Asciidoc Python.
|
Summary: Python 3 port of Asciidoc Python.
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://asciidoc.org
|
URL: http://asciidoc.org
|
||||||
Source0: https://github.com/%{name}-py/asciidoc-py/release/download/%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/%{name}-py/asciidoc-py/release/download/%{version}/%{name}-py-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: python3-devel docbook-style-xsl graphviz libxslt source-highlight
|
BuildRequires: python3-devel docbook-style-xsl graphviz libxslt source-highlight
|
||||||
BuildRequires: texlive-dvisvgm-bin vim-filesystem symlinks automake autoconf
|
BuildRequires: texlive-dvisvgm-bin vim-filesystem symlinks automake autoconf
|
||||||
BuildRequires: fdupes python3-pytest python3-pytest-mock
|
BuildRequires: fdupes python3-pytest python3-pytest-mock dblatex python3-pip python3-wheel
|
||||||
|
|
||||||
Requires: python3 docbook-style-xsl graphviz libxslt source-highlight vim-filesystem
|
Requires: python3 docbook-style-xsl graphviz libxslt source-highlight vim-filesystem
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
@ -29,17 +29,22 @@ Obsoletes: %{name}-doc < %{version}-%{release}
|
|||||||
Provides: %{name}-doc = %{version}-%{release}
|
Provides: %{name}-doc = %{version}-%{release}
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version}
|
%autosetup -n %{name}-py-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python3 setup.py build
|
autoreconf -v
|
||||||
|
%configure
|
||||||
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python3 setup.py install --prefix=%_prefix --root=%buildroot
|
make install docs manpages DESTDIR=%{buildroot}
|
||||||
mkdir -p %{buildroot}%{_mandir}/man1/
|
mkdir -p %{buildroot}%{_mandir}/man1/
|
||||||
cp -a doc/*.1 %{buildroot}%{_mandir}/man1/
|
mv %{buildroot}/share/doc/doc/{asciidoc.1,a2x.1,testasciidoc.1} %{buildroot}%{_mandir}/man1/
|
||||||
|
mkdir -p %{buildroot}/%{_pkgdocdir}/doc
|
||||||
%fdupes %{buildroot}%{python3_sitelib}/%{name}
|
mv %{buildroot}/share/doc/doc/ %{buildroot}/%{_pkgdocdir}/doc
|
||||||
|
mkdir -p %{buildroot}/%{_pkgdocdir}/doc/images
|
||||||
|
mv %{buildroot}/share/doc/images/ %{buildroot}/%{_pkgdocdir}/doc/images
|
||||||
|
rm %{buildroot}/share/doc/{BUGS.adoc,CHANGELOG.adoc,INSTALL.adoc,README.md,dblatex/dblatex-readme.txt,docbook-xsl/asciidoc-docbook-xsl.txt}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export PYTHONPATH="$PYTHONPATH:%{buildroot}%{python3_sitelib}"
|
export PYTHONPATH="$PYTHONPATH:%{buildroot}%{python3_sitelib}"
|
||||||
@ -57,17 +62,24 @@ python3 tests/testasciidoc.py run
|
|||||||
%postun
|
%postun
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md BUGS.adoc CHANGELOG.adoc
|
%doc README.md BUGS.adoc CHANGELOG.adoc COPYRIGHT
|
||||||
%license COPYRIGHT LICENSE
|
%license COPYRIGHT LICENSE
|
||||||
%{_bindir}/a2x
|
%{_bindir}/a2x
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{python3_sitelib}/
|
%{python3_sitelib}/
|
||||||
|
%exclude %{python3_sitelib}/asciidoc/resources/filters/latex
|
||||||
|
%exclude %{python3_sitelib}/asciidoc/resources/filters/music
|
||||||
|
%exclude %{_pkgdocdir}/doc
|
||||||
|
%dir %{python3_sitelib}/asciidoc/resources/filters/latex
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%doc %{_mandir}/man1/
|
%doc %{_mandir}/man1/
|
||||||
%doc doc
|
%doc doc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 21 2023 lilong <lilong@kylinos.cn> - 10.2.0-1
|
||||||
|
- Upgrade to 10.2.0
|
||||||
|
|
||||||
* Fri Feb 3 2023 dillon chen <dillon.chen@gmail.com> - 10.1.4-1
|
* Fri Feb 3 2023 dillon chen <dillon.chen@gmail.com> - 10.1.4-1
|
||||||
- upgrade to 10.1.4
|
- upgrade to 10.1.4
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user