%global debug_package %{nil} Name: mtn Version: 3.5.0 Release: 1%{?dist} Summary: Movie Thumbnailer is CLI thumbnail generator using FFmpeg. License: GPL URL: https://gitlab.com/movie_thumbnailer/mtn %undefine _disable_source_fetch Source0: https://gitlab.com/movie_thumbnailer/mtn/-/archive/v3.5.0/mtn-v3.5.0.tar.gz BuildRequires: libavutil-free-devel,libavfilter-free-devel,libavformat-free-devel,libavcodec-free-devel,gd-devel,make,gcc %description Movie Thumbnailer (mtn) saves thumbnails (screenshots) of video files to image files (jpg, png, webp, avif). It uses FFmpeg's libavcodec as its engine, so it supports all popular codecs, e.g. h.265/hevc, h.264, mpeg1, mpeg2, mp4, vc1, wmv, xvid, divx... mtn was originaly developed by tuit (tuitfun); though most of its magic is actually done by FFmpeg libraries. %prep %setup -q -n mtn-v3.5.0 %build pushd src %make_build %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/bin install -m 0755 bin/mtn $RPM_BUILD_ROOT/usr/bin/ %files %license LICENSE %doc README.md changelog.txt %attr(755, root, root) /usr/bin/mtn %changelog * Thu Dec 04 2025 hoang -