rebase source archive to fix missing .blocks issue [release 10.1.2-2mamba;Sun Feb 20 2022]
This commit is contained in:
parent
2e3aeabe92
commit
7130752bb3
@ -1,13 +1,13 @@
|
|||||||
Name: asciidoc
|
Name: asciidoc
|
||||||
Version: 10.1.2
|
Version: 10.1.2
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Text based documentation
|
Summary: Text based documentation
|
||||||
Group: Applications/Publishing
|
Group: Applications/Publishing
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://asciidoc-py.github.io/
|
URL: https://asciidoc-py.github.io/
|
||||||
Source: https://github.com/asciidoc/asciidoc-py3/releases/download/%{version}/asciidoc-%{version}.tar.gz
|
Source: https://github.com/asciidoc/asciidoc-py.git/%{version}/asciidoc-py-%{version}.tar.bz2
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython3-devel
|
BuildRequires: libpython3-devel
|
||||||
@ -17,18 +17,26 @@ BuildRequires: libpython3-devel
|
|||||||
AsciiDoc is a presentable text document format for writing articles, UNIX man pages and other small to medium sized documents. The asciidoc(1) command translates AsciiDoc files to HTML, DocBook and LinuxDoc formats.
|
AsciiDoc is a presentable text document format for writing articles, UNIX man pages and other small to medium sized documents. The asciidoc(1) command translates AsciiDoc files to HTML, DocBook and LinuxDoc formats.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n asciidoc-py-%{version}
|
||||||
autoreconf -f -i
|
autoreconf -f -i
|
||||||
|
|
||||||
sed -i -e '/pip install/s/\.$/--root $(DESTDIR) ./' Makefile.in
|
# Add -I (ignore installed files) flag to pip
|
||||||
|
sed -i 's|pip install|pip install -I|' Makefile.in
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure \
|
||||||
|
--docdir %{_docdir}/%{name}
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall
|
%makeinstall docs
|
||||||
|
|
||||||
|
install -d -m0755 %{buildroot}%{_mandir}/man1
|
||||||
|
cp doc/*.1 %{buildroot}%{_mandir}/man1/
|
||||||
|
|
||||||
|
rm -rf %{buildroot}%{python3_sitelib}/tests
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -41,12 +49,17 @@ sed -i -e '/pip install/s/\.$/--root $(DESTDIR) ./' Makefile.in
|
|||||||
%{python3_sitelib}/asciidoc/*
|
%{python3_sitelib}/asciidoc/*
|
||||||
%dir %{python3_sitelib}/asciidoc-%{version}.dist-info
|
%dir %{python3_sitelib}/asciidoc-%{version}.dist-info
|
||||||
%{python3_sitelib}/asciidoc-%{version}.dist-info/*
|
%{python3_sitelib}/asciidoc-%{version}.dist-info/*
|
||||||
#%{_mandir}/man1/a2x.1*
|
%{_mandir}/man1/a2x.1*
|
||||||
#%{_mandir}/man1/asciidoc.1*
|
%{_mandir}/man1/asciidoc.1*
|
||||||
#%{_mandir}/man1/testasciidoc.1*
|
%{_mandir}/man1/testasciidoc.1*
|
||||||
|
%dir %{_docdir}/%{name}
|
||||||
|
%{_docdir}/%{name}/*
|
||||||
%doc COPYRIGHT
|
%doc COPYRIGHT
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Feb 20 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 10.1.2-2mamba
|
||||||
|
- rebase source archive to fix missing .blocks issue
|
||||||
|
|
||||||
* Sat Feb 19 2022 Automatic Build System <autodist@mambasoft.it> 10.1.2-1mamba
|
* Sat Feb 19 2022 Automatic Build System <autodist@mambasoft.it> 10.1.2-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user