Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37399829
en ru br
ALT Linux repos
S:2.4.6-alt2
5.0: 2.2.2-alt1
4.1: 2.2.2-alt1
4.0: 2.2.2-alt1
3.0: 2.1-alt1.1

Group :: System/Libraries
RPM: libshout2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: libshout2
Version: 2.4.6
Release: alt2

Summary: libshout - icecast source streaming library
Group: System/Libraries
License: LGPLv2+
Url: http://www.icecast.org/
# http://downloads.us.xiph.org/releases/libshout/libshout-%version.tar.gz
Source: libshout-%version.tar
Patch: %name-%version-alt-shout2.patch

%def_disable static

%if_enabled static
BuildRequires: glibc-devel-static
%endif
BuildRequires: libogg-devel libvorbis-devel libtheora-devel libspeex-devel libssl-devel

%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: icecast2 source streaming library development package
Group: Development/C
Requires: %name = %EVR

%description devel
This package contains development library and header files needed for
developing applications that send data to an icecast2 server.

%package devel-static
Summary: icecast2 static library
Group: Development/C
Requires: %name-devel = %EVR

%description devel-static
This package contains static version of libshout2 library.

%prep
%setup -n libshout-%version
%patch -p1

%build
%autoreconf
%configure \
--includedir=%_includedir/shout2 \
--oldincludedir=%_includedir/shout2 \
%{subst_enable static}

%make_build docdir=%_docdir/libshout-%version

%install
%makeinstall_std docdir=%_docdir/libshout-%version

%files
%_libdir/*.so.*
%_docdir/libshout-%version

%files devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*.pc
%_datadir/aclocal/*

%if_enabled 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