]>
Commit | Line | Data |
---|---|---|
422707ab JB |
1 | Summary: FFmpeg version of headers for NVidia's codec APIs (ffnvcodec) |
2 | Summary(pl.UTF-8): Wersja FFmpeg nagłówków do API kodeków firmy NVidia (ffnvcodec) | |
3 | Name: nv-codec-headers | |
cc6e55e3 | 4 | Version: 11.0.10.1 |
422707ab JB |
5 | Release: 1 |
6 | License: MIT | |
7 | Group: 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 | |
11 | Source0: https://github.com/FFmpeg/nv-codec-headers/releases/download/n%{version}/%{name}-%{version}.tar.gz | |
cc6e55e3 | 12 | # Source0-md5: 3400a117b9d4291f36be00c522057578 |
422707ab JB |
13 | URL: https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git |
14 | BuildRequires: rpmbuild(macros) >= 1.446 | |
15 | BuildArch: noarch | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | FFmpeg version of headers for NVidia's codec APIs. | |
20 | ||
21 | This version corresponds to Video Codec SDK version 9.0.18. Required | |
22 | minimal NVidia Linux drivers version is 418.30. | |
23 | ||
24 | %description -l pl.UTF-8 | |
25 | Wersja FFmpeg nagłówków do API kodeków firmy NVidia. | |
26 | ||
27 | Ta wersja odpowiada Video Codec SDK w wersji 9.0.18. Wymagana | |
28 | minimalna 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 | |
38 | rm -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 | |
47 | rm -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 |