]> git.pld-linux.org Git - packages/svt-av1.git/blame - svt-av1.spec
- updated to 0.9.1
[packages/svt-av1.git] / svt-av1.spec
CommitLineData
102e92f1
JB
1Summary: Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder)
2Summary(pl.UTF-8): Scalable Video Technology dla AV1 (koder i dekoder SVT-AV1)
3Name: svt-av1
f7a636fe 4Version: 0.9.1
102e92f1
JB
5Release: 1
6License: BSD
7Group: Libraries
f7a636fe 8#Source0Download: https://github.com/AOMediaCodec/SVT-AV1/tags
102e92f1 9Source0: https://github.com/AOMediaCodec/SVT-AV1/archive/v%{version}/SVT-AV1-%{version}.tar.gz
f7a636fe 10# Source0-md5: 2aa26d4fbcd4b9a0702324aee168d5a3
102e92f1
JB
11URL: https://github.com/AOMediaCodec/SVT-AV1
12BuildRequires: cmake >= 3.5.1
13BuildRequires: libstdc++-devel >= 6:5.4
14BuildRequires: rpmbuild(macros) >= 1.605
15%ifarch %{x8664}
f7a636fe 16# or nasm >= 2.14
102e92f1
JB
17BuildRequires: yasm >= 1.2.0
18%endif
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22The Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder) is
23an AV1-compliant encoder/decoder library core. The SVT-AV1 encoder
24development is a work-in-progress targeting performance levels
25applicable to both VOD and Live encoding/transcoding video
26applications. The SVT-AV1 decoder implementation is targeting future
27codec research activities.
28
29%description -l pl.UTF-8
30Scalable Video Technology dla AV1 (koder i dekoder SVT-AV1) to główna
31biblioteka kodera/dekodera zgodnego z AV1. Rozwój kodera SVT-AV1 trwa,
32a jego celem jest osiągnięcie wydajności nadającej się do kodowania i
33przekodowywania obrazu zarówno VOD, jak i w czasie rzeczywistym.
34Implementacja dekodera ma na celu dalsze badania nad kodekiem.
35
36%package devel
37Summary: Header files for SVT-AV1 library
38Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SVT-AV1
39Group: Development/Libraries
40Requires: %{name} = %{version}-%{release}
41
42%description devel
43Header files for SVT-AV1 library.
44
45%description devel -l pl.UTF-8
46Pliki nagłówkowe biblioteki SVT-AV1.
47
48%prep
49%setup -q -n SVT-AV1-%{version}
50
51%build
52install -d build
53cd build
54%cmake .. \
c037bad3 55%ifnarch %{x8664}
102e92f1
JB
56 -DCOMPILE_C_ONLY=ON
57%endif
58
59%{__make}
60
61%install
62rm -rf $RPM_BUILD_ROOT
63
64%{__make} -C build install \
65 DESTDIR=$RPM_BUILD_ROOT
66
67%clean
68rm -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
This page took 0.091788 seconds and 4 git commands to generate.