package created using the webbuild interface [release 0.9.1-1mamba;Thu Mar 24 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 18:13:43 +01:00
parent 56cb87f6fd
commit 5136de64c5
2 changed files with 81 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# svt-av1 # svt-av1
Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder).

79
svt-av1.spec Normal file
View File

@ -0,0 +1,79 @@
Name: svt-av1
Version: 0.9.1
Release: 1mamba
Summary: Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder)
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://gitlab.com/AOMediaCodec/SVT-AV1
Source: https://gitlab.com/AOMediaCodec/SVT-AV1.git/v%{version}/SVT-AV1-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder).
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n SVT-AV1-%{version}
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/SvtAv1DecApp
%{_bindir}/SvtAv1EncApp
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libSvtAv1Dec.so.*
%{_libdir}/libSvtAv1Enc.so.*
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/svt-av1
%{_includedir}/svt-av1/*.h
%{_libdir}/libSvtAv1Dec.so
%{_libdir}/libSvtAv1Enc.so
%{_libdir}/pkgconfig/SvtAv1Dec.pc
%{_libdir}/pkgconfig/SvtAv1Enc.pc
%doc README.md
%changelog
* Thu Mar 24 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-1mamba
- package created using the webbuild interface