diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a8d8a71 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/nv-codec-headers-8.0.14.1.tar.xz diff --git a/nv-codec-headers.spec b/nv-codec-headers.spec new file mode 100644 index 0000000..db921eb --- /dev/null +++ b/nv-codec-headers.spec @@ -0,0 +1,39 @@ +Name: nv-codec-headers +Version: 8.0.14.1 +Release: 1%{?dist} +Summary: FFmpeg version of Nvidia Codec SDK headers +License: MIT +URL: https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git +# To gernerate source +# git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.git +# git archive -o nv-codec-headers-%%{version}.tar.xz --prefix=nv-codec-headers-%%{version}/ n%%{version} +Source0: %{name}-%{version}.tar.xz + +BuildArch: noarch + + +%description +FFmpeg version of headers required to interface with Nvidias codec APIs. + + +%prep +%autosetup + + +%build +%make_build PREFIX=%{_prefix} LIBDIR=/share + + +%install +%make_install PREFIX=%{_prefix} LIBDIR=/share + + +%files +%doc README +%{_includedir}/ffnvcodec/ +%{_datadir}/pkgconfig/ffnvcodec.pc + + +%changelog +* Tue Feb 27 2018 Leigh Scott - 8.0.14.1-1 +- First build diff --git a/sources b/sources new file mode 100644 index 0000000..a15db3f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (nv-codec-headers-8.0.14.1.tar.xz) = 1343ad121b78e65767d71d57f414d033a5d195f80386c898f9beef1fdb6afe0eb53d371831dbb8a8bfdb654f5a8246b0a47e3d999b22e43b36bd518a8838d75e