1 # TODO: system cpuinfo (when released? note: different project than packaged in cpuinfo.spec)
2 Summary: Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder)
3 Summary(pl.UTF-8): Scalable Video Technology dla AV1 (koder i dekoder SVT-AV1)
9 #Source0Download: https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases
10 Source0: https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v%{version}/SVT-AV1-v%{version}.tar.bz2
11 # Source0-md5: c2997034a5bff3eec4c885adf27e152f
12 URL: https://gitlab.com/AOMediaCodec/SVT-AV1
13 BuildRequires: cmake >= 3.16
14 BuildRequires: libstdc++-devel >= 6:5.4
15 BuildRequires: rpmbuild(macros) >= 1.605
18 BuildRequires: yasm >= 1.2.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 The Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder) is
24 an AV1-compliant encoder/decoder library core. The SVT-AV1 encoder
25 development is a work-in-progress targeting performance levels
26 applicable to both VOD and Live encoding/transcoding video
27 applications. The SVT-AV1 decoder implementation is targeting future
28 codec research activities.
30 %description -l pl.UTF-8
31 Scalable Video Technology dla AV1 (koder i dekoder SVT-AV1) to główna
32 biblioteka kodera/dekodera zgodnego z AV1. Rozwój kodera SVT-AV1 trwa,
33 a jego celem jest osiągnięcie wydajności nadającej się do kodowania i
34 przekodowywania obrazu zarówno VOD, jak i w czasie rzeczywistym.
35 Implementacja dekodera ma na celu dalsze badania nad kodekiem.
38 Summary: Header files for SVT-AV1 library
39 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SVT-AV1
40 Group: Development/Libraries
41 Requires: %{name} = %{version}-%{release}
44 Header files for SVT-AV1 library.
46 %description devel -l pl.UTF-8
47 Pliki nagłówkowe biblioteki SVT-AV1.
50 %setup -q -n SVT-AV1-v%{version}
61 rm -rf $RPM_BUILD_ROOT
63 %{__make} -C build install \
64 DESTDIR=$RPM_BUILD_ROOT
67 rm -rf $RPM_BUILD_ROOT
69 %post -p /sbin/ldconfig
70 %postun -p /sbin/ldconfig
73 %defattr(644,root,root,755)
74 %doc CHANGELOG.md LICENSE.md PATENTS.md README.md
75 %attr(755,root,root) %{_bindir}/SvtAv1DecApp
76 %attr(755,root,root) %{_bindir}/SvtAv1EncApp
77 %attr(755,root,root) %{_libdir}/libSvtAv1Dec.so.*.*.*
78 %attr(755,root,root) %ghost %{_libdir}/libSvtAv1Dec.so.0
79 %attr(755,root,root) %{_libdir}/libSvtAv1Enc.so.*.*.*
80 %attr(755,root,root) %ghost %{_libdir}/libSvtAv1Enc.so.2
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/libSvtAv1Dec.so
85 %attr(755,root,root) %{_libdir}/libSvtAv1Enc.so
86 %{_includedir}/svt-av1
87 %{_pkgconfigdir}/SvtAv1Dec.pc
88 %{_pkgconfigdir}/SvtAv1Enc.pc