from the quill of "Brian J. Murrell" <[EMAIL PROTECTED]> on
scroll <[EMAIL PROTECTED]>
>
> I have included a specfile for esound-alsa.
Ooops. Forgot the specfile. ~grin~
%define version 0.2.20
%define release 2mdk
Summary: The Enlightened Sound Daemon
Name: esound-alsa
Version: %{version}
Release: %{release}
Copyright: GPL
Group: System/Servers
Source0: esound-%{version}.tar.bz2
URL: ftp://ftp.gnome.org/pub/GNOME/stable/sources/esound/
BuildRoot: %{_tmppath}/esound-%{version}-buildroot
Patch: esound-esdstart.patch.bz2
Patch1: esound-0.2.19-noerrors.patch.bz2
Patch2: esound-esddsp.patch.bz2
BuildRequires: libtool audiofile-devel
Provides: esound
Obsoletes: esound
%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.
%package devel
Summary: Libraries, includes and more to develop EsounD applications
Group: Development/C
Requires: %{name} = %{version}
Requires: audiofile-devel
Provides: esound-devel
Obsoletes: esound-devel
%description devel
Libraries, include files and other resources you can use to develop EsounD
applications.
%prep
%setup -q -n esound-%{version}
# (Fred)
%patch -p1 -b .esdstart
%patch1 -p1
%patch2 -p1 -b .esddsp
%build
%configure --with-libwrap
%make
%install
%makeinstall
#System default
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}
echo "[esd]" > $RPM_BUILD_ROOT/%{_sysconfdir}/esd.conf
echo "auto_spawn=1" >> $RPM_BUILD_ROOT/%{_sysconfdir}/esd.conf
echo "spawn_options=-tcp -terminate -nobeeps -as 2" >>
$RPM_BUILD_ROOT/%{_sysconfdir}/esd.conf
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TIPS TODO
%config(noreplace) %{_sysconfdir}/esd.conf
%{_bindir}/esd
%{_bindir}/esdcat
%{_bindir}/esdctl
%{_bindir}/esddsp
%{_bindir}/esdfilt
%{_bindir}/esdloop
%{_bindir}/esdmon
%{_bindir}/esdplay
%{_bindir}/esdrec
%{_bindir}/esdsample
%{_libdir}/lib*.so.*
%files devel
%defattr(-, root, root)
%{_bindir}/esd-config
%{_libdir}/*a
%{_includedir}/*
%{_datadir}/aclocal/*
%{_libdir}/lib*.so
%changelog
* Sun Oct 15 2000 Brian J. Murrell <[EMAIL PROTECTED]>
- simply copy esound.spec and remove the --disable-alsa from configure
- this really should be merged into the esound.spec file
--
Brian J. Murrell