]> git.pld-linux.org Git - packages/yt-dlp.git/blob - yt-dlp.spec
up to 2023.12.30
[packages/yt-dlp.git] / yt-dlp.spec
1 Summary:        A youtube-dl fork with additional features and fixes
2 Name:           yt-dlp
3 Version:        2023.12.30
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:  ce9c0953adea8a95bc8b62dca0f653c1
9 URL:            https://github.com/yt-dlp/yt-dlp
10 BuildRequires:  python3 >= 1:3.7
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}
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
This page took 0.083135 seconds and 4 git commands to generate.