Summary: libcodec2 is a library for the codec2 low bit rate speech codec. Name: libcodec2 Version: 2.59 Release: 1%{?dist} License: LGPL v2.1 Group: System Environment/Libraries URL: http://rowetel.com/codec2.html BuildRoot: %{_tmppath}/%{name}-%{version}-root Source: http://files.freeswitch.org/libs/libcodec2-2.59.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: automake BuildRequires: libtool %description libcodec2 is a library for the codec2 low bit rate speech codec. %package devel Summary: codec2 development files Group: Development/Libraries Requires: libcodec2 = %{version} %description devel codec2 development files. %prep %setup -q %build ./bootstrap.sh %configure make %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} rm %{buildroot}%{_libdir}/*.la rm %{buildroot}%{_libdir}/*.a rm %{buildroot}%{_bindir}/* %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_libdir}/libcodec2.so.* %files devel %defattr(-,root,root,-) %{_includedir}/codec2.h #%{_includedir}/ilbc %{_libdir}/libcodec2.so %{_libdir}/pkgconfig/codec2.pc %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %changelog * Wed Apr 1 2015 Ken Rice 2.95 - First pass