138 lines
4.5 KiB
RPMSpec
138 lines
4.5 KiB
RPMSpec
Name: asciidoc
|
|
Version: 10.2.1
|
|
Release: 1mamba
|
|
Summary: Text based documentation
|
|
Group: Applications/Publishing
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://asciidoc-py.github.io/
|
|
Source: https://github.com/asciidoc/asciidoc-py.git/%{version}/asciidoc-py-%{version}.tar.bz2
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython311-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libpython3-devel >= 3.11
|
|
|
|
%description
|
|
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
|
|
%setup -q -n asciidoc-py-%{version}
|
|
autoreconf -f -i
|
|
|
|
# Add -I (ignore installed files) flag to pip
|
|
sed -i 's|pip install|pip install -I|' Makefile.in
|
|
|
|
%build
|
|
%configure \
|
|
--docdir %{_docdir}/%{name}
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall docs
|
|
|
|
install -d -m0755 %{buildroot}%{_mandir}/man1
|
|
cp doc/*.1 %{buildroot}%{_mandir}/man1/
|
|
|
|
rm -rf %{buildroot}%{python3_sitelib}/tests
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/a2x
|
|
%{_bindir}/asciidoc
|
|
%dir %{python3_sitelib}/asciidoc
|
|
%{python3_sitelib}/asciidoc/*
|
|
%dir %{python3_sitelib}/asciidoc-%{version}.dist-info
|
|
%{python3_sitelib}/asciidoc-%{version}.dist-info/*
|
|
%{_mandir}/man1/a2x.1*
|
|
%{_mandir}/man1/asciidoc.1*
|
|
%{_mandir}/man1/testasciidoc.1*
|
|
%dir %{_docdir}/%{name}
|
|
%{_docdir}/%{name}/*
|
|
%doc COPYRIGHT
|
|
|
|
%changelog
|
|
* Wed Jul 17 2024 Automatic Build System <autodist@openmamba.org> 10.2.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Oct 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 10.2.0-2mamba
|
|
- rebuilt with python3 == 3.11
|
|
|
|
* Sun May 22 2022 Automatic Build System <autodist@mambasoft.it> 10.2.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Mar 02 2022 Automatic Build System <autodist@mambasoft.it> 10.1.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Feb 21 2022 Automatic Build System <autodist@mambasoft.it> 10.1.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|
|
- automatic version update by autodist
|
|
|
|
* Mon Oct 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 9.1.1-1mamba
|
|
- update to 9.1.1
|
|
|
|
* Thu Feb 11 2021 Automatic Build System <autodist@mambasoft.it> 9.1.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jan 25 2021 Automatic Build System <autodist@mambasoft.it> 9.0.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Nov 15 2020 Automatic Build System <autodist@mambasoft.it> 9.0.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Oct 19 2020 Automatic Build System <autodist@mambasoft.it> 9.0.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Sep 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 9.0.2-1mamba
|
|
- update to 9.0.2
|
|
|
|
* Sat Jul 28 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 8.6.10-1mamba
|
|
- update to 8.6.10
|
|
|
|
* Fri Nov 15 2013 Automatic Build System <autodist@mambasoft.it> 8.6.9-2mamba
|
|
- previous release was build with a bad rpm release
|
|
|
|
* Wed Nov 13 2013 Automatic Build System <autodist@mambasoft.it> 8.6.9-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Dec 21 2012 Automatic Build System <autodist@mambasoft.it> 8.6.8-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Aug 06 2011 Automatic Build System <autodist@mambasoft.it> 8.6.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Feb 26 2011 Automatic Build System <autodist@mambasoft.it> 8.6.4-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sun Nov 14 2010 Automatic Build System <autodist@mambasoft.it> 8.6.3-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Nov 10 2010 Automatic Build System <autodist@mambasoft.it> 8.6.2-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri Aug 27 2010 Automatic Build System <autodist@mambasoft.it> 8.6.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Thu May 13 2010 Automatic Build System <autodist@mambasoft.it> 8.5.2-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri Jul 10 2009 Automatic Build System <autodist@mambasoft.it> 8.4.5-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Mon Feb 16 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 8.3.5-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Oct 15 2008 gil <puntogil@libero.it> 8.2.7-1mamba
|
|
- package created by autospec
|