Name: libshout Version: 2.2 Release: 1%{?dist} Summary: icecast source streaming library Group: System Environment/Libraries License: LGPL URL: http://www.icecast.org/ Source: http://downloads.us.xiph.org/releases/libshout/libshout-%{version}.tar.gz Patch: libshout.autotools.patch BuildRequires: libogg-devel BuildRequires: libvorbis-devel BuildRequires: libtheora-devel BuildRequires: speex-devel # so it generates and installs the .pc file BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description ibshout 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} %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 %patch -p1 %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT %makeinstall 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.a %{_libdir}/libshout.so %{_libdir}/pkgconfig/shout.pc %dir %{_includedir}/shout/ %{_includedir}/shout/shout.h %{_datadir}/aclocal/shout.m4 %changelog * Fri Mar 10 2006 Thomas Vander Stichele - 2.2-1 - new (incompatible) version, but deps are updated * 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