# Created by pyp2rpm-3.3.7 %global pypi_name yt-dlp %global pypi_version 2022.08.18.36 %global egg_version 2022.8.18.36 Name: %{pypi_name} Version: %{pypi_version} Release: 1%{?dist} Summary: Command-line program to download videos from YouTube License: None URL: https://github.com/yt-dlp/yt-dlp Source0: %{pypi_name}-%{pypi_version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(mutagen) BuildRequires: python3dist(pycryptodomex) BuildRequires: python3dist(setuptools) BuildRequires: python3dist(websockets) BuildRequires: python3dist(sphinx) Requires: python3dist(mutagen) Requires: python3dist(pycryptodomex) Requires: python3dist(setuptools) Requires: python3dist(websockets) %description yt-dlp is a youtube-dl(https://github.com/ytdl-org/youtube-dl) fork based on the now inactive youtube-dlc(https://github.com/blackjack4494/yt-dlc). The main focus of this project is adding new features and patches while also keeping up to date with the original project %prep %autosetup -n %{pypi_name}-%{pypi_version} %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 %license LICENSE %doc README.md Changelog.md %{_bindir}/yt-dlp %{python3_sitelib}/yt_dlp %{python3_sitelib}/yt_dlp-%{egg_version}-py%{python3_version}.egg-info %changelog * Tue Sep 13 2022 aram - 2022.8.18.36-1 - Revert back to python 3.6 supported version. * Sun Aug 28 2022 aram - 2022.8.19-1 - New version package. * Tue Oct 26 2021 aram - 2021.10.22-1 - Initial package.