2024-01-05 17:30:11 +01:00
|
|
|
Name: rst2pdf
|
2024-06-07 17:12:21 +02:00
|
|
|
Version: 0.102
|
2024-01-05 17:30:12 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 17:30:11 +01:00
|
|
|
Summary: Convert reStructuredText to PDF via ReportLab
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 17:30:12 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 17:30:11 +01:00
|
|
|
URL: https://github.com/rst2pdf/rst2pdf
|
|
|
|
Source: https://github.com/rst2pdf/rst2pdf.git/%{version}/rst2pdf-%{version}.tar.bz2
|
2024-01-05 17:30:11 +01:00
|
|
|
Patch: rst2pdf-0.16-docutils_0.8.patch
|
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 17:30:12 +01:00
|
|
|
BuildRequires: libpython311-devel
|
|
|
|
BuildRequires: python3.11dist(docutils)
|
|
|
|
BuildRequires: python3.11dist(importlib-metadata)
|
|
|
|
BuildRequires: python3.11dist(jinja2)
|
|
|
|
BuildRequires: python3.11dist(packaging)
|
|
|
|
BuildRequires: python3.11dist(pygments)
|
|
|
|
BuildRequires: python3.11dist(pyyaml)
|
|
|
|
BuildRequires: python3.11dist(reportlab)
|
|
|
|
BuildRequires: python3.11dist(smartypants)
|
2024-01-05 17:30:11 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 17:30:12 +01:00
|
|
|
Requires: python3 >= 3.11
|
2024-01-05 17:30:11 +01:00
|
|
|
Requires: python-reportlab-py3
|
2024-01-05 17:30:11 +01:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Convert reStructuredText to PDF via ReportLab.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
#%patch -p1
|
|
|
|
|
|
|
|
%build
|
2024-01-05 17:30:12 +01:00
|
|
|
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
|
|
|
%{__python3} -m build --wheel --no-isolation
|
2024-01-05 17:30:11 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 17:30:12 +01:00
|
|
|
%{__python3} -m installer --destdir="%{buildroot}" dist/*.whl
|
2024-01-05 17:30:11 +01:00
|
|
|
|
|
|
|
#install -D -m 644 doc/rst2pdf.1 \
|
|
|
|
# %{buildroot}/%{_mandir}/man1/rst2pdf.1
|
|
|
|
#echo "%{_mandir}/man1/rst2pdf.1.gz" >> %{name}.filelist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 17:30:12 +01:00
|
|
|
%files
|
2024-01-05 17:30:11 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 17:30:12 +01:00
|
|
|
%{_bindir}/rst2pdf
|
|
|
|
%dir %{python3_sitelib}/rst2pdf-%{version}.dist-info
|
|
|
|
%{python3_sitelib}/rst2pdf-%{version}.dist-info/*
|
|
|
|
%dir %{python3_sitelib}/rst2pdf
|
|
|
|
%{python3_sitelib}/rst2pdf/*
|
2024-01-05 17:30:11 +01:00
|
|
|
%doc LICENSE.txt
|
|
|
|
|
|
|
|
%changelog
|
2024-06-07 17:12:21 +02:00
|
|
|
* Fri Jun 07 2024 Automatic Build System <autodist@openmamba.org> 0.102-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:30:12 +01:00
|
|
|
* Sun Oct 01 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.101-1mamba
|
|
|
|
- update to 0.101
|
|
|
|
|
|
|
|
* Sun Oct 01 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.98-3mamba
|
|
|
|
- rebuilt with python3 == 3.11
|
|
|
|
|
2024-01-05 17:30:12 +01:00
|
|
|
* Sun Oct 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.98-2mamba
|
|
|
|
- rebuilt with distdeps
|
|
|
|
|
2024-01-05 17:30:12 +01:00
|
|
|
* Mon Feb 22 2021 Automatic Build System <autodist@mambasoft.it> 0.98-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:30:11 +01:00
|
|
|
* Wed Feb 03 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.95.1-1mamba
|
|
|
|
- update to 0.95.1
|
|
|
|
|
2024-01-05 17:30:11 +01:00
|
|
|
* Thu Aug 09 2012 Automatic Build System <autodist@mambasoft.it> 0.92-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Dec 21 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.16-2mamba
|
|
|
|
- fixing compatibility with docutils 0.8
|
|
|
|
|
|
|
|
* Tue Oct 12 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.16-1mamba
|
|
|
|
- package created by autospec
|