]> git.pld-linux.org Git - packages/yt-dlp.git/blame - yt-dlp.spec
rebuild with python 3.10
[packages/yt-dlp.git] / yt-dlp.spec
CommitLineData
dea2a91e
JP
1Summary: A youtube-dl fork with additional features and fixes
2Name: yt-dlp
665f5c47 3Version: 2022.03.08.1
60b918a6 4Release: 3
dea2a91e
JP
5License: Public Domain
6Group: Applications/System
7Source0: https://github.com/yt-dlp/yt-dlp/archive/%{version}/%{name}-%{version}.tar.gz
665f5c47 8# Source0-md5: b9b7177575b20a1f45e8c4b50d8e510e
dea2a91e
JP
9URL: https://github.com/yt-dlp/yt-dlp
10BuildRequires: python3-modules >= 1:3.2
11BuildRequires: python3-setuptools
12BuildRequires: rpm-pythonprov
13BuildRequires: rpmbuild(macros) >= 1.720
14Requires: python3-setuptools
15Requires: python3-%{name} = %{version}-%{release}
16Suggests: ffmpeg
17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21yt-dlp is a youtube-dl fork based on the now inactive youtube-dlc. The
22main focus of this project is adding new features and patches while
23also keeping up to date with the original project.
24
25%package -n python3-%{name}
26Summary: Python 3 video extraction utility for YouTube
27Group: Libraries/Python
28Requires: python3-pyxattr >= 0.5.0
29
30%description -n python3-%{name}
31Python 3 video extraction utility for YouTube.
32
33%prep
34%setup -q
35
36%build
37%py3_build
38
39%install
40rm -rf $RPM_BUILD_ROOT
41
42%py3_install
43
44%clean
45rm -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
This page took 0.088463 seconds and 4 git commands to generate.