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