Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37715357
en ru br
ALT Linux repos
S:0.2.41-alt10
5.0: 0.2.41-alt3
4.1: 0.2.39-alt0.M41.1
4.0: 0.2.36-alt5
3.0: 0.2.34-alt1.2

Group :: System/Servers
RPM: esound

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define ver_major 0.2
%def_disable alsa
%def_enable static

Name: esound
Version: %ver_major.34
Release: alt1.2

Summary: The Enlightened Sound Daemon
License: GPL
Group: System/Servers
Url: ftp://ftp.gnome.org

Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Patch: %name-0.2.19-alt-noerrors.patch
Patch1: %name-0.2.28-alt-config.patch

%define alsa_ver 1.0.0

%if_enabled alsa
BuildPreReq: libalsa-devel >= %alsa_ver
%endif

# Automatically added by buildreq on Fri May 21 2004

BuildRequires: docbook-utils-print glibc-devel-static libaudiofile-devel libwrap-devel

%description
EsounD (the Enlightened Sound Daemon) is a server process that allows multiple
applications to share a single sound card. For example, when you're listening
to music from your CD and you receive a sound-related event from ICQ, your
applications won't have to jockey for the attention of your sound card.

EsounD mixes several audio streams for playback by a single audio device.

This package is for use with OSS sound drivers only (OSS emulation over
ALSA drivers is also good).

%package utils
Summary: Enlightened Sound Daemon - clients
Group: Sound
Requires: %name = %version-%release

%description utils
Utilities that control and interact with the Enlightened Sound Daemon.

%package devel
Summary: Libraries, includes and more to develop EsounD applications
Group: Development/C
Requires: %name = %version-%release
Requires: libaudiofile-devel
%if_enabled alsa
Requires:libalsa-devel >= %alsa_ver
%endif

%description devel
Libraries, include files and other resources you can use to develop EsounD
applications.

%package devel-static
Summary: Static libraries to develop EsounD applications
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
Static libraries you can use to develop statically linked EsounD
applications.

%prep
%setup -q
%patch -p1
%patch1 -p1

%build
%__autoconf
%configure --with-libwrap \
%{subst_enable alsa} \
%{subst_enable static}

%make_build

%install
# fix manpage for esd
%__subst 's,/etc/esound,/etc,g' docs/esd.1

%makeinstall

# fix permissions

%__chmod 0644 docs/html/stylesheet-images/*.gif

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

%files
%_bindir/esd
%_bindir/esddsp
%_bindir/esdplay
%_libdir/*.so.*
%_man1dir/esd.*
%_man1dir/esddsp.*
%config(noreplace) %_sysconfdir/esd.conf
%doc AUTHORS NEWS README* TIPS

%files utils
%_bindir/*
%exclude %_bindir/esd
%exclude %_bindir/esddsp
%exclude %_bindir/esd-config
%exclude %_bindir/esdplay
%_man1dir/*.1*
%exclude %_man1dir/esd.1*
%exclude %_man1dir/esddsp.1*
%exclude %_man1dir/esd-config.1*

%files devel
%_bindir/esd-config
%_libdir/*.so
%_libdir/pkgconfig/*
%_includedir/*
%_datadir/aclocal/*
%_man1dir/esd-config.1*
%doc ChangeLog TODO TIPS docs/html

%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