1 |
Name: youtube-dl |
2 |
Version: 2012.01.05 |
3 |
Release: %mkrel 1 |
4 |
Summary: Small command-line program to download videos from YouTube |
5 |
License: Public Domain and GPLv2 |
6 |
Group: Video |
7 |
URL: http://rg3.github.com/youtube-dl/ |
8 |
|
9 |
Source0: https://github.com/rg3/youtube-dl/raw/%{version}/%{name} |
10 |
#man page from Debian by Rogerio Brito <rbrito@users.sf.net>, licensed under GPLv2 |
11 |
Source1: %{name}.1.gz |
12 |
#from the website |
13 |
#http://rg3.github.com/youtube-dl/about.html |
14 |
Source10: about |
15 |
#http://rg3.github.com/youtube-dl/documentation.html |
16 |
Source11: documentation |
17 |
|
18 |
BuildArch: noarch |
19 |
|
20 |
Requires: python |
21 |
|
22 |
%description |
23 |
Small command-line program to download videos from YouTube. |
24 |
|
25 |
|
26 |
%prep |
27 |
#nothing to prep |
28 |
|
29 |
%build |
30 |
#nothing to build |
31 |
|
32 |
%install |
33 |
#python executable |
34 |
install -D -p -m 755 %{_sourcedir}/%{name} %{buildroot}%{_bindir}/%{name} |
35 |
|
36 |
#man page by Rogerio Brito <rbrito@users.sf.net>, licensed under GPLv2 - from a Debian package |
37 |
install -D -p -m 644 %{_sourcedir}/%{name}.1.gz %{buildroot}%{_mandir}/man1/%{name}.1.gz |
38 |
|
39 |
#license |
40 |
echo "The program is in the Public Domain." > COPYRIGHT |
41 |
|
42 |
#docs |
43 |
cp %{_sourcedir}/about . |
44 |
cp %{_sourcedir}/documentation . |
45 |
|
46 |
%files |
47 |
%doc about documentation COPYRIGHT |
48 |
%{_bindir}/%{name} |
49 |
%{_mandir}/man?/* |