|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: nv-codec-headers
|
|
|
|
Name: nv-codec-headers
|
|
|
|
Version: 11.0.10.0
|
|
|
|
Version: 11.0.10.1
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: FFmpeg version of Nvidia Codec SDK headers
|
|
|
|
Summary: FFmpeg version of Nvidia Codec SDK headers
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://github.com/FFmpeg/nv-codec-headers
|
|
|
|
URL: https://github.com/FFmpeg/nv-codec-headers
|
|
|
@ -18,6 +18,10 @@ FFmpeg version of headers required to interface with Nvidias codec APIs.
|
|
|
|
%autosetup -n %{name}-n%{version}
|
|
|
|
%autosetup -n %{name}-n%{version}
|
|
|
|
sed -i -e 's@/include@/include/ffnvcodec@g' ffnvcodec.pc.in
|
|
|
|
sed -i -e 's@/include@/include/ffnvcodec@g' ffnvcodec.pc.in
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Extract license
|
|
|
|
|
|
|
|
sed -n '4,25p' include/ffnvcodec/nvEncodeAPI.h > LICENSE
|
|
|
|
|
|
|
|
sed -i '1,22s/^.\{,3\}//' LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%make_build PREFIX=%{_prefix} LIBDIR=/share
|
|
|
|
%make_build PREFIX=%{_prefix} LIBDIR=/share
|
|
|
|
|
|
|
|
|
|
|
@ -28,11 +32,15 @@ sed -i -e 's@/include@/include/ffnvcodec@g' ffnvcodec.pc.in
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc README
|
|
|
|
%doc README
|
|
|
|
|
|
|
|
%license LICENSE
|
|
|
|
%{_includedir}/ffnvcodec/
|
|
|
|
%{_includedir}/ffnvcodec/
|
|
|
|
%{_datadir}/pkgconfig/ffnvcodec.pc
|
|
|
|
%{_datadir}/pkgconfig/ffnvcodec.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Apr 21 2021 Leigh Scott <leigh123linux@gmail.com> - 11.0.10.1-1
|
|
|
|
|
|
|
|
- Update to 11.0.10.1
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.10.0-2
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.10.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|