%global debug_package %{nil} %define commit b25561316887c2b0bbc8b364dda6c07fee2cc85a Name: ffvship-cuda Version: 4.0.1 Release: 1%{?dist} Summary: (CUDA version) Standalone CLI for GPU-accelerated visual fidelity metrics, focusing on SSIMULACRA2 & Butteraugli. License: GPL-3.0 URL: https://github.com/Line-fr/Vship Source0: https://github.com/Line-fr/Vship/archive/refs/tags/v%{version}.tar.gz # Source0: https://github.com/Line-fr/Vship/archive/%{commit}.tar.gz BuildRequires: gcc-c++ cuda-toolkit libvship BuildRequires: pkgconfig(ffms2) pkgconfig(zimg) Provides: ffvship Conflicts: ffvship %description %summary %prep %autosetup -n Vship-%{version} #%%autosetup -n Vship-%{commit} %build # Set various CUDA env vars so that nvcc (compiler) and cuda libs can be found. export PATH="$PATH:/usr/local/cuda/bin" export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda/lib64" %make_build buildFFVSHIP %install # %%make_install %{__install} -pDm755 FFVship %{buildroot}%{_bindir}/FFVship find %{buildroot} -name '*.la' -exec rm -f {} ';' %files %license LICENSE %doc README.md %{_bindir}/* %changelog * Fri Dec 05 2025 adworacz <561689+adworacz@users.noreply.github.com> - 4.0.1-1 - Update to 4.0.1