mirror of
https://abf.rosa.ru/djam/yt-dlp.git
synced 2025-02-23 15:22:53 +00:00
Updated to 2018.09.26
This commit is contained in:
parent
a826997851
commit
1d23fe1f0e
2 changed files with 13 additions and 15 deletions
3
.abf.yml
3
.abf.yml
|
@ -1,3 +1,2 @@
|
||||||
sources:
|
sources:
|
||||||
youtube-dl-2018.09.01.tar.gz: 06485f6cf4eee2971750e1d21dcccb462f5bd742
|
youtube-dl-2018.09.26.tar.gz: f30a17aefdd2127203b5923ebf507df64af31ede
|
||||||
youtube-dl-2018.09.01.tar.gz.sig: 764c918985f9ee5ded54f546ea76779a6f9fced5
|
|
||||||
|
|
|
@ -2,21 +2,19 @@
|
||||||
|
|
||||||
Summary: Small command-line program to download videos from YouTube
|
Summary: Small command-line program to download videos from YouTube
|
||||||
Name: youtube-dl
|
Name: youtube-dl
|
||||||
Version: 2018.09.01
|
Version: 2018.09.26
|
||||||
Release: 1
|
Release: 1
|
||||||
License: Public Domain and GPLv2+
|
License: Public Domain and GPLv2+
|
||||||
Group: Video
|
Group: Video
|
||||||
Url: https://yt-dl.org
|
Url: https://yt-dl.org
|
||||||
Source0: https://github.com/rg3/youtube-dl/releases/download/%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/rg3/youtube-dl/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||||
Source1: https://github.com/rg3/youtube-dl/releases/download/%{version}/%{name}-%{version}.tar.gz.sig
|
|
||||||
# For tests
|
|
||||||
BuildRequires: ffmpeg
|
BuildRequires: ffmpeg
|
||||||
BuildRequires: gnupg2
|
BuildRequires: gnupg2
|
||||||
BuildRequires: pythonegg(nose)
|
BuildRequires: pkgconfig(python)
|
||||||
BuildRequires: pythonegg(setuptools)
|
|
||||||
BuildRequires: pkgconfig(python2)
|
|
||||||
BuildRequires: pkgconfig(python3)
|
BuildRequires: pkgconfig(python3)
|
||||||
BuildRequires: python3egg(setuptools)
|
BuildRequires: python3egg(setuptools)
|
||||||
|
BuildRequires: pythonegg(nose)
|
||||||
|
BuildRequires: pythonegg(setuptools)
|
||||||
BuildRequires: zip
|
BuildRequires: zip
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: python3
|
Requires: python3
|
||||||
|
@ -26,7 +24,7 @@ Suggests: ffmpeg
|
||||||
Small command-line program to download videos from YouTube and similar sites.
|
Small command-line program to download videos from YouTube and similar sites.
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc LICENSE README.txt
|
%doc LICENSE README.txt
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_mandir}/man1/%{name}.1*
|
%{_mandir}/man1/%{name}.1*
|
||||||
%{_datadir}/zsh/site-functions/_%{name}
|
%{_datadir}/zsh/site-functions/_%{name}
|
||||||
|
@ -35,16 +33,16 @@ Small command-line program to download videos from YouTube and similar sites.
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
|
|
||||||
%package -n python2-%{name}
|
%package -n python-%{name}
|
||||||
Summary: Python 2 bindings for %{name}
|
Summary: Python 2 bindings for %{name}
|
||||||
Group: Development/Python
|
Group: Development/Python
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Provides: python-%{name}
|
|
||||||
|
|
||||||
%description -n python2-%{name}
|
%description -n python-%{name}
|
||||||
This is the Python 2 bindings for %{name}.
|
This is the Python 2 bindings for %{name}.
|
||||||
|
|
||||||
%files -n python2-%{name}
|
%files -n python-%{name}
|
||||||
|
%doc LICENSE README.txt
|
||||||
%{py_puresitedir}/%{pypi_name}
|
%{py_puresitedir}/%{pypi_name}
|
||||||
%{py_puresitedir}/%{pypi_name}-*-py%{py_ver}.egg-info
|
%{py_puresitedir}/%{pypi_name}-*-py%{py_ver}.egg-info
|
||||||
|
|
||||||
|
@ -59,6 +57,7 @@ BuildArch: noarch
|
||||||
This is the Python 3 bindings for %{name}.
|
This is the Python 3 bindings for %{name}.
|
||||||
|
|
||||||
%files -n python3-%{name}
|
%files -n python3-%{name}
|
||||||
|
%doc LICENSE README.txt
|
||||||
%{py3_puresitedir}/%{pypi_name}
|
%{py3_puresitedir}/%{pypi_name}
|
||||||
%{py3_puresitedir}/%{pypi_name}-*-py%{py3_ver}.egg-info
|
%{py3_puresitedir}/%{pypi_name}-*-py%{py3_ver}.egg-info
|
||||||
|
|
||||||
|
@ -71,14 +70,14 @@ rm youtube-dl
|
||||||
cp -a . %{py3dir}
|
cp -a . %{py3dir}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
%py_build
|
||||||
|
|
||||||
pushd %{py3dir}
|
pushd %{py3dir}
|
||||||
%py3_build
|
%py3_build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
%py_install
|
||||||
|
|
||||||
pushd %{py3dir}
|
pushd %{py3dir}
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
Loading…
Add table
Reference in a new issue