1 Summary: A youtube-dl fork with additional features and fixes
6 Group: Applications/System
7 Source0: https://github.com/yt-dlp/yt-dlp/archive/%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5: 405ecebddf10ca44ea6c6dedf00277a1
9 Patch0: no-install-devscripts.patch
10 URL: https://github.com/yt-dlp/yt-dlp
11 BuildRequires: python3-modules >= 1:3.7
12 BuildRequires: python3-setuptools
13 BuildRequires: rpm-pythonprov
14 BuildRequires: rpmbuild(macros) >= 1.720
15 Requires: python3-modules >= 1:3.7
16 Requires: python3-setuptools
17 Requires: python3-%{name} = %{version}-%{release}
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 yt-dlp is a youtube-dl fork based on the now inactive youtube-dlc. The
24 main focus of this project is adding new features and patches while
25 also keeping up to date with the original project.
27 %package -n python3-%{name}
28 Summary: Python 3 video extraction utility for YouTube
29 Group: Libraries/Python
30 Requires: python3-pyxattr >= 0.5.0
32 %description -n python3-%{name}
33 Python 3 video extraction utility for YouTube.
43 rm -rf $RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %doc README.md LICENSE
53 %attr(755,root,root) %{_bindir}/yt-dlp
55 %files -n python3-%{name}
56 %defattr(644,root,root,755)
57 %{py3_sitescriptdir}/yt_dlp
58 %{py3_sitescriptdir}/yt_dlp-*-py*.egg-info