%define major 0 %define libname %mklibname ilbc %{major} %define libnamedev %mklibname ilbc -d Summary: Internet Low Bitrate Codec (iLBC) library Name: libilbc Version: 1.1.1 Release: %mkrel 5 License: BSD-style Group: System/Libraries URL: https://github.com/dekkers/libilbc Source0: libilbc-master.zip BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: pkgconfig %description iLBC (internet Low Bitrate Codec) is a FREE speech codec suitable for robust voice communication over IP. The codec is designed for narrow band speech and results in a payload bit rate of 13.33 kbit/s with an encoding frame length of 30 ms and 15.20 kbps with an encoding length of 20 ms. The iLBC codec enables graceful speech quality degradation in the case of lost frames, which occurs in connection with lost or delayed IP packets. %package -n %{libname} Summary: Internet Low Bitrate Codec (iLBC) library Group: System/Libraries %description -n %{libname} iLBC (internet Low Bitrate Codec) is a FREE speech codec suitable for robust voice communication over IP. The codec is designed for narrow band speech and results in a payload bit rate of 13.33 kbit/s with an encoding frame length of 30 ms and 15.20 kbps with an encoding length of 20 ms. The iLBC codec enables graceful speech quality degradation in the case of lost frames, which occurs in connection with lost or delayed IP packets. %package -n %{libnamedev} Summary: Development and header files for the iLBC library Group: Development/C Requires: %{libname} = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} Provides: lib%{name}-devel = %{version}-%{release} %description -n %{libnamedev} iLBC (internet Low Bitrate Codec) is a FREE speech codec suitable for robust voice communication over IP. The codec is designed for narrow band speech and results in a payload bit rate of 13.33 kbit/s with an encoding frame length of 30 ms and 15.20 kbps with an encoding length of 20 ms. The iLBC codec enables graceful speech quality degradation in the case of lost frames, which occurs in connection with lost or delayed IP packets. %prep %setup -q -n libilbc-master %build autoreconf -fi %configure2_5x \ --disable-static %make %install %makeinstall_std rm -f %{buildroot}%{_libdir}/*.*a %files -n %{libname} %doc COPYING README %{_libdir}/libilbc.so.%{major}* %files -n %{libnamedev} %{_includedir}/ilbc.h %{_libdir}/libilbc.so %{_libdir}/pkgconfig/libilbc.pc %changelog * Wed Oct 15 2014 umeabot <umeabot> 1.1.1-5.mga5 + Revision: 740159 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 1.1.1-4.mga5 + Revision: 681533 - Mageia 5 Mass Rebuild * Fri Oct 18 2013 umeabot <umeabot> 1.1.1-3.mga4 + Revision: 507069 - Mageia 4 Mass Rebuild * Sat Jan 12 2013 umeabot <umeabot> 1.1.1-2.mga3 + Revision: 357526 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Dec 13 2012 oden <oden> 1.1.1-1.mga3 + Revision: 330112 - use the new friendly version from https://github.com/dekkers/libilbc - further cleanups * Thu Dec 13 2012 oden <oden> 0.6-10.mga3 + Revision: 330103 - sync with the bundled ilbc in asterisk-11.1.0 (the code is now googlecode, webrtc) - cleanup the spec file a bit * Wed Jun 08 2011 ze <ze> 0.6-9.mga2 + Revision: 102044 - imported package libilbc * Fri Jun 03 2011 Zé <ze@mandriva.orgm> 0.6-9.mde1 - arrange spec - requires to release - use proper build tools (autogen.sh) - bump release to be greater than mdv package * Mon Jan 03 2011 Oden Eriksson <oeriksson@mandriva.com> 0.6-8mdv2011.0 + Revision: 627787 - don't force the usage of automake1.7 * Fri Dec 10 2010 Oden Eriksson <oeriksson@mandriva.com> 0.6-7mdv2011.0 + Revision: 620142 - the mass rebuild of 2010.0 packages * Fri Sep 04 2009 Thierry Vignaud <tv@mandriva.org> 0.6-6mdv2010.0 + Revision: 429766 - rebuild * Wed Jun 18 2008 Oden Eriksson <oeriksson@mandriva.com> 0.6-5mdv2009.0 + Revision: 225555 - rebuild + Pixel <pixel@mandriva.com> - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers * Fri May 23 2008 Oden Eriksson <oeriksson@mandriva.com> 0.6-4mdv2009.0 + Revision: 210388 - fix build - fix devel package naming * Wed Jan 02 2008 Olivier Blin <oblin@mandriva.com> 0.6-3mdv2008.1 + Revision: 140924 - restore BuildRoot + Thierry Vignaud <tv@mandriva.org> - kill re-definition of %%buildroot on Pixel's request * Sat Dec 09 2006 Oden Eriksson <oeriksson@mandriva.com> 0.6-3mdv2007.0 + Revision: 94085 - don't use autoheader - Import libilbc * Thu Aug 03 2006 Oden Eriksson <oeriksson@mandriva.com> 0.6-1mdv2007.0 - rebuild * Mon Feb 13 2006 Oden Eriksson <oeriksson@mandrakesoft.com> 0.6-2mdk - use autofoo from the linphone project, but keep the code generation * Sun Mar 13 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 0.6-1mdk - 0.6 (final rfc3951) - use the %%mkrel macro - new S1 and S2 * Mon Sep 27 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 0.5-1mdk - initial mandrake package