Format SPEC file

epel9
Simone Caronni 3 years ago
parent e444ebb198
commit 17fc308ec2

@ -18,40 +18,34 @@ 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.
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 <releng@fedoraproject.org> - 1.1.1-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

Loading…
Cancel
Save