Name: qmtn Version: 0.5 Release: 100%{?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 Requires: qt6-qtsvg Requires: qt6-qtimageformats %else %if 0%{?mageia} # mageia 8 - qt5 # mageia 9 - qt5 + qt6 # https://ftp.fi.muni.cz/pub/linux/mageia/distrib/9/SRPMS/core/release/ %if %mageia>=9 BuildRequires: lib64qt6webengine-devel BuildRequires: qtbase6-common-devel Requires: lib64qt6webenginewidgets6 #Requires: lib64qt6svg6 Requires: qtsvg6 Requires: qtimageformats6 %else BuildRequires: lib64qt5webengine-devel Requires: lib64qt5webengine5 Requires: lib64qt5svg5 Requires: qtimageformats5 %endif %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} || 0%{?mageia}>=9 %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 * Fri Sep 13 2024 wahibre - 0.5-4 - add webp support * 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