%define major 0 %define libname %mklibname %name %major %define libnamedev %mklibname -d %name Summary: Opus Interactive Audio Codec Name: opus Version: 1.1 %define subrel 1 Release: %mkrel 3 Source0: http://downloads.xiph.org/releases/opus/%{name}-%{version}.tar.gz Patch0: opus-1.1.3-CVE-2017-0381.patch URL: http://opus-codec.org/ License: BSD Group: Sound/Utilities 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 -n %{libname} Summary: Opus library Group: System/Libraries %description -n %{libname} This package provides the library that implements the Opus codec. 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 -n %{libnamedev} Summary: Files needed to compile a program with Opus support Group: Development/C Requires: %{libname} = %version Provides: opus-devel = %version %description -n %{libnamedev} This package provides the library that implements the Opus codec. %prep %setup -q %patch0 -p1 %build %configure2_5x --enable-custom-modes %make %install %makeinstall_std rm -f %buildroot/%_libdir/*.{a,la} %files -n %{libname} %defattr(644,root,root,755) %doc COPYING README %{_libdir}/*.so.%{major}* %files -n %{libnamedev} %defattr(644,root,root,755) %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_datadir}/aclocal/opus.m4 %{_mandir}/man3/* %{_datadir}/doc/%{name} %changelog * Sat Jan 21 2017 luigiwalser <luigiwalser> 1.1-3.1.mga5 + Revision: 1082864 - add patch from fedora to fix CVE-2017-0381 * Wed Oct 15 2014 umeabot <umeabot> 1.1-3.mga5 + Revision: 743104 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 1.1-2.mga5 + Revision: 683267 - Mageia 5 Mass Rebuild * Thu Feb 06 2014 fwang <fwang> 1.1-1.mga5 + Revision: 584181 - new version 1.1 * Sat Oct 19 2013 umeabot <umeabot> 1.0.3-2.mga4 + Revision: 529879 - Mageia 4 Mass Rebuild * Sat Jul 13 2013 mitya <mitya> 1.0.3-1.mga4 + Revision: 453929 - New version 1.0.3 - Enable custom API (needed by new Jack) * Sun Jan 13 2013 umeabot <umeabot> 1.0.2-2.mga3 + Revision: 362190 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Mon Dec 17 2012 tv <tv> 1.0.2-1.mga3 + Revision: 332003 - new release * Sun Nov 18 2012 dlucio <dlucio> 1.0.1-2.mga3 + Revision: 319441 - fix filelist * Thu Oct 18 2012 tv <tv> 1.0.1-1.mga3 + Revision: 307963 - adjust file list - fix %%install - fix group - new release * Mon Aug 06 2012 tv <tv> 0.9.14-1.mga3 + Revision: 279268 - imported package opus * Mon Aug 06 2012 Thierry Vignaud <tv@mageia.org> 0.9.14-1.mga3 - initial release