]>
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 | |
4 | Version: 0.8.6 | |
5 | Release: 1 | |
6 | License: BSD | |
7 | Group: Libraries | |
8 | #Source0Download: https://github.com/AOMediaCodec/SVT-AV1/releases | |
9 | Source0: https://github.com/AOMediaCodec/SVT-AV1/archive/v%{version}/SVT-AV1-%{version}.tar.gz | |
10 | # Source0-md5: 56385825865400bfb79ed7871d7ca876 | |
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} | |
16 | BuildRequires: yasm >= 1.2.0 | |
17 | %endif | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | The Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder) is | |
22 | an AV1-compliant encoder/decoder library core. The SVT-AV1 encoder | |
23 | development is a work-in-progress targeting performance levels | |
24 | applicable to both VOD and Live encoding/transcoding video | |
25 | applications. The SVT-AV1 decoder implementation is targeting future | |
26 | codec research activities. | |
27 | ||
28 | %description -l pl.UTF-8 | |
29 | Scalable Video Technology dla AV1 (koder i dekoder SVT-AV1) to główna | |
30 | biblioteka kodera/dekodera zgodnego z AV1. Rozwój kodera SVT-AV1 trwa, | |
31 | a jego celem jest osiągnięcie wydajności nadającej się do kodowania i | |
32 | przekodowywania obrazu zarówno VOD, jak i w czasie rzeczywistym. | |
33 | Implementacja dekodera ma na celu dalsze badania nad kodekiem. | |
34 | ||
35 | %package devel | |
36 | Summary: Header files for SVT-AV1 library | |
37 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SVT-AV1 | |
38 | Group: Development/Libraries | |
39 | Requires: %{name} = %{version}-%{release} | |
40 | ||
41 | %description devel | |
42 | Header files for SVT-AV1 library. | |
43 | ||
44 | %description devel -l pl.UTF-8 | |
45 | Pliki nagłówkowe biblioteki SVT-AV1. | |
46 | ||
47 | %prep | |
48 | %setup -q -n SVT-AV1-%{version} | |
49 | ||
50 | %build | |
51 | install -d build | |
52 | cd build | |
53 | %cmake .. \ | |
c037bad3 | 54 | %ifnarch %{x8664} |
102e92f1 JB |
55 | -DCOMPILE_C_ONLY=ON |
56 | %endif | |
57 | ||
58 | %{__make} | |
59 | ||
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %{__make} -C build install \ | |
64 | DESTDIR=$RPM_BUILD_ROOT | |
65 | ||
66 | %clean | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %post -p /sbin/ldconfig | |
70 | %postun -p /sbin/ldconfig | |
71 | ||
72 | %files | |
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.0 | |
81 | ||
82 | %files devel | |
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 |