Updated to 2018.09.26

This commit is contained in:
Алзим 2018-09-26 21:50:41 +03:00
parent a826997851
commit 1d23fe1f0e
2 changed files with 13 additions and 15 deletions

View file

@ -1,3 +1,2 @@
sources:
youtube-dl-2018.09.01.tar.gz: 06485f6cf4eee2971750e1d21dcccb462f5bd742
youtube-dl-2018.09.01.tar.gz.sig: 764c918985f9ee5ded54f546ea76779a6f9fced5
youtube-dl-2018.09.26.tar.gz: f30a17aefdd2127203b5923ebf507df64af31ede

View file

@ -2,21 +2,19 @@
Summary: Small command-line program to download videos from YouTube
Name: youtube-dl
Version: 2018.09.01
Version: 2018.09.26
Release: 1
License: Public Domain and GPLv2+
Group: Video
Url: https://yt-dl.org
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: gnupg2
BuildRequires: pythonegg(nose)
BuildRequires: pythonegg(setuptools)
BuildRequires: pkgconfig(python2)
BuildRequires: pkgconfig(python)
BuildRequires: pkgconfig(python3)
BuildRequires: python3egg(setuptools)
BuildRequires: pythonegg(nose)
BuildRequires: pythonegg(setuptools)
BuildRequires: zip
BuildArch: noarch
Requires: python3
@ -26,7 +24,7 @@ Suggests: ffmpeg
Small command-line program to download videos from YouTube and similar sites.
%files
%doc LICENSE README.txt
%doc LICENSE README.txt
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%{_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}
Group: Development/Python
BuildArch: noarch
Provides: python-%{name}
%description -n python2-%{name}
%description -n python-%{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%{py_ver}.egg-info
@ -59,6 +57,7 @@ BuildArch: noarch
This is the Python 3 bindings for %{name}.
%files -n python3-%{name}
%doc LICENSE README.txt
%{py3_puresitedir}/%{pypi_name}
%{py3_puresitedir}/%{pypi_name}-*-py%{py3_ver}.egg-info
@ -71,14 +70,14 @@ rm youtube-dl
cp -a . %{py3dir}
%build
%py2_build
%py_build
pushd %{py3dir}
%py3_build
popd
%install
%py2_install
%py_install
pushd %{py3dir}
%py3_install