Name: libshout Version: 2.0 Release: 0.fdr.1 Summary: icecast source streaming library. Group: System Environment/Libraries License: LGPL URL: http://www.icecast.org/ Source: http://www.icecast.org/files/libshout/%{name}-%{version}.tar.gz Patch: libshout.makefile.patch Patch1: libshout.pkgconfig.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires(post,postun): /sbin/ldconfig BuildRequires: libogg-devel BuildRequires: libvorbis-devel # so it generates and installs the .pc file BuildRequires: pkgconfig %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: libvorbis-devel >= 1.0 %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 -p2 %patch1 -p2 %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT %makeinstall # docs install in $(prefix)/doc, so we remove them rm -rf $RPM_BUILD_ROOT%{_docdir} find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING README %{_libdir}/libshout.so.* %files devel %defattr(-,root,root,-) %doc examples/example.c doc/*.xml doc/*.xsl %{_libdir}/libshout.a %{_libdir}/libshout.so %{_libdir}/pkgconfig/shout.pc %{_datadir}/aclocal/shout.m4 %{_bindir}/shout-config %{_includedir}/shout/shout.h %changelog * Wed May 12 2004 Thomas Vander Stichele - 2.0-0.fdr.1: updated to 2.0 * Wed Jun 04 2003 Thomas Vander Stichele - 1.0.9-0.fdr.1: initial RPM release