Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37494146
en ru br
ALT Linux repos
5.0: 1.0.9-alt4.M50.1
4.1: 1.0.9-alt4.M41.1
4.0: 1.0.9-alt4.M40.1
3.0: 1.0.9-alt3

Group :: System/Libraries
RPM: libshout

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_without static

Name: libshout
Version: 1.0.9
Release: alt4.M40.1

Summary: libshout - icecast source streaming library
Group: System/Libraries
License: %lgpl2only

Url: http://www.icecast.org
Packager: Nikolay A. Fetisov <naf at altlinux.ru>

Source: ftp://ftp.icecast.org/pub/libshout/%name-%version.tar
Patch0: %name-1.0.9-alt-buffer_overflow.patch
Patch1: %name-1.0.9-alt-types.patch

BuildRequires(pre): rpm-build-licenses

%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: icecast source streaming library development package
Group: Development/C
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.

%package devel-static
Summary: icecast static library
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
This package contains static version of libshout library. Install
libshout-devel-static if you want to develop applications statically linked
with libshout.

%prep
%setup -q
%patch0
%patch1

%build
%autoreconf
%def_enable Werror
%configure
%make_build

%install
%make_install DESTDIR=%buildroot install

%if_without static
rm -f -- %buildroot%_libdir/*.a
%endif

rm -rf -- %buildroot%_prefix/doc

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files
%_libdir/*.so.*
%doc AUTHORS CHANGES README

%files devel
%_includedir/*
%_libdir/*.so
%doc doc/{*.html,*.css} example

%if_with static
%files devel-static
%_libdir/*.a
%endif

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin