mirror of
https://abf.rosa.ru/djam/yt-dlp.git
synced 2025-02-23 15:22:53 +00:00
47 lines
1 KiB
RPMSpec
47 lines
1 KiB
RPMSpec
Summary: Small command-line program to download videos from YouTube
|
|
Name: youtube-dl
|
|
Version: 2016.03.06
|
|
Release: 1
|
|
License: Public Domain and GPLv2+
|
|
Group: Video
|
|
Url: http://rg3.github.com/youtube-dl/
|
|
Source0: https://yt-dl.org/downloads/%{version}/%{name}-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: pythonegg(nose)
|
|
BuildRequires: pythonegg(setuptools)
|
|
# For tests
|
|
BuildRequires: ffmpeg
|
|
Requires: python
|
|
Suggests: ffmpeg
|
|
|
|
|
|
%description
|
|
Small command-line program to download videos from YouTube and similar sites.
|
|
|
|
%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
|
|
#python ./setup.py
|
|
%make
|
|
|
|
|
|
%install
|
|
%makeinstall DESTDIR=%{buildroot} \
|
|
PREFIX=%{_prefix} \
|
|
MANDIR=%{_mandir}
|
|
|
|
|
|
%check
|
|
# This would need a huge amount of downloads.
|
|
#make test
|