Name: youtube-dl-gui Version: 0.4 Release: %mkrel 1 Summary: GUI for youtube-dl License: Public Domain Group: Video/Players Url: https://github.com/MrS0m30n3/youtube-dl-gui Source0: https://github.com/MrS0m30n3/youtube-dl-gui/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: pkgconfig(python2) BuildRequires: pythonegg(2)(setuptools) BuildRequires: pythonegg(2)(twodict) BuildRequires: libwxPython-devel Requires: pythonegg(2)(wxpython) Requires: pythonegg(2)(twodict) Requires: youtube-dl Recommends: ffmpeg %description A front-end GUI for the popular youtube-dl written in wxPython. %prep %setup -q %build %py2_build %install %py2_install 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=Audio;Video; EOF %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 %changelog * Sat Sep 02 2017 daviddavid <daviddavid> 0.4-1.mga7 + Revision: 1150791 - initial package youtube-dl-gui (mga#21655)