Name: nv-codec-headers Version: 12.2.72.0 Release: 1mamba Summary: FFmpeg version of headers required to interface with Nvidias codec APIs Group: Development/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git Source: https://git.videolan.org/git/ffmpeg/nv-codec-headers.git/n%{version}/nv-codec-headers-%{version}.tar.bz2 License: MIT ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END %description FFmpeg version of headers required to interface with Nvidias codec APIs. %prep %setup -q # Extract license sed -n '4,25p' include/ffnvcodec/nvEncodeAPI.h > LICENSE sed -i '1,22s/^.\{,3\}//' LICENSE # Delete C comments %build %make PREFIX=%{_prefix} LIBDIR=%{_lib} %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall PREFIX=%{_prefix} LIBDIR=%{_lib} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %dir %{_includedir}/ffnvcodec %{_includedir}/ffnvcodec/*.h %{_libdir}/pkgconfig/ffnvcodec.pc %doc LICENSE %changelog * Thu Oct 24 2024 Silvan Calarco 12.2.72.0-1mamba - package created using the webbuild interface