update to 0.95.1 [release 0.95.1-1mamba;Wed Feb 03 2021]
This commit is contained in:
parent
056b87805f
commit
7be236d23e
35
rst2pdf.spec
35
rst2pdf.spec
@ -1,23 +1,28 @@
|
||||
Name: rst2pdf
|
||||
Version: 0.92
|
||||
Version: 0.95.1
|
||||
Release: 1mamba
|
||||
Summary: Convert reStructuredText to PDF via ReportLab
|
||||
Group: System/Libraries/Python
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
||||
URL: http://rst2pdf.googlecode.com
|
||||
Source: http://rst2pdf.googlecode.com/files/rst2pdf-%{version}.tar.gz
|
||||
URL: https://github.com/rst2pdf/rst2pdf
|
||||
Source: https://github.com/rst2pdf/rst2pdf.git/%{version}/rst2pdf-%{version}.tar.bz2
|
||||
Patch: rst2pdf-0.16-docutils_0.8.patch
|
||||
License: MIT
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: python
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ldconfig
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libjson-glib-devel
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: python3
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: python >= %python_version
|
||||
Requires: python-reportlab
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
Requires: python3 >= %python_version
|
||||
Requires: python-reportlab-py3
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Convert reStructuredText to PDF via ReportLab.
|
||||
@ -27,19 +32,19 @@ Convert reStructuredText to PDF via ReportLab.
|
||||
#%patch -p1
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
%{__python3} setup.py build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python} setup.py install \
|
||||
%{__python3} setup.py install \
|
||||
-O1 --skip-build \
|
||||
--root="%{buildroot}" \
|
||||
--install-headers=%{_includedir}/python \
|
||||
--install-lib=%{python_sitearch} \
|
||||
--install-headers=%{python3_inc}/python \
|
||||
--install-lib=%{python3_sitearch} \
|
||||
--single-version-externally-managed \
|
||||
--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 \
|
||||
# %{buildroot}/%{_mandir}/man1/rst2pdf.1
|
||||
@ -51,9 +56,11 @@ sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
%files -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE.txt
|
||||
#%doc CHANGES.txt Contributors.txt README.txt doc/manual.pdf
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user