3989e3
Name:           libshout
3989e3
Version:        2.2.2
3989e3
Release:        19%{?dist}
3989e3
Summary:        Icecast source streaming library
3989e3
3989e3
Group:          System Environment/Libraries
3989e3
License:        LGPLv2+
3989e3
URL:            http://www.icecast.org/
3989e3
Source:         http://downloads.us.xiph.org/releases/libshout/libshout-%{version}.tar.gz
3989e3
Patch0:         libshout-2.2.2-fix_speex.patch
3989e3
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
3989e3
3989e3
BuildRequires:  libogg-devel
3989e3
BuildRequires:  libvorbis-devel
3989e3
BuildRequires:  libtheora-devel
3989e3
BuildRequires:  speex-devel
3989e3
3989e3
3989e3
3989e3
%description
3989e3
libshout is a library for communicating with and sending data to an
3989e3
icecast server.  It handles the socket connection, the timing of the
3989e3
data, and prevents most bad data from getting to the icecast server.
3989e3
3989e3
%package        devel
3989e3
Summary:        static libraries and header files for %{name} development.
3989e3
Group:          Development/Libraries
3989e3
Requires:       %{name} = %{version}-%{release}
3989e3
3989e3
Requires:       libogg-devel
3989e3
Requires:       libvorbis-devel
3989e3
Requires:       libtheora-devel
3989e3
Requires:       speex-devel
3989e3
3989e3
%description    devel
3989e3
The libshout-devel package contains the header files needed for developing
3989e3
applications that send data to an icecast server.  Install libshout-devel if
3989e3
you want to develop applications using libshout.
3989e3
3989e3
%prep
3989e3
%setup -q
3989e3
%patch0 -p1 -b .fix_speex
3989e3
3989e3
%build
3989e3
%configure --disable-static
3989e3
3989e3
# clean unused-direct-shlib-dependencies
3989e3
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
3989e3
3989e3
make %{?_smp_mflags}
3989e3
3989e3
%install
3989e3
rm -rf $RPM_BUILD_ROOT
3989e3
3989e3
make DESTDIR="$RPM_BUILD_ROOT" INSTALL="install -p " install
3989e3
3989e3
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
3989e3
3989e3
rm -rf $RPM_BUILD_ROOT%{_docdir}
3989e3
3989e3
%clean
3989e3
rm -rf $RPM_BUILD_ROOT
3989e3
3989e3
%post -p /sbin/ldconfig
3989e3
3989e3
%postun -p /sbin/ldconfig
3989e3
3989e3
%files
3989e3
%defattr(-,root,root,-)
3989e3
%doc COPYING NEWS README
3989e3
%{_libdir}/libshout.so.*
3989e3
3989e3
%files devel
3989e3
%defattr(-,root,root,-)
3989e3
%doc examples/*.c doc/*.xml doc/*.xsl
3989e3
%{_libdir}/libshout.so
3989e3
%{_libdir}/pkgconfig/shout.pc
3989e3
%dir %{_includedir}/shout/
3989e3
%{_includedir}/shout/shout.h
3989e3
%{_datadir}/aclocal/shout.m4
3989e3
3989e3
%changelog
3989e3
* Fri Jul 27 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.2.2-19
3989e3
- Dropped unused libshout.autotools patch
3989e3
3989e3
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-18
3989e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3989e3
3989e3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-17
3989e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
3989e3
3989e3
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-16
3989e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3989e3
3989e3
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-15
3989e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3989e3
3989e3
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-14
3989e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3989e3
3989e3
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-13
3989e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3989e3
3989e3
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-12
3989e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
3989e3
3989e3
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-11
3989e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3989e3
3989e3
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-10
3989e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3989e3
3989e3
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-9
3989e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3989e3
3989e3
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-8
3989e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3989e3
3989e3
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-7
3989e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3989e3
3989e3
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-6
3989e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3989e3
3989e3
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-5
3989e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3989e3
3989e3
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-4
3989e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3989e3
3989e3
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2.2-3
3989e3
- Autorebuild for GCC 4.3
3989e3
3989e3
* Fri Dec  7 2007 kwizart < kwizart at gmail.com > - 2.2.2-2
3989e3
- Fix http://bugzilla.redhat.com/415121
3989e3
- Add disable-static
3989e3
- Don't use makeinstall macro
3989e3
- Update License field
3989e3
3989e3
* Thu Sep 07 2006 Thomas Vander Stichele <thomas at apestaart dot org>
3989e3
- 2.2.2-1
3989e3
- updated to new release
3989e3
3989e3
* Fri Mar 17 2006 Thomas Vander Stichele <thomas at apestaart dot org>
3989e3
- 2.2-3
3989e3
- add Requires: to -devel package
3989e3
3989e3
* Fri Mar 17 2006 Thomas Vander Stichele <thomas at apestaart dot org>
3989e3
- 2.2-2
3989e3
- rebuild to please the extras repository
3989e3
3989e3
* Fri Mar 10 2006 Thomas Vander Stichele <thomas at apestaart dot org>
3989e3
- 2.2-1
3989e3
- new (incompatible) version, but deps are updated
3989e3
- various cleanups
3989e3
3989e3
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.0.9-4
3989e3
- rebuild on all arches
3989e3
3989e3
* Fri Apr  1 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.9-3
3989e3
- Include headers directory entry in -devel package.
3989e3
3989e3
* Sat Feb 26 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.0.9-2
3989e3
- Remove redundant explicit /sbin/ldconfig dependency.
3989e3
3989e3
* Wed Jun 04 2003 Thomas Vander Stichele <thomas at apestaart dot org>
3989e3
- 1.0.9-0.fdr.1: initial RPM release