Name: oac Version: 0.0.0 Release: %autorelease Summary: A reference implementation of the Open Audio Codec (OAC) specification License: BSD-3-Clause-Clear URL: https://github.com/AOMediaCodec/oac Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: automake BuildRequires: autoconf BuildRequires: doxygen BuildRequires: gcc BuildRequires: libtool BuildRequires: make Requires: liboac = %{version}-%{release} %description liboac is the reference implementation of the Open Audio Codec (OAC) specification. OAC intends to be the successor to Opus and liboac is based on libopus. This package implements a shared library for encoding and decoding raw OAC bitstreams. It also includes a number of test tools used for testing the correct operation of the library. The bitstreams read/written by these tools should not be used for OAC file distribution: they include additional debugging data and cannot support seeking. %package -n liboac Summary: The Open Audio Codec (OAC) specification library %description -n liboac The Open Audio Codec (OAC) specification library. %package devel Summary: Development package for oac Requires: oac = %{version}-%{release} %description devel Files for development with oac. %prep %autosetup -p1 %build autoreconf -ivf %configure %make_build %install %make_install install -p oac_demo oac_compare repacketizer_demo -Dt %{buildroot}%{_bindir}/ rm %{buildroot}%{_libdir}/liboac.a %check make check %ldconfig_scriptlets %files %doc README %{_bindir}/oac_demo %{_bindir}/oac_compare %{_bindir}/repacketizer_demo %files -n liboac %license COPYING %{_libdir}/liboac.so.0* %files devel %{_includedir}/oac %{_libdir}/liboac.so %{_libdir}/pkgconfig/oac.pc %{_datadir}/aclocal/oac.m4 %{_datadir}/man/man3/oac_*.3.gz %doc %{_datadir}/doc/%{name}/ %changelog %autochangelog