Name: youtube-dl Version: 2011.10.19 Release: %mkrel 1 Summary: Small command-line program to download videos from YouTube License: Public Domain and GPLv2 Group: Video URL: http://rg3.github.com/youtube-dl/ Source0: https://github.com/rg3/youtube-dl/raw/%{version}/youtube-dl #man page from Debian by Rogerio Brito , licensed under GPLv2 Source1: youtube-dl.1.gz #from the website #http://rg3.github.com/youtube-dl/about.html Source10: about #http://rg3.github.com/youtube-dl/documentation.html Source11: documentation BuildArch: noarch Requires: python >= 2.5 %description Small command-line program to download videos from YouTube. %prep #nothing to prep %build #nothing to build %install rm -rf %{buildroot} #python executable mkdir -p %{buildroot}%{_bindir} install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir} #man page by Rogerio Brito , licensed under GPLv2 - from Debian package mkdir -p %{buildroot}%{_mandir}/man1 install -p -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1 #license mkdir -p %{buildroot}%{_datadir}/doc/%{name} echo "The program is in the Public Domain." > %{buildroot}%{_datadir}/doc/%{name}/copyright chmod 0644 %{buildroot}%{_datadir}/doc/%{name}/copyright #docs install -p -m 644 %{SOURCE10} %{buildroot}%{_datadir}/doc/%{name} install -p -m 644 %{SOURCE11} %{buildroot}%{_datadir}/doc/%{name} %files %defattr(-,root,root) %doc %{_datadir}/doc/%{name}/* %{_bindir}/%{name} %{_mandir}/man?/*