File ilbc.spec of Package ilbc

#
# spec file for package ilbc (Version 3951)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           ilbc
Summary:        Internet Low Bitrate Codec
Version:        3951
Release:        57
License:        GPL v2 or later
Group:          Productivity/Telephony/Utilities
Source:         ilbc-rfc3951.tar.bz2
Url:            http://download.savannah.nongnu.org/releases/linphone/1.3.x/source/ilbc-rfc3951.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Patch:          %{name}-compilerwarnings.patch

%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.



%prep
%setup -n ilbc-rfc3951
%patch

%build
autoreconf -fi
%configure --disable-static --with-pic
make MYCFLAGS="$RPM_OPT_FLAGS" 

%install
%makeinstall
rm -f %{buildroot}%{_libdir}/*.la

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)
%{_includedir}/ilbc/iLBC_decode.h
%{_includedir}/ilbc/iLBC_define.h
%{_includedir}/ilbc/iLBC_encode.h
%{_libdir}/lib%{name}.so*
%dir %{_includedir}/ilbc

%changelog
* Mon Feb 25 2008 crrodriguez@suse.de
- fix library-without-ldconfig-post* errors
- remove libtool archives with empty dependency_libs and static libraries
* Thu Mar 22 2007 mskibbe@suse.de
- create package
openSUSE Build Service is sponsored by