%global source_date_epoch_from_changelog nil %global srcname mvsfunc %global commitid 865c748 %global fullcommitid 865c7486ca860d323754ec4774bc4cca540a7076 Name: python-vapoursynth-%{srcname} Version: 11.r.%{commitid} Release: 1%{?dist} Summary: Plugin for Vapoursynth: %{srcname} License: MIT-0 URL: https://github.com/HomeOfVapourSynthEvolution/mvsfunc Source: %{url}/archive/%{commitid}.zip BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(pytest) Requires: vapoursynth-plugin-fmtconv Requires: vapoursynth-plugin-bm3d %global _description %{expand: A Vapoursynth plugin: %{srcname}.} %description %_description %package -n python3-vapoursynth-%{srcname} Summary: %{summary} %description -n python3-vapoursynth-%{srcname} %{_description} %prep %autosetup -p1 -n %{srcname}-%{fullcommitid} %generate_buildrequires %pyproject_buildrequires -t %build %py3_build %install %py3_install %files -n python3-vapoursynth-%{srcname} %{python3_sitelib}/%{srcname}-*.egg-info/ %{python3_sitelib}/%{srcname}