fix pkgconfig location since noarch package [release 13.0.19.0-2mamba;Tue Mar 25 2025]

This commit is contained in:
Silvan Calarco 2025-03-25 23:54:48 +01:00
parent 470d269bb9
commit ffb0d1c2c3

View File

@ -1,6 +1,6 @@
Name: nv-codec-headers
Version: 13.0.19.0
Release: 1mamba
Release: 2mamba
Summary: FFmpeg version of headers required to interface with Nvidias codec APIs
Group: Development/Libraries
Vendor: openmamba
@ -23,11 +23,11 @@ sed -n '4,25p' include/ffnvcodec/nvEncodeAPI.h > LICENSE
sed -i '1,22s/^.\{,3\}//' LICENSE # Delete C comments
%build
%make PREFIX=%{_prefix} LIBDIR=%{_lib}
%make PREFIX=%{_prefix} LIBDIR=/share
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall PREFIX=%{_prefix} LIBDIR=%{_lib}
%makeinstall PREFIX=%{_prefix} LIBDIR=/share
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -36,10 +36,13 @@ sed -i '1,22s/^.\{,3\}//' LICENSE # Delete C comments
%defattr(-,root,root)
%dir %{_includedir}/ffnvcodec
%{_includedir}/ffnvcodec/*.h
%{_libdir}/pkgconfig/ffnvcodec.pc
%{_datadir}/pkgconfig/ffnvcodec.pc
%doc LICENSE
%changelog
* Tue Mar 25 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 13.0.19.0-2mamba
- fix pkgconfig location since noarch package
* Sun Feb 02 2025 Automatic Build System <autodist@openmamba.org> 13.0.19.0-1mamba
- automatic version update by autodist