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