]>
Commit | Line | Data |
---|---|---|
dea2a91e JP |
1 | Summary: A youtube-dl fork with additional features and fixes |
2 | Name: yt-dlp | |
003616fa | 3 | Version: 2023.12.30 |
66944181 | 4 | Release: 1 |
dea2a91e JP |
5 | License: Public Domain |
6 | Group: Applications/System | |
7 | Source0: https://github.com/yt-dlp/yt-dlp/archive/%{version}/%{name}-%{version}.tar.gz | |
003616fa | 8 | # Source0-md5: ce9c0953adea8a95bc8b62dca0f653c1 |
dea2a91e | 9 | URL: https://github.com/yt-dlp/yt-dlp |
0d03b945 | 10 | BuildRequires: python3 >= 1:3.7 |
43df0b2d | 11 | BuildRequires: python3-modules >= 1:3.7 |
dea2a91e JP |
12 | BuildRequires: python3-setuptools |
13 | BuildRequires: rpm-pythonprov | |
14 | BuildRequires: rpmbuild(macros) >= 1.720 | |
43df0b2d | 15 | Requires: python3-modules >= 1:3.7 |
dea2a91e JP |
16 | Requires: python3-setuptools |
17 | Requires: python3-%{name} = %{version}-%{release} | |
18 | Suggests: ffmpeg | |
19 | BuildArch: noarch | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
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. | |
26 | ||
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 | |
31 | ||
32 | %description -n python3-%{name} | |
33 | Python 3 video extraction utility for YouTube. | |
34 | ||
35 | %prep | |
36 | %setup -q | |
37 | ||
38 | %build | |
39 | %py3_build | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %py3_install | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %doc README.md LICENSE | |
52 | %attr(755,root,root) %{_bindir}/yt-dlp | |
53 | ||
54 | %files -n python3-%{name} | |
55 | %defattr(644,root,root,755) | |
56 | %{py3_sitescriptdir}/yt_dlp | |
57 | %{py3_sitescriptdir}/yt_dlp-*-py*.egg-info |