# Created by pyp2rpm-3.3.4 %global pypi_name imageio-ffmpeg Name: python-%{pypi_name} Version: 0.4.2 Release: 1%{?dist} Summary: FFMPEG wrapper for Python License: BSD-2-Clause URL: https://github.com/imageio/imageio-ffmpeg Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(pip) > 19 BuildRequires: python3dist(setuptools) %description FFMPEG wrapper for Python.Note that the platform-specific wheels contain the binary executable of ffmpeg, which makes this package around 60 MiB in size. I guess that's the cost for being able to read/write video files.For Linux users: the above is not the case when installing via your Linux package manager (if that is possible), because this package would simply depend on ffmpeg in that case. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} FFMPEG wrapper for Python.Note that the platform-specific wheels contain the binary executable of ffmpeg, which makes this package around 60 MiB in size. I guess that's the cost for being able to read/write video files.For Linux users: the above is not the case when installing via your Linux package manager (if that is possible), because this package would simply depend on ffmpeg in that case. %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %files -n python3-%{pypi_name} %license LICENSE %doc README.md %{python3_sitelib}/imageio_ffmpeg %{python3_sitelib}/imageio_ffmpeg-%{version}-py%{python3_version}.egg-info %changelog * Wed Sep 30 2020 Itamar Reis Peixoto - 0.4.2-1 - Initial package.