Name: libshout Version: 2.4.6 Release: 1 Summary: Library which can be used to write a source client like ices License: LGPLv2+ URL: http://www.icecast.org/ Source: http://downloads.us.xiph.org/releases/libshout/libshout-%{version}.tar.gz Patch0: libshout-2.4.3-Allow-disabling-ckport-database-installation.patch Patch1: libshout-2.4.3-Default-OpenSSL-cipher-list-is-PROFILE-SYSTEM.patch BuildRequires: openssl-devel libvorbis-devel libtheora-devel speex-devel pkgconfig gcc BuildRequires: autoconf automake coreutils findutils libtool %description libshout is a library which can be used to write a source client like ices. It handles the socket connection, the timing of the data, and prevents most bad data from getting to the icecast server. %package devel Summary: Libraries and header files for libshout Requires: libshout = %{version}-%{release} %description devel The libshout-devel package contains the libraries and header files needed for libshout. %prep %autosetup -p1 autoreconf -fi %build %configure --disable-silent-rules --disable-static --disable-ckport \ --enable-examples --enable-pkgconfig --enable-shared --enable-speex \ --enable-theora --enable-thread sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool %make_build %install %make_install find $RPM_BUILD_ROOT -type f -name "*.la" -delete rm -rf $RPM_BUILD_ROOT%{_docdir} %pre %post -p /sbin/ldconfig %preun %postun -p /sbin/ldconfig %files %doc NEWS README COPYING %{_libdir}/libshout.so.3* %{_bindir}/shout %{_mandir}/*/shout.* %files devel %doc examples/*.c doc/*.xml %{_includedir}/shout/ %{_libdir}/libshout.so %{_libdir}/pkgconfig/shout.pc %{_datadir}/aclocal/shout.m4 %exclude %{_libdir}/*.la %exclude %{_docdir}/libshout/*.c %changelog * Thu Oct 12 2023 Ge Wang - 2.4.6-1 - Update to version 2.4.6 * Tue Jun 08 2021 wulei - 2.2.2-22 - fixes failed: error: no acceptable C compiler found in $PATH * Mon Oct 21 2019 Huiming Xie - 2.2.2-21 - init package