2013-07-04 22:48:15 +11:00
|
|
|
Summary: Small command-line program to download videos from YouTube
|
2012-02-02 01:55:34 +04:00
|
|
|
Name: youtube-dl
|
2016-01-08 21:50:36 +01:00
|
|
|
Version: 2016.01.01
|
2014-09-27 21:31:13 +02:00
|
|
|
Release: 1
|
2014-04-16 01:02:05 +11:00
|
|
|
License: Public Domain and GPLv2+
|
2012-02-02 01:55:34 +04:00
|
|
|
Group: Video
|
2013-07-04 22:48:15 +11:00
|
|
|
Url: http://rg3.github.com/youtube-dl/
|
2015-01-19 20:50:12 +01:00
|
|
|
Source0: https://yt-dl.org/downloads/%{version}/%{name}-%{version}.tar.gz
|
2015-08-30 20:13:39 +02:00
|
|
|
BuildRequires: pythonegg(nose)
|
2014-05-07 00:19:00 +02:00
|
|
|
BuildRequires: pythonegg(setuptools)
|
2016-01-08 21:50:36 +01:00
|
|
|
# For tests
|
2015-01-19 20:50:12 +01:00
|
|
|
BuildRequires: ffmpeg
|
2012-02-02 01:55:34 +04:00
|
|
|
Requires: python
|
2015-01-19 20:50:12 +01:00
|
|
|
Suggests: ffmpeg
|
2014-04-16 01:02:05 +11:00
|
|
|
BuildArch: noarch
|
2012-02-02 01:55:34 +04:00
|
|
|
|
|
|
|
%description
|
2015-08-30 20:13:39 +02:00
|
|
|
Small command-line program to download videos from YouTube and similar sites.
|
2012-02-02 01:55:34 +04:00
|
|
|
|
2015-08-30 20:13:39 +02:00
|
|
|
%files
|
|
|
|
%doc LICENSE README.txt
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_mandir}/man1/%{name}.1*
|
|
|
|
%{_datadir}/zsh/site-functions/_youtube-dl
|
|
|
|
%config(noreplace) %{_sysconfdir}/bash_completion.d/%{name}
|
|
|
|
%config(noreplace) %{_sysconfdir}/fish/completions/%{name}.fish
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|
2014-04-16 01:02:05 +11:00
|
|
|
|
2012-02-02 01:55:34 +04:00
|
|
|
%prep
|
2014-05-07 00:19:00 +02:00
|
|
|
%setup -qn %{name}
|
2012-02-02 01:55:34 +04:00
|
|
|
|
|
|
|
%build
|
2015-08-30 20:13:39 +02:00
|
|
|
#python ./setup.py
|
2014-05-07 00:19:00 +02:00
|
|
|
%make
|
|
|
|
|
2012-02-02 01:55:34 +04:00
|
|
|
|
|
|
|
%install
|
2014-05-07 00:19:00 +02:00
|
|
|
%makeinstall DESTDIR=%{buildroot} \
|
2015-09-16 15:02:01 +02:00
|
|
|
PREFIX=%{_prefix} \
|
|
|
|
MANDIR=%{_mandir}
|
2015-12-26 11:59:02 +01:00
|
|
|
|
2014-05-07 00:19:00 +02:00
|
|
|
|
|
|
|
%check
|
2015-07-01 09:57:39 +02:00
|
|
|
# This would need a huge amount of downloads.
|
2014-05-07 14:49:47 +04:00
|
|
|
#make test
|