Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37523346
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: alt3

Summary: libshout - icecast source streaming library
Group: System/Libraries
License: LGPL
Url: http://www.icecast.org
Packager: Yuri N. Sedunov <aris at altlinux.ru>

Source: ftp://ftp.icecast.org/pub/libshout/%name-%version.tar.gz

# Automatically added by buildreq on Sun Oct 13 2002

BuildRequires: glibc-devel-static

%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

%build
%configure
%make_build

%install
%make_install DESTDIR=%buildroot install

# remove non-packaged files

%__rm -f %buildroot%_libdir/*.la
%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