From 3989e305fa29eddaa076a611b2c7eaf83b90950a Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Sep 14 2020 18:26:44 +0000 Subject: import libshout-2.2.2-19.el8 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..864c968 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libshout-2.2.2.tar.gz diff --git a/.libshout.metadata b/.libshout.metadata new file mode 100644 index 0000000..b97bf66 --- /dev/null +++ b/.libshout.metadata @@ -0,0 +1 @@ +cabc409e63f55383f4d85fac26d3056bf0365aac SOURCES/libshout-2.2.2.tar.gz diff --git a/SOURCES/libshout-2.2.2-fix_speex.patch b/SOURCES/libshout-2.2.2-fix_speex.patch new file mode 100644 index 0000000..2d5f290 --- /dev/null +++ b/SOURCES/libshout-2.2.2-fix_speex.patch @@ -0,0 +1,87 @@ +diff -up libshout-2.2.2/src/Makefile.in.fix_speex libshout-2.2.2/src/Makefile.in +--- libshout-2.2.2/src/Makefile.in.fix_speex 2007-12-07 15:03:46.000000000 +0100 ++++ libshout-2.2.2/src/Makefile.in 2007-12-07 15:04:43.000000000 +0100 +@@ -65,7 +65,8 @@ LTLIBRARIES = $(lib_LTLIBRARIES) + am__DEPENDENCIES_2 = + libshout_la_DEPENDENCIES = net/libicenet.la timing/libicetiming.la \ + avl/libiceavl.la httpp/libicehttpp.la $(am__DEPENDENCIES_1) \ +- $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) ++ $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \ ++ $(am__DEPENDENCIES_2) + am__libshout_la_SOURCES_DIST = shout.c util.c ogg.c vorbis.c mp3.c \ + theora.c speex.c + @HAVE_THEORA_TRUE@am__objects_1 = theora.lo +@@ -128,6 +129,7 @@ EXEEXT = @EXEEXT@ + F77 = @F77@ + FFLAGS = @FFLAGS@ + FGREP = @FGREP@ ++GREP = @GREP@ + HAVE_PKGCONFIG_FALSE = @HAVE_PKGCONFIG_FALSE@ + HAVE_PKGCONFIG_TRUE = @HAVE_PKGCONFIG_TRUE@ + HAVE_SPEEX_FALSE = @HAVE_SPEEX_FALSE@ +@@ -199,13 +201,9 @@ VORBIS_LIBS = @VORBIS_LIBS@ + VORBIS_PREFIX = @VORBIS_PREFIX@ + XIPH_CFLAGS = @XIPH_CFLAGS@ + XIPH_CPPFLAGS = @XIPH_CPPFLAGS@ +-ac_ct_AR = @ac_ct_AR@ + ac_ct_CC = @ac_ct_CC@ + ac_ct_CXX = @ac_ct_CXX@ + ac_ct_F77 = @ac_ct_F77@ +-ac_ct_RANLIB = @ac_ct_RANLIB@ +-ac_ct_STRIP = @ac_ct_STRIP@ +-ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ + acx_pthread_config = @acx_pthread_config@ + am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ + am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +@@ -223,23 +221,30 @@ build_cpu = @build_cpu@ + build_os = @build_os@ + build_vendor = @build_vendor@ + datadir = @datadir@ ++datarootdir = @datarootdir@ ++docdir = @docdir@ ++dvidir = @dvidir@ + exec_prefix = @exec_prefix@ + host = @host@ + host_alias = @host_alias@ + host_cpu = @host_cpu@ + host_os = @host_os@ + host_vendor = @host_vendor@ ++htmldir = @htmldir@ + includedir = @includedir@ + infodir = @infodir@ + install_sh = @install_sh@ + libdir = @libdir@ + libexecdir = @libexecdir@ ++localedir = @localedir@ + localstatedir = @localstatedir@ + mandir = @mandir@ + mkdir_p = @mkdir_p@ + oldincludedir = @oldincludedir@ ++pdfdir = @pdfdir@ + prefix = @prefix@ + program_transform_name = @program_transform_name@ ++psdir = @psdir@ + sbindir = @sbindir@ + sharedstatedir = @sharedstatedir@ + shout_cflags = @shout_cflags@ +@@ -261,7 +266,7 @@ noinst_HEADERS = shout_ogg.h shout_priva + libshout_la_SOURCES = shout.c util.c ogg.c vorbis.c mp3.c $(MAYBE_THEORA) $(MAYBE_SPEEX) + AM_CFLAGS = @XIPH_CFLAGS@ + libshout_la_LIBADD = net/libicenet.la timing/libicetiming.la avl/libiceavl.la\ +- httpp/libicehttpp.la $(MAYBE_THREAD_LIB) $(THEORA_LIBS) $(VORBIS_LIBS) ++ httpp/libicehttpp.la $(MAYBE_THREAD_LIB) $(THEORA_LIBS) $(VORBIS_LIBS) $(SPEEX_LIBS) + + INCLUDES = -I$(top_builddir)/include + all: all-recursive +diff -up libshout-2.2.2/src/Makefile.am.fix_speex libshout-2.2.2/src/Makefile.am +--- libshout-2.2.2/src/Makefile.am.fix_speex 2007-12-07 15:03:39.000000000 +0100 ++++ libshout-2.2.2/src/Makefile.am 2007-12-07 15:04:35.000000000 +0100 +@@ -26,7 +26,7 @@ libshout_la_SOURCES = shout.c util.c ogg + AM_CFLAGS = @XIPH_CFLAGS@ + + libshout_la_LIBADD = net/libicenet.la timing/libicetiming.la avl/libiceavl.la\ +- httpp/libicehttpp.la $(MAYBE_THREAD_LIB) $(THEORA_LIBS) $(VORBIS_LIBS) ++ httpp/libicehttpp.la $(MAYBE_THREAD_LIB) $(THEORA_LIBS) $(VORBIS_LIBS) $(SPEEX_LIBS) + + INCLUDES = -I$(top_builddir)/include + diff --git a/SPECS/libshout.spec b/SPECS/libshout.spec new file mode 100644 index 0000000..498ea08 --- /dev/null +++ b/SPECS/libshout.spec @@ -0,0 +1,167 @@ +Name: libshout +Version: 2.2.2 +Release: 19%{?dist} +Summary: Icecast source streaming library + +Group: System Environment/Libraries +License: LGPLv2+ +URL: http://www.icecast.org/ +Source: http://downloads.us.xiph.org/releases/libshout/libshout-%{version}.tar.gz +Patch0: libshout-2.2.2-fix_speex.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libogg-devel +BuildRequires: libvorbis-devel +BuildRequires: libtheora-devel +BuildRequires: speex-devel + + + +%description +libshout is a library for communicating with and sending data to an +icecast server. It handles the socket connection, the timing of the +data, and prevents most bad data from getting to the icecast server. + +%package devel +Summary: static libraries and header files for %{name} development. +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +Requires: libogg-devel +Requires: libvorbis-devel +Requires: libtheora-devel +Requires: speex-devel + +%description devel +The libshout-devel package contains the header files needed for developing +applications that send data to an icecast server. Install libshout-devel if +you want to develop applications using libshout. + +%prep +%setup -q +%patch0 -p1 -b .fix_speex + +%build +%configure --disable-static + +# clean unused-direct-shlib-dependencies +sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool + +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make DESTDIR="$RPM_BUILD_ROOT" INSTALL="install -p " install + +find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' + +rm -rf $RPM_BUILD_ROOT%{_docdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc COPYING NEWS README +%{_libdir}/libshout.so.* + +%files devel +%defattr(-,root,root,-) +%doc examples/*.c doc/*.xml doc/*.xsl +%{_libdir}/libshout.so +%{_libdir}/pkgconfig/shout.pc +%dir %{_includedir}/shout/ +%{_includedir}/shout/shout.h +%{_datadir}/aclocal/shout.m4 + +%changelog +* Fri Jul 27 2018 Jaroslav Škarvada - 2.2.2-19 +- Dropped unused libshout.autotools patch + +* Wed Feb 07 2018 Fedora Release Engineering - 2.2.2-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 2.2.2-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 2.2.2-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 2.2.2-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 2.2.2-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 2.2.2-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 2.2.2-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 2.2.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 2.2.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 2.2.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 2.2.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 2.2.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 2.2.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sat Jul 25 2009 Fedora Release Engineering - 2.2.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 2.2.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Feb 20 2008 Fedora Release Engineering - 2.2.2-3 +- Autorebuild for GCC 4.3 + +* Fri Dec 7 2007 kwizart < kwizart at gmail.com > - 2.2.2-2 +- Fix http://bugzilla.redhat.com/415121 +- Add disable-static +- Don't use makeinstall macro +- Update License field + +* Thu Sep 07 2006 Thomas Vander Stichele +- 2.2.2-1 +- updated to new release + +* Fri Mar 17 2006 Thomas Vander Stichele +- 2.2-3 +- add Requires: to -devel package + +* Fri Mar 17 2006 Thomas Vander Stichele +- 2.2-2 +- rebuild to please the extras repository + +* Fri Mar 10 2006 Thomas Vander Stichele +- 2.2-1 +- new (incompatible) version, but deps are updated +- various cleanups + +* Sun May 22 2005 Jeremy Katz - 1.0.9-4 +- rebuild on all arches + +* Fri Apr 1 2005 Michael Schwendt - 1.0.9-3 +- Include headers directory entry in -devel package. + +* Sat Feb 26 2005 Ville Skyttä - 1.0.9-2 +- Remove redundant explicit /sbin/ldconfig dependency. + +* Wed Jun 04 2003 Thomas Vander Stichele +- 1.0.9-0.fdr.1: initial RPM release