]> git.pld-linux.org Git - packages/nv-codec-headers.git/blame - nv-codec-headers.spec
up to 11.0.10.1
[packages/nv-codec-headers.git] / nv-codec-headers.spec
CommitLineData
422707ab
JB
1Summary: FFmpeg version of headers for NVidia's codec APIs (ffnvcodec)
2Summary(pl.UTF-8): Wersja FFmpeg nagłówków do API kodeków firmy NVidia (ffnvcodec)
3Name: nv-codec-headers
cc6e55e3 4Version: 11.0.10.1
422707ab
JB
5Release: 1
6License: MIT
7Group: Development/Libraries
8# originally https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git
9# but use github mirror for stable tarballs
10#Source0Download: https://github.com/FFmpeg/nv-codec-headers/releases
11Source0: https://github.com/FFmpeg/nv-codec-headers/releases/download/n%{version}/%{name}-%{version}.tar.gz
cc6e55e3 12# Source0-md5: 3400a117b9d4291f36be00c522057578
422707ab
JB
13URL: https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git
14BuildRequires: rpmbuild(macros) >= 1.446
15BuildArch: noarch
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19FFmpeg version of headers for NVidia's codec APIs.
20
21This version corresponds to Video Codec SDK version 9.0.18. Required
22minimal NVidia Linux drivers version is 418.30.
23
24%description -l pl.UTF-8
25Wersja FFmpeg nagłówków do API kodeków firmy NVidia.
26
27Ta wersja odpowiada Video Codec SDK w wersji 9.0.18. Wymagana
28minimalna wersja sterowników firmy NVidia dla Linuksa to 418.30.
29
30%prep
54c1af0e 31%setup -q
422707ab
JB
32
33%build
34%{__make} \
35 PREFIX=%{_prefix}
36
37%install
38rm -rf $RPM_BUILD_ROOT
39
40# pass LIBDIR (currently used for .pc file only) = "share" so that package can be noarch
41%{__make} install \
42 DESTDIR=$RPM_BUILD_ROOT \
43 PREFIX=%{_prefix} \
44 LIBDIR=share
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
51%doc README
52%attr(755,root,root) %{_includedir}/ffnvcodec
53%{_npkgconfigdir}/ffnvcodec.pc
This page took 0.120922 seconds and 4 git commands to generate.