31 lines
776 B
RPMSpec
31 lines
776 B
RPMSpec
Name: nv-codec-headers
|
|
Version: 9.1.23.1
|
|
Release: 1
|
|
Summary: FFmpeg version of Nvidia Codec SDK headers
|
|
License: MIT
|
|
URL: https://github.com/FFmpeg/nv-codec-headers
|
|
Source0: %url/archive/n%{version}/%{name}-n%{version}.tar.gz
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
FFmpeg version of headers required to interface with Nvidias codec APIs.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-n%{version}
|
|
sed -i -e 's@/include@/include/ffnvcodec@g' ffnvcodec.pc.in
|
|
|
|
%build
|
|
%make_build PREFIX=%{_prefix} LIBDIR=/share
|
|
|
|
%install
|
|
%make_install PREFIX=%{_prefix} LIBDIR=/share
|
|
|
|
%files
|
|
%doc README
|
|
%{_includedir}/ffnvcodec/
|
|
%{_datadir}/pkgconfig/ffnvcodec.pc
|
|
|
|
%changelog
|
|
* Fri May 07 2021 weidong <weidong@unionetch.com> - 9.1.23.1-1
|
|
- Initial package.
|