update to 0.95.1 [release 0.95.1-1mamba;Wed Feb 03 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 17:30:11 +01:00
parent 056b87805f
commit 7be236d23e

View File

@ -1,23 +1,28 @@
Name: rst2pdf Name: rst2pdf
Version: 0.92 Version: 0.95.1
Release: 1mamba Release: 1mamba
Summary: Convert reStructuredText to PDF via ReportLab Summary: Convert reStructuredText to PDF via ReportLab
Group: System/Libraries/Python Group: System/Libraries/Python
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org> Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://rst2pdf.googlecode.com URL: https://github.com/rst2pdf/rst2pdf
Source: http://rst2pdf.googlecode.com/files/rst2pdf-%{version}.tar.gz Source: https://github.com/rst2pdf/rst2pdf.git/%{version}/rst2pdf-%{version}.tar.bz2
Patch: rst2pdf-0.16-docutils_0.8.patch Patch: rst2pdf-0.16-docutils_0.8.patch
License: MIT License: MIT
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel BuildRequires: glibc-devel
BuildRequires: python BuildRequires: ldconfig
BuildRequires: libglib-devel
BuildRequires: libjson-glib-devel
BuildRequires: libpython3-devel
BuildRequires: libxml2-devel
BuildRequires: python3
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: python >= %python_version Requires: python3 >= %python_version
Requires: python-reportlab Requires: python-reportlab-py3
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Convert reStructuredText to PDF via ReportLab. Convert reStructuredText to PDF via ReportLab.
@ -27,19 +32,19 @@ Convert reStructuredText to PDF via ReportLab.
#%patch -p1 #%patch -p1
%build %build
%{__python} setup.py build %{__python3} setup.py build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \ %{__python3} setup.py install \
-O1 --skip-build \ -O1 --skip-build \
--root="%{buildroot}" \ --root="%{buildroot}" \
--install-headers=%{_includedir}/python \ --install-headers=%{python3_inc}/python \
--install-lib=%{python_sitearch} \ --install-lib=%{python3_sitearch} \
--single-version-externally-managed \ --single-version-externally-managed \
--record=%{name}.filelist --record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist sed -i "s,.*/man/.*,&.gz," %{name}.filelist
#install -D -m 644 doc/rst2pdf.1 \ #install -D -m 644 doc/rst2pdf.1 \
# %{buildroot}/%{_mandir}/man1/rst2pdf.1 # %{buildroot}/%{_mandir}/man1/rst2pdf.1
@ -51,9 +56,11 @@ sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist %files -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%doc LICENSE.txt %doc LICENSE.txt
#%doc CHANGES.txt Contributors.txt README.txt doc/manual.pdf
%changelog %changelog
* Wed Feb 03 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.95.1-1mamba
- update to 0.95.1
* Thu Aug 09 2012 Automatic Build System <autodist@mambasoft.it> 0.92-1mamba * Thu Aug 09 2012 Automatic Build System <autodist@mambasoft.it> 0.92-1mamba
- automatic version update by autodist - automatic version update by autodist