Name: youtube-dl Version: 2013.08.15 Release: %mkrel 1 Summary: Small command-line program to download videos from YouTube License: Public Domain Group: Video/Players URL: http://rg3.github.com/youtube-dl/ Source0: https://github.com/rg3/youtube-dl/archive/%{version}.zip Patch0: %{name}-2013.04.18-mga-dont-ship-with-documentation-generated-with-pandoc.patch BuildArch: noarch BuildRequires: zip Requires: python %description Small command-line program to download videos from YouTube. %prep %setup -q %patch0 -p1 rm -f youtube-dl rm -f youtube-dl.exe %build %install make install DESTDIR="%{buildroot}" PREFIX="%{_prefix}" MANDIR="%{_mandir}" %files %{_bindir}/%{name} %{_sysconfdir}/bash_completion.d/youtube-dl