]>
Commit | Line | Data |
---|---|---|
dea2a91e JP |
1 | Summary: A youtube-dl fork with additional features and fixes |
2 | Name: yt-dlp | |
6c8e3b9b | 3 | Version: 2021.11.10.1 |
dea2a91e JP |
4 | Release: 1 |
5 | License: Public Domain | |
6 | Group: Applications/System | |
7 | Source0: https://github.com/yt-dlp/yt-dlp/archive/%{version}/%{name}-%{version}.tar.gz | |
6c8e3b9b | 8 | # Source0-md5: a478f121c58135f9c681d0c6e55ab7b8 |
dea2a91e JP |
9 | URL: https://github.com/yt-dlp/yt-dlp |
10 | BuildRequires: python3-modules >= 1:3.2 | |
11 | BuildRequires: python3-setuptools | |
12 | BuildRequires: rpm-pythonprov | |
13 | BuildRequires: rpmbuild(macros) >= 1.720 | |
14 | Requires: python3-setuptools | |
15 | Requires: python3-%{name} = %{version}-%{release} | |
16 | Suggests: ffmpeg | |
17 | BuildArch: noarch | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | yt-dlp is a youtube-dl fork based on the now inactive youtube-dlc. The | |
22 | main focus of this project is adding new features and patches while | |
23 | also keeping up to date with the original project. | |
24 | ||
25 | %package -n python3-%{name} | |
26 | Summary: Python 3 video extraction utility for YouTube | |
27 | Group: Libraries/Python | |
28 | Requires: python3-pyxattr >= 0.5.0 | |
29 | ||
30 | %description -n python3-%{name} | |
31 | Python 3 video extraction utility for YouTube. | |
32 | ||
33 | %prep | |
34 | %setup -q | |
35 | ||
36 | %build | |
37 | %py3_build | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %py3_install | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %doc README.md LICENSE | |
50 | %attr(755,root,root) %{_bindir}/yt-dlp | |
51 | ||
52 | %files -n python3-%{name} | |
53 | %defattr(644,root,root,755) | |
54 | %{py3_sitescriptdir}/yt_dlp | |
55 | %{py3_sitescriptdir}/yt_dlp-*-py*.egg-info |