%define major 0 %define libname %mklibname %name %major %define libnamedev %mklibname -d %name Summary: Opus Interactive Audio Codec Name: opus Version: 1.0.2 Release: %mkrel 2 Source0: http://downloads.xiph.org/releases/opus/%{name}-%{version}.tar.gz URL: http://opus-codec.org/ License: BSD Group: Sound/Utilities %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 %build %configure2_5x %make %install %makeinstall_std rm -f %buildroot/%_libdir/*.{a,la} %files -n %{libname} %defattr(644,root,root,755) %doc COPYING README %{_libdir}/*.so.%{major}* #{_mandir}/man3/* %files -n %{libnamedev} %defattr(644,root,root,755) %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_datadir}/aclocal/opus.m4 %changelog * 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