1 |
Name: youtube-dl |
2 |
Version: 2013.07.31 |
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.com/youtube-dl/ |
8 |
Source0: https://github.com/rg3/youtube-dl/archive/%{version}.zip |
9 |
Patch0: %{name}-2013.04.18-mga-dont-ship-with-documentation-generated-with-pandoc.patch |
10 |
|
11 |
BuildArch: noarch |
12 |
BuildRequires: zip |
13 |
Requires: python |
14 |
|
15 |
%description |
16 |
Small command-line program to download videos from YouTube. |
17 |
|
18 |
|
19 |
%prep |
20 |
%setup -q |
21 |
%patch0 -p1 |
22 |
rm -f youtube-dl |
23 |
rm -f youtube-dl.exe |
24 |
|
25 |
%build |
26 |
|
27 |
%install |
28 |
make install DESTDIR="%{buildroot}" PREFIX="%{_prefix}" MANDIR="%{_mandir}" |
29 |
|
30 |
%files |
31 |
%{_bindir}/%{name} |
32 |
%{_sysconfdir}/bash_completion.d/youtube-dl |