yt-dlp/youtube-dl.spec
2014-11-24 16:44:43 +04:00

41 lines
889 B
RPMSpec

Summary: Small command-line program to download videos from YouTube
Name: youtube-dl
Version: 2014.11.16
Release: 1
License: Public Domain and GPLv2+
Group: Video
Url: http://rg3.github.com/youtube-dl/
Source0: https://yt-dl.org/downloads/2014.11.16/%{name}-%{version}.tar.gz
BuildRequires: pythonegg(nose)
BuildRequires: pythonegg(setuptools)
Requires: python
BuildArch: noarch
%description
Small command-line program to download videos from YouTube.
%prep
%setup -qn %{name}
%build
%make
%install
%makeinstall DESTDIR=%{buildroot} \
PREFIX=%{_prefix} \
MANDIR=%{_mandir}
%check
#make test
%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