commit 14f3122413e3ac363e4090f2ecd4c57f90fc83e9 Author: tigro Date: Sun Jul 2 19:35:46 2023 +0300 import nv-codec-headers-11.1.5.2-1.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b09db1f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/nv-codec-headers-n11.1.5.2.tar.gz diff --git a/.nv-codec-headers.metadata b/.nv-codec-headers.metadata new file mode 100644 index 0000000..d8d15f9 --- /dev/null +++ b/.nv-codec-headers.metadata @@ -0,0 +1 @@ +9a200287d27ef9bdbd4cff9c93ee04f33a12b169 SOURCES/nv-codec-headers-n11.1.5.2.tar.gz diff --git a/SPECS/nv-codec-headers.spec b/SPECS/nv-codec-headers.spec new file mode 100644 index 0000000..1467444 --- /dev/null +++ b/SPECS/nv-codec-headers.spec @@ -0,0 +1,123 @@ +Name: nv-codec-headers +Version: 11.1.5.2 +Release: 1%{?dist} +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 + +BuildRequires: make + +%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 + +# Extract license +sed -n '4,25p' include/ffnvcodec/nvEncodeAPI.h > LICENSE +sed -i '1,22s/^.\{,3\}//' LICENSE + +%build +%make_build PREFIX=%{_prefix} LIBDIR=/share + + +%install +%make_install PREFIX=%{_prefix} LIBDIR=/share + + +%files +%doc README +%license LICENSE +%{_includedir}/ffnvcodec/ +%{_datadir}/pkgconfig/ffnvcodec.pc + + +%changelog +* Sun Jul 02 2023 Arkady L. Shane - 11.1.5.2-1 +- Rebuilt for MSVSphere 9.2 + +* Fri Nov 04 2022 Leigh Scott - 11.1.5.2-1 +- Update to 11.1.5.2 + +* Fri Jul 22 2022 Fedora Release Engineering - 11.1.5.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 11.1.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Jan 12 2022 Leigh Scott - 11.1.5.1-1 +- Update to 11.1.5.1 + +* Wed Dec 08 2021 Leigh Scott - 11.1.5.0-1 +- Update to 11.1.5.0 + +* Thu Jul 22 2021 Fedora Release Engineering - 11.0.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Apr 21 2021 Leigh Scott - 11.0.10.1-1 +- Update to 11.0.10.1 + +* Tue Jan 26 2021 Fedora Release Engineering - 11.0.10.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Oct 15 2020 Leigh Scott - 11.0.10.0-1 +- Update to 11.0.10.0 + +* Tue Oct 6 2020 Leigh Scott - 10.0.26.1-1 +- Update to 10.0.26.1 + +* Tue Jul 28 2020 Fedora Release Engineering - 10.0.26.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jul 02 2020 Leigh Scott - 10.0.26.0-1 +- Update to 10.0.26.0 + +* Wed Jan 29 2020 Fedora Release Engineering - 9.1.23.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Dec 16 2019 Leigh Scott - 9.1.23.1-1 +- Update to 9.1.23.1 + +* Tue Sep 24 2019 Leigh Scott - 9.1.23.0-1 +- Update to 9.1.23.0 + +* Thu Jul 25 2019 Fedora Release Engineering - 9.0.18.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Tue May 21 2019 Leigh Scott - 9.0.18.1-2 +- Use correct path for pkg-config file + +* Sat May 11 2019 Leigh Scott - 9.0.18.1-1 +- Update to 9.0.18.1 + +* Fri Mar 01 2019 Leigh Scott - 9.0.18.0-1 +- Update to 9.0.18.0 + +* Sun Feb 03 2019 Leigh Scott - 8.2.15.7-1 +- Update to 8.2.15.7 + +* Fri Feb 01 2019 Fedora Release Engineering - 8.2.15.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jan 05 2019 Leigh Scott - 8.2.15.6-1 +- Update to 8.2.15.6 + +* Tue Nov 06 2018 Leigh Scott - 8.2.15.5-1 +- Update to 8.2.15.5 + +* Fri Jul 13 2018 Fedora Release Engineering - 8.1.24.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Jun 13 2018 Leigh Scott - 8.1.24.2-1 +- Update to 8.1.24.2 + +* Sun Apr 15 2018 Leigh Scott - 8.1.24.1-1 +- Update to 8.1.24.1 + +* Tue Feb 27 2018 Leigh Scott - 8.0.14.1-1 +- First build