Group :: Development/Python3
RPM: python3-module-PyPDF2
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname PyPDF2
Name: python3-module-%oname
Version: 1.26.0
Release: alt2
Summary: A utility to read and write PDFs with Python
License: BSD
Group: Development/Python3
Url: https://pypi.python.org/pypi/PyPDF2/
# https://github.com/mstamy2/PyPDF2.git
Source0: https://pypi.python.org/packages/b4/01/68fcc0d43daf4c6bdbc6b33cc3f77bda531c86b174cac56ef0ffdb96faab/%{oname}-%{version}.tar.gz
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
Requires: python3-module-Reportlab
%description
A Pure-Python library built as a PDF toolkit. It is capable of:
* extracting document information (title, author, ...)
* splitting documents page by page
* merging documents page by page
* cropping pages
* merging multiple pages into a single page
* encrypting and decrypting PDF files
* and more!
%prep
%setup -n %{oname}-%{version}
%build
%python3_build_debug
%install
%python3_install
%files
%doc CHANGELOG *.md
%python3_sitelibdir/*
%changelog
…
Todas as alterações você pod ver aqui
%define oname PyPDF2
Name: python3-module-%oname
Version: 1.26.0
Release: alt2
Summary: A utility to read and write PDFs with Python
License: BSD
Group: Development/Python3
Url: https://pypi.python.org/pypi/PyPDF2/
# https://github.com/mstamy2/PyPDF2.git
Source0: https://pypi.python.org/packages/b4/01/68fcc0d43daf4c6bdbc6b33cc3f77bda531c86b174cac56ef0ffdb96faab/%{oname}-%{version}.tar.gz
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
Requires: python3-module-Reportlab
%description
A Pure-Python library built as a PDF toolkit. It is capable of:
* extracting document information (title, author, ...)
* splitting documents page by page
* merging documents page by page
* cropping pages
* merging multiple pages into a single page
* encrypting and decrypting PDF files
* and more!
%prep
%setup -n %{oname}-%{version}
%build
%python3_build_debug
%install
%python3_install
%files
%doc CHANGELOG *.md
%python3_sitelibdir/*
%changelog
…
Todas as alterações você pod ver aqui