ec7f0f
Name:           libshout
ec7f0f
Version:        2.4.3
ec7f0f
Release:        7%{?dist}
ec7f0f
Summary:        Icecast source streaming library
ec7f0f
ec7f0f
# COPYING:              GPLv2 text
ec7f0f
# include/shout/shout.h.in:     LGPLv2+
ec7f0f
# README:               LGPLv2+
ec7f0f
# src/codec_opus.c:     LGPLv2+
ec7f0f
# src/codec_speex.c:    LGPLv2+
ec7f0f
# src/codec_theora.c:   LGPLv2+
ec7f0f
# src/codec_vorbis.c:   LGPLv2+
ec7f0f
# src/common/avl/avl.c: MIT
ec7f0f
# src/common/httpp/encoding.c:  LGPLv2+
ec7f0f
# src/common/httpp/encoding.h:  LGPLv2+
ec7f0f
# src/common/httpp/httpp.c:     LGPLv2+
ec7f0f
# src/common/httpp/httpp.h:     LGPLv2+
ec7f0f
# src/common/net/resolver.c:    LGPLv2+
ec7f0f
# src/common/net/resolver.h:    LGPLv2+
ec7f0f
# src/common/net/sock.c:        LGPLv2+
ec7f0f
# src/common/net/sock.h:        LGPLv2+
ec7f0f
# src/common/thread/thread.c:   LGPLv2+
ec7f0f
# src/common/thread/thread.h:   LGPLv2+
ec7f0f
# src/common/timing/timing.c:   LGPLv2+
ec7f0f
# src/common/timing/timing.h:   LGPLv2+
ec7f0f
# src/connection.c:     LGPLv2+
ec7f0f
# src/format_mp3.c:     LGPLv2+
ec7f0f
# src/format_ogg.c:     LGPLv2+
ec7f0f
# src/format_ogg.h:     LGPLv2+
ec7f0f
# src/format_webm.c:    LGPLv2+
ec7f0f
# src/proto_http.c:     LGPLv2+
ec7f0f
# src/proto_icy.c:      LGPLv2+
ec7f0f
# src/proto_roaraudio.c:    LGPLv2+
ec7f0f
# src/proto_xaudiocast.c:   LGPLv2+
ec7f0f
# src/queue.c:          LGPLv2+
ec7f0f
# src/shout.c:          LGPLv2+
ec7f0f
# src/shout_private.h:  LGPLv2+
ec7f0f
# src/tls.c:            LGPLv2+
ec7f0f
# src/util.c:           LGPLv2+
ec7f0f
# src/util.h:           LGPLv2+
ec7f0f
## Not in a binary package
ec7f0f
# aclocal.m4:           GPLv2+ with Autoconf exception and FSFULLR
ec7f0f
# compile:              GPLv2+ with Autoconf exception
ec7f0f
# config.guess:         GPLv3+ with Autoconf exception
ec7f0f
# config.sub:           GPLv3+ with Autoconf exception
ec7f0f
# configure:            GPLv2+ with Libtool exception and FSFUL
ec7f0f
# depcomp:              GPLv2+ with Autoconf exception
ec7f0f
# doc/Makefile.in:      FSFULLR
ec7f0f
# examples/Makefile.in: FSFULLR
ec7f0f
# include/Makefile.in:  FSFULLR
ec7f0f
# include/shout/Makefile.in:    FSFULLR
ec7f0f
# install-sh:           MIT
ec7f0f
# ltmain.sh:            GPLv2+ with a Libtool exception
ec7f0f
# m4/lt~obsolete.m4:    FSFULLR
ec7f0f
# m4/ltoptions.m4:      FSFULLR
ec7f0f
# m4/ltsugar.m4:        FSFULLR
ec7f0f
# m4/ltversion.m4:      FSFULLR
ec7f0f
# m4/libtool.m4:        GPLv2+ with Libtool exception and FSFULLR and FSFUL
ec7f0f
# Makefile.in:          FSFULLR
ec7f0f
# missing:              GPLv2+ with Autoconf exception
ec7f0f
# src/common/avl/COPYING:       LGPLv2 text
ec7f0f
# src/common/avl/Makefile.in:   FSFULLR
ec7f0f
# src/common/httpp/COPYING:     LGPLv2 text
ec7f0f
# src/common/httpp/Makefile.in: FSFULLR
ec7f0f
# src/common/httpp/README:      LGPLv2+
ec7f0f
# src/common/net/COPYING:       LGPLv2 text
ec7f0f
# src/common/net/Makefile.in:   FSFULLR
ec7f0f
# src/common/thread/COPYING:    LGPLv2 text
ec7f0f
# src/common/thread/Makefile.in:    FSFULLR
ec7f0f
# src/common/timing/COPYING:    LGPLv2 text
ec7f0f
# src/common/timing/Makefile.in:    FSFULLR
ec7f0f
# src/Makefile.in:      FSFULLR
ec7f0f
# win32/Makefile.in:    FSFULLR
ec7f0f
License:        LGPLv2+ and MIT
ec7f0f
URL:            https://www.icecast.org/
ec7f0f
Source:         https://downloads.us.xiph.org/releases/libshout/libshout-%{version}.tar.gz
ec7f0f
# Fedora does not support ckport. Enable disabling it.
ec7f0f
# <https://gitlab.xiph.org/xiph/icecast-libshout/issues/2314>
ec7f0f
Patch0:         libshout-2.4.3-Allow-disabling-ckport-database-installation.patch
ec7f0f
# Enforce a Fedora system-wide crypto policy
ec7f0f
# <https://docs.fedoraproject.org/en-US/packaging-guidelines/CryptoPolicies/#_cc_applications>
ec7f0f
Patch1:         libshout-2.4.3-Default-OpenSSL-cipher-list-is-PROFILE-SYSTEM.patch
ec7f0f
ec7f0f
BuildRequires:  autoconf
ec7f0f
BuildRequires:  automake
ec7f0f
BuildRequires:  coreutils
ec7f0f
BuildRequires:  findutils
ec7f0f
BuildRequires:  libtool
ec7f0f
BuildRequires:  gcc
ec7f0f
BuildRequires:  pkgconfig
ec7f0f
BuildRequires:  pkgconfig(openssl)
ec7f0f
BuildRequires:  pkgconfig(vorbis)
ec7f0f
BuildRequires:  pkgconfig(speex)
ec7f0f
BuildRequires:  pkgconfig(theora)
ec7f0f
BuildRequires:  sed
ec7f0f
BuildRequires: make
ec7f0f
ec7f0f
%description
ec7f0f
libshout is a library for communicating with and sending data to an
ec7f0f
icecast server.  It handles the socket connection, the timing of the
ec7f0f
data, and prevents most bad data from getting to the icecast server.
ec7f0f
ec7f0f
%package        devel
ec7f0f
Summary:        Header files for %{name} development
ec7f0f
License:        LGPLv2+
ec7f0f
Requires:       %{name}%{?_isa} = %{version}-%{release}
ec7f0f
ec7f0f
%description    devel
ec7f0f
The libshout-devel package contains the header files needed for developing
ec7f0f
applications that send data to an icecast server.  Install libshout-devel if
ec7f0f
you want to develop applications using libshout.
ec7f0f
ec7f0f
%prep
ec7f0f
%setup -q
ec7f0f
%patch0 -p1
ec7f0f
%patch1 -p1
ec7f0f
autoreconf -fi
ec7f0f
ec7f0f
%build
ec7f0f
%configure \
ec7f0f
  --disable-ckport \
ec7f0f
  --enable-examples \
ec7f0f
  --enable-pkgconfig \
ec7f0f
  --disable-silent-rules \
ec7f0f
  --enable-shared \
ec7f0f
  --enable-speex \
ec7f0f
  --disable-static \
ec7f0f
  --enable-theora \
ec7f0f
  --enable-thread
ec7f0f
ec7f0f
# clean unused-direct-shlib-dependencies
ec7f0f
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
ec7f0f
ec7f0f
%make_build
ec7f0f
ec7f0f
%install
ec7f0f
%make_install
ec7f0f
ec7f0f
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
ec7f0f
ec7f0f
rm -rf $RPM_BUILD_ROOT%{_docdir}
ec7f0f
ec7f0f
%files
ec7f0f
%doc NEWS README
ec7f0f
%license COPYING
ec7f0f
%{_libdir}/libshout.so.3
ec7f0f
%{_libdir}/libshout.so.3.*
ec7f0f
ec7f0f
%files devel
ec7f0f
%doc examples/*.c doc/*.xml
ec7f0f
%{_libdir}/libshout.so
ec7f0f
%{_libdir}/pkgconfig/shout.pc
ec7f0f
%{_includedir}/shout/
ec7f0f
%{_datadir}/aclocal/shout.m4
ec7f0f
ec7f0f
%changelog
ec7f0f
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.4.3-7
ec7f0f
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
ec7f0f
  Related: rhbz#1991688
ec7f0f
ec7f0f
* Wed Jun 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.4.3-6
ec7f0f
- Rebuilt for RHEL 9 BETA for openssl 3.0
ec7f0f
  Related: rhbz#1971065
ec7f0f
ec7f0f
* Mon Jun 14 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.3-5
ec7f0f
- Release bump due to dropped autotools patch
ec7f0f
  Resolves: rhbz#1956444
ec7f0f
ec7f0f
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.4.3-4
ec7f0f
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
ec7f0f
ec7f0f
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.3-3
ec7f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
ec7f0f
ec7f0f
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.3-2
ec7f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ec7f0f
ec7f0f
* Mon Feb 10 2020 Petr Pisar <ppisar@redhat.com> - 2.4.3-1
ec7f0f
- 2.4.3 bump
ec7f0f
ec7f0f
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-23
ec7f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ec7f0f
ec7f0f
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-22
ec7f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
ec7f0f
ec7f0f
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-21
ec7f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ec7f0f
ec7f0f
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-20
ec7f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
ec7f0f
ec7f0f
* Sun Apr 29 2018 Rex Dieter <rdieter@fedoraproject.org> - 2.2.2-19
ec7f0f
- .spec cleanup
ec7f0f
ec7f0f
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-18
ec7f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ec7f0f
ec7f0f
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-17
ec7f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
ec7f0f
ec7f0f
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-16
ec7f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ec7f0f
ec7f0f
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-15
ec7f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ec7f0f
ec7f0f
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-14
ec7f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ec7f0f
ec7f0f
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-13
ec7f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ec7f0f
ec7f0f
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-12
ec7f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
ec7f0f
ec7f0f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-11
ec7f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ec7f0f
ec7f0f
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-10
ec7f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ec7f0f
ec7f0f
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-9
ec7f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ec7f0f
ec7f0f
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-8
ec7f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ec7f0f
ec7f0f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-7
ec7f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ec7f0f
ec7f0f
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-6
ec7f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ec7f0f
ec7f0f
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-5
ec7f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ec7f0f
ec7f0f
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-4
ec7f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ec7f0f
ec7f0f
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2.2-3
ec7f0f
- Autorebuild for GCC 4.3
ec7f0f
ec7f0f
* Fri Dec  7 2007 kwizart < kwizart at gmail.com > - 2.2.2-2
ec7f0f
- Fix http://bugzilla.redhat.com/415121
ec7f0f
- Add disable-static
ec7f0f
- Don't use makeinstall macro
ec7f0f
- Update License field
ec7f0f
ec7f0f
* Thu Sep 07 2006 Thomas Vander Stichele <thomas at apestaart dot org>
ec7f0f
- 2.2.2-1
ec7f0f
- updated to new release
ec7f0f
ec7f0f
* Fri Mar 17 2006 Thomas Vander Stichele <thomas at apestaart dot org>
ec7f0f
- 2.2-3
ec7f0f
- add Requires: to -devel package
ec7f0f
ec7f0f
* Fri Mar 17 2006 Thomas Vander Stichele <thomas at apestaart dot org>
ec7f0f
- 2.2-2
ec7f0f
- rebuild to please the extras repository
ec7f0f
ec7f0f
* Fri Mar 10 2006 Thomas Vander Stichele <thomas at apestaart dot org>
ec7f0f
- 2.2-1
ec7f0f
- new (incompatible) version, but deps are updated
ec7f0f
- various cleanups
ec7f0f
ec7f0f
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.0.9-4
ec7f0f
- rebuild on all arches
ec7f0f
ec7f0f
* Fri Apr  1 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.9-3
ec7f0f
- Include headers directory entry in -devel package.
ec7f0f
ec7f0f
* Sat Feb 26 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.0.9-2
ec7f0f
- Remove redundant explicit /sbin/ldconfig dependency.
ec7f0f
ec7f0f
* Wed Jun 04 2003 Thomas Vander Stichele <thomas at apestaart dot org>
ec7f0f
- 1.0.9-0.fdr.1: initial RPM release