Name: qmtn Version: 0.5 Release: 3%{?dist} Summary: Qt Movie thumbnailer Group: Amusements/Graphics License: GPLv3 URL: http://gitlab.com/movie_thumbnailer/qmtn/wikis/ Source0: https://gitlab.com/movie_thumbnailer/qmtn/-/archive/master/qmtn.tar.gz #Source0: https://gitlab.com/movie_thumbnailer/qmtn/-/archive/%{version}/qmtn.tar.gz #Source0: https://gitlab.com/movie_thumbnailer/qmtn/repository/%{version}/archive.tar.gz #Source0: https://gitlab.com/movie_thumbnailer/qmtn/repository/archive.tar.gz?ref=%{version} BuildRequires: gcc-c++ make %if 0%{?fedora} BuildRequires: qt6-qtbase-devel Requires: qt6-qtbase qt6-qtsvg %else %if 0%{?mageia} BuildRequires: lib64qt5webengine-devel Requires: lib64qt5webengine5 lib64qt5svg5 %else BuildRequires: qt5-qtbase-devel Requires: qt5-qtbase qt5-qtsvg %endif %endif # no qt6-qtwebengine in repo? # %{?fedora:BuildRequires: qt6-qtwebengine-devel} # %{?fedora:Requires: qt6-qtwebengine} %if 0%{?fedora} %define qmake_bin qmake6 %else %define qmake_bin qmake-qt5 %endif %if 0%{?mageia} %define qmake_opts CONFIG+=use_webengine src %else %define qmake_opts src %endif %description Movie thumbnail generator written in Qt framework. It is a GUI frontend for mtn. %prep rm -rf ./* tar -xf %SOURCE0 mv qmtn*/* ./ %build %{qmake_bin} INSTALL_ROOT=%{buildroot} %{qmake_opts} %make_build %install make install INSTALL_ROOT=%{buildroot} %files %{_bindir}/qmtn %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %clean rm -rf %{buildroot} rm -rf * %changelog * Tue Feb 22 2022 wahibre - 0.5-2 - upgrade to Qt6 * Tue Jan 25 2022 wahibre - 0.5 - packaging Mageia - packaging CentOS - update to version 0.5 Changelog: * new menu item for removing items from sidebar * new menu item "Refresh Thumbnail" * added --cover option in settings dialog * added timeout option in settings dialog * added custom MTN arguments in settings dialog * added .json extension to export/import settings FileDialog * multiselect enabled for removing and refreshing items * display images even when mtn returns warning * profile name has been added to the statusbar * removed timeout for starting mtn * increased allowed value for disabling `Blank skip` * fix timestamp location * fix zooming out image