1 |
Name: youtube-dl |
2 |
Version: 2012.12.11 |
3 |
Release: %mkrel 1 |
4 |
Summary: Small command-line program to download videos from YouTube |
5 |
License: Public Domain and GPLv2 |
6 |
Group: Video/Players |
7 |
URL: http://rg3.github.com/youtube-dl/ |
8 |
Source0: https://github.com/rg3/youtube-dl/archive/%{version}.zip |
9 |
#man page from Debian by Rogerio Brito <rbrito@users.sf.net>, licensed under GPLv2 |
10 |
Source1: %{name}.1.gz |
11 |
|
12 |
BuildArch: noarch |
13 |
|
14 |
Requires: python |
15 |
|
16 |
%description |
17 |
Small command-line program to download videos from YouTube. |
18 |
|
19 |
|
20 |
%prep |
21 |
#nothing to prep |
22 |
|
23 |
%build |
24 |
#nothing to build |
25 |
|
26 |
%install |
27 |
#python executable |
28 |
install -D -p -m 755 %{_sourcedir}/%{name} %{buildroot}%{_bindir}/%{name} |
29 |
|
30 |
# man page by Rogerio Brito <rbrito@users.sf.net>, licensed under GPLv2 - from a Debian package |
31 |
install -D -p -m 644 %{_sourcedir}/%{name}.1.gz %{buildroot}%{_mandir}/man1/%{name}.1.gz |
32 |
|
33 |
%files |
34 |
%{_bindir}/%{name} |
35 |
%{_mandir}/man?/* |