]> git.pld-linux.org Git - packages/yt-dlp.git/blob - yt-dlp.spec
up to 2022.11.11
[packages/yt-dlp.git] / yt-dlp.spec
1 Summary:        A youtube-dl fork with additional features and fixes
2 Name:           yt-dlp
3 Version:        2022.11.11
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
8 # Source0-md5:  b57792d6fde160a0236d025a171acdca
9 URL:            https://github.com/yt-dlp/yt-dlp
10 BuildRequires:  python3-modules >= 1:3.7
11 BuildRequires:  python3-setuptools
12 BuildRequires:  rpm-pythonprov
13 BuildRequires:  rpmbuild(macros) >= 1.720
14 Requires:       python3-modules >= 1:3.7
15 Requires:       python3-setuptools
16 Requires:       python3-%{name} = %{version}-%{release}
17 Suggests:       ffmpeg
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 yt-dlp is a youtube-dl fork based on the now inactive youtube-dlc. The
23 main focus of this project is adding new features and patches while
24 also keeping up to date with the original project.
25
26 %package -n python3-%{name}
27 Summary:        Python 3 video extraction utility for YouTube
28 Group:          Libraries/Python
29 Requires:       python3-pyxattr >= 0.5.0
30
31 %description -n python3-%{name}
32 Python 3 video extraction utility for YouTube.
33
34 %prep
35 %setup -q
36
37 %build
38 %py3_build
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %py3_install
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc README.md LICENSE
51 %attr(755,root,root) %{_bindir}/yt-dlp
52
53 %files -n python3-%{name}
54 %defattr(644,root,root,755)
55 %{py3_sitescriptdir}/yt_dlp
56 %{py3_sitescriptdir}/yt_dlp-*-py*.egg-info
This page took 0.101243 seconds and 4 git commands to generate.