yt-dlp/youtube-dl.spec

47 lines
1 KiB
RPMSpec
Raw Normal View History

2013-07-04 22:48:15 +11:00
Summary: Small command-line program to download videos from YouTube
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
License: Public Domain and GPLv2+
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)
BuildRequires: pythonegg(setuptools)
2016-01-08 21:50:36 +01:00
# For tests
2015-01-19 20:50:12 +01:00
BuildRequires: ffmpeg
Requires: python
2015-01-19 20:50:12 +01:00
Suggests: ffmpeg
BuildArch: noarch
%description
2015-08-30 20:13:39 +02:00
Small command-line program to download videos from YouTube and similar sites.
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
#-----------------------------------------------------------------------------
%prep
%setup -qn %{name}
%build
2015-08-30 20:13:39 +02:00
#python ./setup.py
%make
%install
%makeinstall DESTDIR=%{buildroot} \
2015-09-16 15:02:01 +02:00
PREFIX=%{_prefix} \
MANDIR=%{_mandir}
2015-12-26 11:59:02 +01:00
%check
2015-07-01 09:57:39 +02:00
# This would need a huge amount of downloads.
#make test