]>
Commit | Line | Data |
---|---|---|
102e92f1 JB |
1 | Summary: Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder) |
2 | Summary(pl.UTF-8): Scalable Video Technology dla AV1 (koder i dekoder SVT-AV1) | |
3 | Name: svt-av1 | |
f7a636fe | 4 | Version: 0.9.1 |
102e92f1 JB |
5 | Release: 1 |
6 | License: BSD | |
7 | Group: Libraries | |
f7a636fe | 8 | #Source0Download: https://github.com/AOMediaCodec/SVT-AV1/tags |
102e92f1 | 9 | Source0: https://github.com/AOMediaCodec/SVT-AV1/archive/v%{version}/SVT-AV1-%{version}.tar.gz |
f7a636fe | 10 | # Source0-md5: 2aa26d4fbcd4b9a0702324aee168d5a3 |
102e92f1 JB |
11 | URL: https://github.com/AOMediaCodec/SVT-AV1 |
12 | BuildRequires: cmake >= 3.5.1 | |
13 | BuildRequires: libstdc++-devel >= 6:5.4 | |
14 | BuildRequires: rpmbuild(macros) >= 1.605 | |
15 | %ifarch %{x8664} | |
f7a636fe | 16 | # or nasm >= 2.14 |
102e92f1 JB |
17 | BuildRequires: yasm >= 1.2.0 |
18 | %endif | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | The Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder) is | |
23 | an AV1-compliant encoder/decoder library core. The SVT-AV1 encoder | |
24 | development is a work-in-progress targeting performance levels | |
25 | applicable to both VOD and Live encoding/transcoding video | |
26 | applications. The SVT-AV1 decoder implementation is targeting future | |
27 | codec research activities. | |
28 | ||
29 | %description -l pl.UTF-8 | |
30 | Scalable Video Technology dla AV1 (koder i dekoder SVT-AV1) to główna | |
31 | biblioteka kodera/dekodera zgodnego z AV1. Rozwój kodera SVT-AV1 trwa, | |
32 | a jego celem jest osiągnięcie wydajności nadającej się do kodowania i | |
33 | przekodowywania obrazu zarówno VOD, jak i w czasie rzeczywistym. | |
34 | Implementacja dekodera ma na celu dalsze badania nad kodekiem. | |
35 | ||
36 | %package devel | |
37 | Summary: Header files for SVT-AV1 library | |
38 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SVT-AV1 | |
39 | Group: Development/Libraries | |
40 | Requires: %{name} = %{version}-%{release} | |
41 | ||
42 | %description devel | |
43 | Header files for SVT-AV1 library. | |
44 | ||
45 | %description devel -l pl.UTF-8 | |
46 | Pliki nagłówkowe biblioteki SVT-AV1. | |
47 | ||
48 | %prep | |
49 | %setup -q -n SVT-AV1-%{version} | |
50 | ||
51 | %build | |
52 | install -d build | |
53 | cd build | |
54 | %cmake .. \ | |
c037bad3 | 55 | %ifnarch %{x8664} |
102e92f1 JB |
56 | -DCOMPILE_C_ONLY=ON |
57 | %endif | |
58 | ||
59 | %{__make} | |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %{__make} -C build install \ | |
65 | DESTDIR=$RPM_BUILD_ROOT | |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %post -p /sbin/ldconfig | |
71 | %postun -p /sbin/ldconfig | |
72 | ||
73 | %files | |
74 | %defattr(644,root,root,755) | |
75 | %doc CHANGELOG.md LICENSE.md PATENTS.md README.md | |
76 | %attr(755,root,root) %{_bindir}/SvtAv1DecApp | |
77 | %attr(755,root,root) %{_bindir}/SvtAv1EncApp | |
78 | %attr(755,root,root) %{_libdir}/libSvtAv1Dec.so.*.*.* | |
79 | %attr(755,root,root) %ghost %{_libdir}/libSvtAv1Dec.so.0 | |
80 | %attr(755,root,root) %{_libdir}/libSvtAv1Enc.so.*.*.* | |
81 | %attr(755,root,root) %ghost %{_libdir}/libSvtAv1Enc.so.0 | |
82 | ||
83 | %files devel | |
84 | %defattr(644,root,root,755) | |
85 | %attr(755,root,root) %{_libdir}/libSvtAv1Dec.so | |
86 | %attr(755,root,root) %{_libdir}/libSvtAv1Enc.so | |
87 | %{_includedir}/svt-av1 | |
88 | %{_pkgconfigdir}/SvtAv1Dec.pc | |
89 | %{_pkgconfigdir}/SvtAv1Enc.pc |