3 Summary: Royalty-free next-generation video format
9 URL: http://aomedia.org/
10 Source0: https://aomedia.googlesource.com/aom/+archive/v%{version}.tar.gz
11 # Source0-md5: 65ee0b22640557ee82e11852912f90bb
12 Patch0: %{name}-build.patch
14 BuildRequires: doxygen
15 BuildRequires: graphviz
16 BuildRequires: libstdc++-devel
17 %{?with_wxwidgets:BuildRequires: wxGTK3-devel}
21 The Alliance for Open Media's focus is to deliver a next-generation
24 - Interoperable and open;
25 - Optimized for the Internet;
26 - Scalable to any modern device at any bandwidth;
27 - Designed with a low computational footprint and optimized for
29 - Capable of consistent, highest-quality, real-time video delivery;
31 - Flexible for both commercial and non-commercial content, including
32 user-generated content.
35 Summary: Development files for aom
36 Group: Development/Libraries
37 Requires: %{name} = %{version}-%{release}
40 Development files for aom the royalty-free next-generation video
48 install -d build; cd build
50 -DLIB_INSTALL_DIR=%{_libdir} \
52 -DCMAKE_SKIP_RPATH=1 \
53 %ifnarch aarch64 %{arm} %{ix86} x86_64
54 -DAOM_TARGET_CPU=generic \
57 -DAOM_TARGET_CPU=arm \
60 -DAOM_TARGET_CPU=arm64 \
63 -DAOM_TARGET_CPU=x86 \
66 -DAOM_TARGET_CPU=x86_64 \
70 %{?with_wxwidgets:-DCONFIG_ANALYZER=1} \
77 rm -rf $RPM_BUILD_ROOT
79 %{__make} -C build install \
80 DESTDIR=$RPM_BUILD_ROOT
82 %{?with_wxwidgets:install -pm 0755 build/examples/analyzer $RPM_BUILD_ROOT%{_bindir}/aomanalyzer}
85 rm -rf $RPM_BUILD_ROOT
87 %post -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
91 %defattr(644,root,root,755)
92 %doc AUTHORS CHANGELOG README.md PATENTS
93 %{?with_wxwidgets:%attr(755,root,root) %{_bindir}/aomanalyzer}
94 %attr(755,root,root) %{_bindir}/aomdec
95 %attr(755,root,root) %{_bindir}/aomenc
96 %attr(755,root,root) %{_libdir}/libaom.so.0
99 %defattr(644,root,root,755)
101 %{_includedir}/%{name}
102 %attr(755,root,root) %{_libdir}/libaom.so
103 %{_pkgconfigdir}/%{name}.pc