mirror of
https://abf.rosa.ru/djam/yt-dlp.git
synced 2025-02-23 07:12:55 +00:00
2023.12.30
This commit is contained in:
parent
e9ae7164f2
commit
897ec0b91d
2 changed files with 18 additions and 18 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
|||
sources:
|
||||
yt-dlp-2023.12.30.tar.gz: fe662a7007ce63d2817420bb30def5ce7916e3f6
|
||||
yt-dlp-2023.12.30.tar.gz: 603910501f121ec575e957909a19a3fff1d69eb5
|
||||
|
|
34
yt-dlp.spec
34
yt-dlp.spec
|
@ -7,15 +7,15 @@ Version: 2023.12.30
|
|||
Release: 1
|
||||
License: Public Domain and GPLv2+
|
||||
Group: Video
|
||||
Url: https://github.com/yt-dlp/yt-dlp
|
||||
URL: https://github.com/yt-dlp/yt-dlp
|
||||
# pure source from Github requires at least pandoc which is not packaged
|
||||
Source0: https://github.com/yt-dlp/yt-dlp/releases/download/%{version}/yt-dlp.tar.gz?/yt-dlp-%{version}.tar.gz
|
||||
Source100: yt-dlp.1
|
||||
|
||||
BuildRequires: ffmpeg
|
||||
BuildRequires: gnupg2
|
||||
BuildRequires: pkgconfig(python3)
|
||||
BuildRequires: python3egg(setuptools)
|
||||
BuildRequires: python38-devel
|
||||
BuildRequires: python38-setuptools
|
||||
BuildRequires: zip
|
||||
|
||||
Requires: python3-%{name} = %{EVRD}
|
||||
|
@ -30,12 +30,12 @@ Provides: youtube-dl = %{EVRD}
|
|||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Small command-line program to download videos and audio from different websites.
|
||||
Small command-line program to download videos and audio from
|
||||
different websites.
|
||||
Fork of youtube-dl.
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.*
|
||||
%doc README.* LICENSE
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/youtube-dl
|
||||
%{_datadir}/zsh/site-functions/_%{name}
|
||||
|
@ -45,32 +45,32 @@ Fork of youtube-dl.
|
|||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
%package -n python3-%{name}
|
||||
%package -n python38-%{name}
|
||||
Summary: Python 3 bindings for %{name}
|
||||
Group: Development/Python
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n python3-%{name}
|
||||
This package contains the Python 3 bindings for %{name} (fork of youtube-dl)
|
||||
%description -n python38-%{name}
|
||||
This package contains the Python 3 bindings for %{name}
|
||||
(fork of youtube-dl)
|
||||
|
||||
%files -n python3-%{name}
|
||||
%license LICENSE
|
||||
%doc README.*
|
||||
%{python3_sitelib}/yt_dlp
|
||||
%{python3_sitelib}/yt_dlp-*-py%{py3_ver}.egg-info
|
||||
%files -n python38-%{name}
|
||||
%doc README.* LICENSE
|
||||
%{python38_sitelib}/yt_dlp
|
||||
%{python38_sitelib}/yt_dlp-*-py%{py38_ver}.egg-info
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{name}-%{version}
|
||||
%setup -qn %{name}
|
||||
|
||||
%build
|
||||
# include completions
|
||||
make completion-bash completion-zsh completion-fish
|
||||
%py3_build
|
||||
%py38_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
%py38_install
|
||||
|
||||
# force the binary to use python 3 environment by default
|
||||
sed -i -e 's,#!/usr/bin/env python,#!%{__python3},' %{buildroot}%{_bindir}/%{name}
|
||||
|
|
Loading…
Add table
Reference in a new issue