diff --git a/ilbc.spec b/ilbc.spec index e0b76d8..5bbdf00 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -1,57 +1,51 @@ %global commit 88cd1613a1db8d5dee0910a9a0c3e676e31bc529 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -Name: ilbc -Summary: Internet Low Bitrate Codec -Version: 1.1.1 -Release: 22%{?dist} -License: BSD -URL: https://github.com/TimothyGu/libilbc -Source0: %{url}/archive/%{commit}/libilbc-%{shortcommit}.tar.gz +Name: ilbc +Summary: Internet Low Bitrate Codec +Version: 1.1.1 +Release: 22%{?dist} +License: BSD +URL: https://github.com/TimothyGu/libilbc +Source0: %{url}/archive/%{commit}/libilbc-%{shortcommit}.tar.gz # Fedora/EPEL-specific -Patch1: %{name}-0001-Don-t-build-silently.patch +Patch1: %{name}-0001-Don-t-build-silently.patch -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: libtool +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool BuildRequires: gcc BuildRequires: make %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 devel -Summary: development files for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: pkgconfig - +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 devel +Summary: development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: pkgconfig %description devel Additional header files for development with %{name}. - %prep -%autosetup -n libilbc-%{commit} -p1 - +%autosetup -p1 -n libilbc-%{commit} %build autoreconf -ivf %configure --disable-static --with-pic %make_build - %install %make_install rm -f %{buildroot}%{_libdir}/libilbc.la -# Required for compatibility with a very old apps +# Required for compatibility with very old apps cd %{buildroot}%{_libdir}/pkgconfig && ln -s libilbc.pc ilbc.pc # Make compat symlinks @@ -60,17 +54,13 @@ ln -s ilbc.h iLBC_decode.h ln -s ilbc.h iLBC_define.h ln -s ilbc.h iLBC_encode.h - - -%ldconfig_scriptlets - +%{?ldconfig_scriptlets} %files %doc README %license COPYING %{_libdir}/lib%{name}.so.* - %files devel %{_includedir}/ilbc.h # Compat symlinks @@ -81,7 +71,6 @@ ln -s ilbc.h iLBC_encode.h %{_libdir}/pkgconfig/libilbc.pc %{_libdir}/lib%{name}.so - %changelog * Thu Jan 20 2022 Fedora Release Engineering - 1.1.1-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild