%global pypi_name pysrt Name: python-%{pypi_name} Version: 1.1.2 Release: %mkrel 4 Summary: SubRip (.srt) subtitle parser and writer Group: Development/Python License: GPLv3 URL: https://pypi.org/project/pysrt/ Source0: %{pypi_source} BuildArch: noarch %description pysrt is a Python library used to edit or create SubRip files. %package -n python3-%{pypi_name} Summary: %{summary} Group: Development/Python BuildRequires: python3-setuptools %description -n python3-%{pypi_name} pysrt is a Python library used to edit or create SubRip files. %prep %autosetup -n %{pypi_name}-%{version} %build %py3_build %install %py3_install %files -n python3-%{pypi_name} %doc README.rst %{python3_sitelib}/pysrt %{python3_sitelib}/pysrt-%{version}-py%{python3_version}.egg-info %{_bindir}/srt %changelog * Wed Mar 23 2022 umeabot <umeabot> 1.1.2-4.mga9 + Revision: 1822894 - Mageia 9 Mass Rebuild * Tue Feb 15 2022 mrambo3501 <mrambo3501> 1.1.2-3.mga9 + Revision: 1775676 - rebuild for python-3.10 * Wed Mar 24 2021 guillomovitch <guillomovitch> 1.1.2-2.mga9 + Revision: 1708597 - rebuild for python 3.9 * Fri May 08 2020 guillomovitch <guillomovitch> 1.1.2-1.mga8 + Revision: 1581742 - imported package python-pysrt