%global debug_package %{nil} Name: ffvship-cuda Version: 3.0.1 Release: %autorelease 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 Patch0: 0001-fix-makefile.patch BuildRequires: gcc-c++ cuda-toolkit-12 BuildRequires: pkgconfig(ffms2) pkgconfig(zimg) Provides: ffvship Conflicts: ffvship %description %summary %prep %autosetup -n Vship-%{version} -p1 %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 buildFFVSHIPcudaall %install # %%make_install %{__install} -pDm755 FFVship %{buildroot}%{_bindir}/FFVship find %{buildroot} -name '*.la' -exec rm -f {} ';' %files %license LICENSE %doc README.md %{_bindir}/* %changelog %autochangelog