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 |
Patch0: %{name}-2012.12.11-mga-disable-broken-installation-of-extras.patch |
12 |
|
13 |
BuildArch: noarch |
14 |
|
15 |
Requires: python |
16 |
|
17 |
%description |
18 |
Small command-line program to download videos from YouTube. |
19 |
|
20 |
|
21 |
%prep |
22 |
%setup -q |
23 |
%patch0 -p0 |
24 |
|
25 |
%build |
26 |
python setup.py build |
27 |
|
28 |
%install |
29 |
python setup.py install --skip-build --root %{buildroot} |
30 |
|
31 |
# man page by Rogerio Brito <rbrito@users.sf.net>, licensed under GPLv2 - from a Debian package |
32 |
install -D -p -m 644 %{_sourcedir}/%{name}.1.gz %{buildroot}%{_mandir}/man1/%{name}.1.gz |
33 |
|
34 |
%files |
35 |
%{_bindir}/%{name} |
36 |
%{python_sitelib}/youtube_dl/*py |
37 |
%{python_sitelib}/youtube_dl-%{version}-py2.7.egg-info |
38 |
%{_mandir}/man?/* |