Group :: Development/Python3
RPM: python3-module-Reportlab
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define rname reportlab
%define oname Reportlab
Name: python3-module-%oname
Version: 3.6.12
Release: alt1
Summary: The Reportlab Toolkit
License: BSD license (see LICENSE.txt for details)
Group: Development/Python3
Url: http://www.reportlab.org
# Source-url: %__pypi_url %rname
Source: reportlab-%version.tar
BuildRequires(pre): rpm-build-intro >= 2.2.5
BuildRequires(pre): rpm-macros-sphinx3
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-sphinx
BuildRequires: libfreetype-devel
%description
The ReportLab Toolkit.
An Open Source Python library for generating PDFs and graphics.
%package docs
Summary: Documentation for Reportlab Toolkit
Group: Development/Documentation
BuildArch: noarch
%description docs
The ReportLab Toolkit.
An Open Source Python library for generating PDFs and graphics.
This package contains documentation for Reportlab Toolkit.
%prep
%setup -n reportlab-%version
%build
%add_optflags -fno-strict-aliasing
%python3_build_debug
%make -C docs html SPHINXBUILD=sphinx-build-3
%install
%python3_install
%python3_prune
%files
%doc *.txt
%python3_sitelibdir/%rname/
%python3_sitelibdir/%rname-*.egg-info/
%files docs
%doc docs/build/html docs/userguide demos
%changelog
…
Todas as alterações você pod ver aqui
%define oname Reportlab
Name: python3-module-%oname
Version: 3.6.12
Release: alt1
Summary: The Reportlab Toolkit
License: BSD license (see LICENSE.txt for details)
Group: Development/Python3
Url: http://www.reportlab.org
# Source-url: %__pypi_url %rname
Source: reportlab-%version.tar
BuildRequires(pre): rpm-build-intro >= 2.2.5
BuildRequires(pre): rpm-macros-sphinx3
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-sphinx
BuildRequires: libfreetype-devel
%description
The ReportLab Toolkit.
An Open Source Python library for generating PDFs and graphics.
%package docs
Summary: Documentation for Reportlab Toolkit
Group: Development/Documentation
BuildArch: noarch
%description docs
The ReportLab Toolkit.
An Open Source Python library for generating PDFs and graphics.
This package contains documentation for Reportlab Toolkit.
%prep
%setup -n reportlab-%version
%build
%add_optflags -fno-strict-aliasing
%python3_build_debug
%make -C docs html SPHINXBUILD=sphinx-build-3
%install
%python3_install
%python3_prune
%files
%doc *.txt
%python3_sitelibdir/%rname/
%python3_sitelibdir/%rname-*.egg-info/
%files docs
%doc docs/build/html docs/userguide demos
%changelog
…
Todas as alterações você pod ver aqui