Format SPEC file

epel9
Simone Caronni 3 years ago
parent e444ebb198
commit 17fc308ec2

@ -18,40 +18,34 @@ BuildRequires: gcc
BuildRequires: make BuildRequires: make
%description %description
iLBC (internet Low Bitrate Codec) is a FREE speech codec suitable for iLBC (internet Low Bitrate Codec) is a FREE speech codec suitable for robust
robust voice communication over IP. The codec is designed for narrow voice communication over IP. The codec is designed for narrow band speech and
band speech and results in a payload bit rate of 13.33 kbit/s with an results in a payload bit rate of 13.33 kbit/s with an encoding frame length of
encoding frame length of 30 ms and 15.20 kbps with an encoding length 30 ms and 15.20 kbps with an encoding length of 20 ms. The iLBC codec enables
of 20 ms. The iLBC codec enables graceful speech quality degradation in graceful speech quality degradation in the case of lost frames, which occurs in
the case of lost frames, which occurs in connection with lost or connection with lost or delayed IP packets.
delayed IP packets.
%package devel %package devel
Summary: development files for %{name} Summary: development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig Requires: pkgconfig
%description devel %description devel
Additional header files for development with %{name}. Additional header files for development with %{name}.
%prep %prep
%autosetup -n libilbc-%{commit} -p1 %autosetup -p1 -n libilbc-%{commit}
%build %build
autoreconf -ivf autoreconf -ivf
%configure --disable-static --with-pic %configure --disable-static --with-pic
%make_build %make_build
%install %install
%make_install %make_install
rm -f %{buildroot}%{_libdir}/libilbc.la 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 cd %{buildroot}%{_libdir}/pkgconfig && ln -s libilbc.pc ilbc.pc
# Make compat symlinks # 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_define.h
ln -s ilbc.h iLBC_encode.h ln -s ilbc.h iLBC_encode.h
%{?ldconfig_scriptlets}
%ldconfig_scriptlets
%files %files
%doc README %doc README
%license COPYING %license COPYING
%{_libdir}/lib%{name}.so.* %{_libdir}/lib%{name}.so.*
%files devel %files devel
%{_includedir}/ilbc.h %{_includedir}/ilbc.h
# Compat symlinks # Compat symlinks
@ -81,7 +71,6 @@ ln -s ilbc.h iLBC_encode.h
%{_libdir}/pkgconfig/libilbc.pc %{_libdir}/pkgconfig/libilbc.pc
%{_libdir}/lib%{name}.so %{_libdir}/lib%{name}.so
%changelog %changelog
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-22 * Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

Loading…
Cancel
Save