#global candidate rc2 Name: opus Version: 1.3 Release: 2%{?candidate:.%{candidate}}%{?dist} Summary: An audio codec for use in low-delay speech and audio communication License: BSD URL: https://www.opus-codec.org/ #Source0: http://downloads.xiph.org/releases/%{name}/%{name}-%{version}%{?candidate:-%{candidate}}.tar.gz %scm_source github https://github.com/xiph/opus master # This is the final IETF Working Group RFC Source1: http://tools.ietf.org/rfc/rfc6716.txt Source2: http://tools.ietf.org/rfc/rfc8251.txt BuildRequires: gcc BuildRequires: doxygen %description The Opus codec is designed for interactive speech and audio transmission over the Internet. It is designed by the IETF Codec Working Group and incorporates technology from Skype's SILK codec and Xiph.Org's CELT codec. %package devel Summary: Development package for opus Requires: libogg Requires: opus = %{version}-%{release} %description devel Files for development with opus. %debug_package %prep #%setup -q %{?candidate:-n %{name}-%{version}-%{candidate}} %scm_setup cp %{SOURCE1} . cp %{SOURCE2} . autoreconf -vif %build %configure --enable-custom-modes --disable-static \ --enable-hardening --enable-ambisonics make %{?_smp_mflags} %install %make_install # Remove libtool archives find %{buildroot} -type f -name "*.la" -delete rm -rf %{buildroot}%{_datadir}/doc/opus/html %check #make check %{?_smp_mflags} V=1 #%ldconfig_scriptlets %files %license COPYING %{_libdir}/opus*.dll %files devel %doc README doc/html rfc6716.txt rfc8251.txt %{_includedir}/opus %{_libdir}/*.a %{_libdir}/pkgconfig/opus.pc %{_datadir}/aclocal/opus.m4 %{_datadir}/man/man3/opus_*.3.gz %changelog * Mon Mar 04 2019 Elbert Pol - 1.3-2 - Add dll to right section * Sun Mar 03 2019 Elbert Pol - 1.3-1 - first RPM release for OS2