# Created by pyp2rpm-3.3.4 %global pypi_name Pillow Name: python-%{pypi_name} Version: 7.2.0 Release: 1%{?dist} Summary: Python Imaging Library (Fork) License: HPND URL: https://python-pillow.org Source0: %{pypi_source} BuildRequires: python3-devel BuildRequires: gcc BuildRequires: zlib-devel BuildRequires: libjpeg-turbo-devel BuildRequires: python3-devel BuildRequires: python3dist(setuptools) BuildRequires: python3dist(sphinx) %description Python Imaging Library (Fork) --Pillow is the friendly PIL fork by Alex Clark and Contributors < PIL is the Python Imaging Library by Fredrik Lundh and Contributors. As of 2019, Pillow development is supported by Tidelift < start- badges.. list-table:: :stub-columns: 1 * - docs - |docs| * - tests - |linux| |macos| |windows| |gha_lint| |gha| |gha_windows| |gha_docker| |coverage| * - package %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} Python Imaging Library (Fork) --Pillow is the friendly PIL fork by Alex Clark and Contributors < PIL is the Python Imaging Library by Fredrik Lundh and Contributors. As of 2019, Pillow development is supported by Tidelift < start- badges.. list-table:: :stub-columns: 1 * - docs - |docs| * - tests - |linux| |macos| |windows| |gha_lint| |gha| |gha_windows| |gha_docker| |coverage| * - package %package -n python-%{pypi_name}-doc Summary: Pillow documentation %description -n python-%{pypi_name}-doc Documentation for Pillow %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build # generate html docs #PYTHONPATH=${PWD} sphinx-build-3 docs html # remove the sphinx-build leftovers #rm -rf html/.{doctrees,buildinfo} %install %py3_install %check ##%{__python3} setup.py test %files -n python3-%{pypi_name} %license LICENSE Tests/fonts/LICENSE.txt Tests/icc/LICENSE.txt %doc README.rst Tests/README.rst Tests/images/bmp/README.txt Tests/images/tga/common/readme.txt depends/README.rst winbuild/README.md %{python3_sitearch}/PIL %{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %files -n python-%{pypi_name}-doc %doc LICENSE #html %license LICENSE Tests/fonts/LICENSE.txt Tests/icc/LICENSE.txt %changelog * Wed Sep 30 2020 Itamar Reis Peixoto - 7.2.0-1 - Initial package.