1 |
Name: youtube-dl |
2 |
Version: 2015.06.15 |
3 |
Release: %mkrel 1 |
4 |
Summary: Small command-line program to download videos from YouTube |
5 |
License: Public Domain |
6 |
Group: Video/Players |
7 |
URL: http://rg3.github.io/youtube-dl |
8 |
Source: https://yt-dl.org/downloads/%{version}/%{name}-%{version}.tar.gz |
9 |
BuildArch: noarch |
10 |
BuildRequires: zip |
11 |
Requires: python |
12 |
|
13 |
%description |
14 |
Small command-line program to download videos from YouTube. |
15 |
|
16 |
%prep |
17 |
%setup -q -n %{name} |
18 |
rm youtube-dl |
19 |
|
20 |
%build |
21 |
|
22 |
%install |
23 |
%makeinstall_std DESTDIR="%{buildroot}" PREFIX="%{_prefix}" MANDIR="%{_mandir}" |
24 |
|
25 |
%files |
26 |
%doc README.txt |
27 |
%attr(0755,root,root) %{_bindir}/%{name} |
28 |
%{_sysconfdir}/bash_completion.d/youtube-dl |
29 |
%{_sysconfdir}/fish/completions/youtube-dl.fish |
30 |
%{_datadir}/zsh/site-functions/_youtube-dl |
31 |
%{_mandir}/man1/%{name}.1.* |