]> git.pld-linux.org Git - packages/nv-codec-headers.git/blob - nv-codec-headers.spec
b1172b0575269afd8b954c0e14d3575ec70377dd
[packages/nv-codec-headers.git] / nv-codec-headers.spec
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
4 Version:        9.1.23.1
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
12 # Source0-md5:  610972fd2e0019b1800602b254165f20
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
31 %setup -q
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
This page took 0.141585 seconds and 2 git commands to generate.