2024-01-05 16:34:24 +01:00
|
|
|
Name: python-reportlab
|
2024-01-05 16:34:25 +01:00
|
|
|
Version: 3.6.7
|
2024-01-05 16:34:24 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 16:34:24 +01:00
|
|
|
Summary: An Open Source Python library for generating PDFs and graphics
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 16:34:25 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://pypi.org/project/reportlab/
|
2024-01-05 16:34:24 +01:00
|
|
|
Source: https://pypi.debian.net/reportlab/reportlab-%{version}.tar.gz
|
2024-01-05 16:34:24 +01:00
|
|
|
Source1: http://www.reportlab.com/ftp/pfbfer-20070710.zip
|
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
2024-01-05 16:34:25 +01:00
|
|
|
BuildRequires: libpython3-devel
|
|
|
|
BuildRequires: python3.7dist(pillow)
|
2024-01-05 16:34:24 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 16:34:24 +01:00
|
|
|
BuildRequires: libpython3-devel >= 3.7.4
|
2024-01-05 16:34:25 +01:00
|
|
|
BuildRequires: python-Pillow-py3
|
|
|
|
#BuildRequires: python-xml-py3
|
2024-01-05 16:34:24 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
An Open Source Python library for generating PDFs and graphics.
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
Group: Documentation
|
|
|
|
Summary: Documentation package for %{name}
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
An Open Source Python library for generating PDFs and graphics.
|
|
|
|
This package contains the documentation files.
|
|
|
|
|
2024-01-05 16:34:25 +01:00
|
|
|
%if "%{?with_pyver}"
|
|
|
|
%pyver_package
|
|
|
|
%define py_requires_append \
|
|
|
|
Obsoletes: ReportLab < 3.5.68
|
2024-01-05 16:34:24 +01:00
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n reportlab-%{version}
|
|
|
|
%{__unzip} -qo -d src/reportlab/fonts/ %{S:1}
|
|
|
|
find src -name '*.py' -exec sed -i -e '\,^#!/,d' '{}' ';'
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
2024-01-05 16:34:25 +01:00
|
|
|
%if "%{?with_pyver}" == "3"
|
2024-01-05 16:34:24 +01:00
|
|
|
# make documentation
|
|
|
|
PYTHONPATH="$(pwd)/$(ls -d build/lib*)" %{__python} docs/genAll.py
|
2024-01-05 16:34:24 +01:00
|
|
|
%endif
|
2024-01-05 16:34:24 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
2024-01-05 16:34:25 +01:00
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-05 16:34:24 +01:00
|
|
|
|
|
|
|
# remove useless testdemos
|
|
|
|
rm -rf demos/tests
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-05 16:34:24 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:34:25 +01:00
|
|
|
%dir %{python_sitearch}/reportlab-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/reportlab-%{version}-py*.egg-info/*
|
2024-01-05 16:34:24 +01:00
|
|
|
%doc LICENSE.txt
|
2024-01-05 16:34:24 +01:00
|
|
|
|
2024-01-05 16:34:25 +01:00
|
|
|
%if "%{?with_pyver}" == "3"
|
2024-01-05 16:34:24 +01:00
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:34:24 +01:00
|
|
|
%doc docs/*.pdf
|
|
|
|
%doc demos tools
|
2024-01-05 16:34:24 +01:00
|
|
|
%doc README.txt
|
2024-01-05 16:34:24 +01:00
|
|
|
%endif
|
2024-01-05 16:34:24 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:34:25 +01:00
|
|
|
* Sat Feb 19 2022 Automatic Build System <autodist@mambasoft.it> 3.6.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:25 +01:00
|
|
|
* Tue Jan 25 2022 Automatic Build System <autodist@mambasoft.it> 3.6.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:25 +01:00
|
|
|
* Fri Dec 31 2021 Automatic Build System <autodist@mambasoft.it> 3.6.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:25 +01:00
|
|
|
* Mon Nov 29 2021 Automatic Build System <autodist@mambasoft.it> 3.6.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:25 +01:00
|
|
|
* Fri Oct 15 2021 Automatic Build System <autodist@mambasoft.it> 3.6.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:25 +01:00
|
|
|
* Sat Aug 07 2021 Automatic Build System <autodist@mambasoft.it> 3.6.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:25 +01:00
|
|
|
* Thu Aug 05 2021 Automatic Build System <autodist@mambasoft.it> 3.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:25 +01:00
|
|
|
* Sat Jul 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.68-1mamba
|
|
|
|
- update to 3.5.68
|
|
|
|
|
2024-01-05 16:34:25 +01:00
|
|
|
* Wed Apr 14 2021 Automatic Build System <autodist@mambasoft.it> 3.5.67-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:25 +01:00
|
|
|
* Sat Mar 20 2021 Automatic Build System <autodist@mambasoft.it> 3.5.66-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:25 +01:00
|
|
|
* Thu Mar 11 2021 Automatic Build System <autodist@mambasoft.it> 3.5.65-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:25 +01:00
|
|
|
* Wed Mar 10 2021 Automatic Build System <autodist@mambasoft.it> 3.5.64-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:25 +01:00
|
|
|
* Sat Mar 06 2021 Automatic Build System <autodist@mambasoft.it> 3.5.63-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Jan 23 2021 Automatic Build System <autodist@mambasoft.it> 3.5.60-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Jan 05 2021 Automatic Build System <autodist@mambasoft.it> 3.5.59-1mamba
|
|
|
|
- automatic version update by autodist
|
2024-01-05 16:34:25 +01:00
|
|
|
|
|
|
|
* Thu Dec 31 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.57-1mamba
|
|
|
|
- update to 3.5.57
|
|
|
|
|
2024-01-05 16:34:25 +01:00
|
|
|
* Thu Sep 03 2020 Automatic Build System <autodist@mambasoft.it> 3.5.49-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:25 +01:00
|
|
|
* Sat Aug 22 2020 Automatic Build System <autodist@mambasoft.it> 3.5.48-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:25 +01:00
|
|
|
* Sat Aug 08 2020 Automatic Build System <autodist@mambasoft.it> 3.5.47-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:25 +01:00
|
|
|
* Sat Jul 25 2020 Automatic Build System <autodist@mambasoft.it> 3.5.46-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
* Sun Jul 19 2020 Automatic Build System <autodist@mambasoft.it> 3.5.44-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
* Tue Apr 14 2020 Automatic Build System <autodist@mambasoft.it> 3.5.42-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
* Sun Jan 26 2020 Automatic Build System <autodist@mambasoft.it> 3.5.34-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
* Sun Nov 10 2019 Automatic Build System <autodist@mambasoft.it> 3.5.32-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
* Sat Oct 19 2019 Automatic Build System <autodist@mambasoft.it> 3.5.28-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
* Fri Aug 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.23-2mamba
|
|
|
|
- rebuilt with python3 3.7.4
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
* Sat Jun 22 2019 Automatic Build System <autodist@mambasoft.it> 3.5.23-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
* Thu Jan 17 2019 Automatic Build System <autodist@mambasoft.it> 3.5.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
* Wed Dec 05 2018 Automatic Build System <autodist@mambasoft.it> 3.5.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
* Sat Dec 01 2018 Automatic Build System <autodist@mambasoft.it> 3.5.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
* Sat Nov 24 2018 Automatic Build System <autodist@mambasoft.it> 3.5.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
* Sat Oct 20 2018 Automatic Build System <autodist@mambasoft.it> 3.5.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
* Sun Sep 30 2018 Automatic Build System <autodist@mambasoft.it> 3.5.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
* Sun Sep 09 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.6-1mamba
|
|
|
|
- update to 3.5.6
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
* Tue Apr 17 2018 Automatic Build System <autodist@mambasoft.it> 3.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
* Wed Nov 15 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.0-2mamba
|
|
|
|
- require python-Pillow and python-pip
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
* Thu Mar 24 2016 Automatic Build System <autodist@mambasoft.it> 3.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
* Sat Sep 12 2015 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
* Sat May 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.44-2mamba
|
|
|
|
- added python3 subpackage
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
* Wed Feb 18 2015 Automatic Build System <autodist@mambasoft.it> 3.1.44-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:24 +01:00
|
|
|
* Tue Apr 29 2014 Automatic Build System <autodist@mambasoft.it> 3.1.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Feb 23 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0-2mamba
|
|
|
|
- updated source font file also to fix download hanging python process on arm
|
|
|
|
|
|
|
|
* Sat Feb 15 2014 Automatic Build System <autodist@mambasoft.it> 3.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7-1mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Sun Oct 28 2012 Automatic Build System <autodist@mambasoft.it> 2.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Oct 12 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.5-1mamba
|
|
|
|
- package renamed from ReportLab to python-reportlab
|
|
|
|
- added doc package
|
|
|
|
|
|
|
|
* Thu Sep 04 2008 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2.1-1mamba
|
|
|
|
- package created by autospec
|