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: v%{version}.tar.gz
12 # Source0-md5: dd4689f0425e55dbc255eab73989dca5
13 Patch0: %{name}-build.patch
15 BuildRequires: doxygen
16 BuildRequires: graphviz
17 BuildRequires: libstdc++-devel
18 %{?with_wxwidgets:BuildRequires: wxGTK3-devel}
22 The Alliance for Open Media's focus is to deliver a next-generation
25 - Interoperable and open;
26 - Optimized for the Internet;
27 - Scalable to any modern device at any bandwidth;
28 - Designed with a low computational footprint and optimized for
30 - Capable of consistent, highest-quality, real-time video delivery;
32 - Flexible for both commercial and non-commercial content, including
33 user-generated content.
36 Summary: Development files for aom
37 Group: Development/Libraries
38 Requires: %{name} = %{version}-%{release}
41 Development files for aom the royalty-free next-generation video
49 install -d build; cd build
51 -DLIB_INSTALL_DIR=%{_libdir} \
53 -DCMAKE_SKIP_RPATH=1 \
54 %ifnarch aarch64 %{arm} %{ix86} x86_64
55 -DAOM_TARGET_CPU=generic \
58 -DAOM_TARGET_CPU=arm \
61 -DAOM_TARGET_CPU=arm64 \
64 -DAOM_TARGET_CPU=x86 \
67 -DAOM_TARGET_CPU=x86_64 \
71 %{?with_wxwidgets:-DCONFIG_ANALYZER=1} \
78 rm -rf $RPM_BUILD_ROOT
80 %{__make} -C build install \
81 DESTDIR=$RPM_BUILD_ROOT
83 %{?with_wxwidgets:install -pm 0755 build/examples/analyzer $RPM_BUILD_ROOT%{_bindir}/aomanalyzer}
86 rm -rf $RPM_BUILD_ROOT
88 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
92 %defattr(644,root,root,755)
93 %doc AUTHORS CHANGELOG README.md PATENTS
94 %{?with_wxwidgets:%attr(755,root,root) %{_bindir}/aomanalyzer}
95 %attr(755,root,root) %{_bindir}/aomdec
96 %attr(755,root,root) %{_bindir}/aomenc
97 %attr(755,root,root) %{_libdir}/libaom.so.0
100 %defattr(644,root,root,755)
102 %{_includedir}/%{name}
103 %attr(755,root,root) %{_libdir}/libaom.so
104 %{_pkgconfigdir}/%{name}.pc