%global srcname ytmusicapi Name: python-%{srcname} Version: 0.24.1 Release: 3%{?dist} License: MIT Summary: Unofficial API for YouTube Music Url: https://github.com/sigma67/%{srcname} Source: %{pypi_source} Patch0: 001-setuptools-version.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools %global _description %{expand: ytmusicapi is a Python 3 library to send requests to the YouTube Music API. It emulates YouTube Music web client requests using the user’s cookie data for authentication.} %description %_description %package -n python3-%{srcname} Summary: %{summary} Recommends: python3-%{srcname} %description -n python3-%{srcname} %_description %prep %autosetup -n %{srcname}-%{version} -p1 %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %files -n python3-%{srcname} -f %{pyproject_files} %license LICENSE %doc README.rst CONTRIBUTING.rst PKG-INFO %changelog * Fri Jan 20 2023 Fedora Release Engineering - 0.24.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Dec 10 2022 Onuralp SEZER - 0.24.1-2 - build fix for pyproject.toml - Remove old source files * Sat Dec 10 2022 Justin Zobel - 0.24.1-1 - v0.24.1 * Thu Aug 25 2022 Onuralp SEZER - 0.22.0-1 - v0.22.0 * Fri Jul 22 2022 Fedora Release Engineering - 0.20.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.20.0-2 - Rebuilt for Python 3.11 * Sun Jan 16 2022 Onuralp SEZER - 0.20.0-1 - Initial version of package