Summary: GUI for youtube-dl Name: youtube-dl-gui Version: 0.4 Release: 2 License: Public Domain Group: Video Url: http://code.google.com/p/youtube-dlg/ # http://mrs0m30n3.github.io/youtube-dl-gui/ #Patch0: youtube-dl-gui-0.3.5-icon.patch Source0: https://github.com/MrS0m30n3/%{name}/archive/%{version}/%{name}-%{version}.tar.gz Source1: %{name}.png BuildRequires: imagemagick BuildRequires: python2-devel BuildRequires: python2-setuptools BuildRequires: pythonegg(twodict) BuildRequires: wxPythonGTK Requires: ffmpeg Requires: wxPythonGTK Requires: youtube-dl Requires: python2-twodict BuildArch: noarch %description Youtube-dlG is a multi-platform GUI for the popular command line video download tool youtube-dl. The GUI lets you download multiple videos at once, can automatically convert downloaded videos to audio, lets you select the video quality and more. %files %files %doc AUTHORS README.md TODO docs/* %license LICENSE %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_iconsdir}/hicolor/*/apps/%{name}.png %{_datadir}/pixmaps/%{name}.png %{python2_sitelib}/youtube_dl_gui/ %{python2_sitelib}/Youtube_DLG-%{version}-py%{python2_version}.egg-info #---------------------------------------------------------------------------- %prep %setup -q %build python2 setup.py build %install python2 setup.py install --prefix=/usr --root=%{buildroot} mkdir -p %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF [Desktop Entry] Name=YouTube-dl GUI Comment=GUI for YouTube-dl Exec=%{name} Icon=%{name} Terminal=false Type=Application Categories=Video; EOF