%global gh_user po5 %global gh_repo thumbfast %global common_description High-performance on-the-fly thumbnailer script for mpv %global pkgname %{gh_repo}-%{digest} %define debug_package %{nil} # renovate: datasource=git-refs packageName=https://github.com/po5/thumbfast depName=thumbfast ref=master %define digest 9deb0733c4e36938cf90e42ddfb7a19a8b2f4641 Name: mpv-thumbfast Version: 0 Release: 3%{?dist} Summary: %{common_description} License: MPL-2.0 URL: https://github.com/%{gh_user}/%{gh_repo} Source0: https://github.com/%{gh_user}/%{gh_repo}/archive/%{digest}.zip Requires: mpv BuildArch: noarch %description %{common_description} %prep %setup -n %{pkgname} %install install -Dm 644 %{_builddir}/%{pkgname}/thumbfast.conf -t %{buildroot}%{_sysconfdir}/mpv/script-opts/ install -Dm 644 %{_builddir}/%{pkgname}/thumbfast.lua -t %{buildroot}%{_sysconfdir}/mpv/scripts/ %files %license LICENSE %{_sysconfdir}/mpv/ %changelog * Thu Feb 27 2025 Evan Chang - 0 - Initial version