ALT Linux repos
Group :: System/Servers
RPM: esound
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
# This spec is backported to ALTLinux 4.1 automatically by rpmbph script. Do not edit it.
#
%define ver_major 0.2
%def_enable alsa
%def_enable oss
%def_disable arts
%def_disable static
Name: esound
Version: %ver_major.39
Release: alt0.M41.1
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
Patch0: %name-0.2.19-alt-noerrors.patch
Patch1: %name-0.2.37-alt-config.patch
Patch2: %name-0.2.36-fix-link-as-needed.patch
Patch3: %name-0.2.37-alt-esd_spawn_options.patch
Patch4: esound-0.2.37-alt-esd_no_spawn.patch
# Ubuntu patches.
Patch5: esound_0.2.38-0ubuntu9-esddsp.c.diff
Patch6: esound_0.2.38-0ubuntu9-esdlib.c.diff
Patch7: %name-0.2.39-alt-shut_up.patch
%define audiofile_ver 0.1.5
Requires: libaudiofile >= %audiofile_ver
BuildPreReq: libaudiofile-devel >= %audiofile_ver
BuildRequires: docbook-utils-print libwrap-devel
%if_enabled alsa
%define alsa_ver 1.0.0
Requires: libalsa >= %alsa_ver
BuildPreReq: libalsa-devel >= %alsa_ver
%endif
%if_enabled arts
BuildPreReq: libarts-devel
%endif
%if_enabled static
BuildPreReq: glibc-static-devel
%endif
BuildRequires: rpm-build-compat >= 0.95
%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 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
%if_enabled arts
Requires: libarts-devel
%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
#patch0 -p1
%patch1 -p1
#patch2 -p0
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7
%build
%autoreconf
%configure \
--with-libwrap \
--enable-local-sound \
%{subst_enable alsa} \
%{subst_enable oss} \
%{subst_enable arts} \
%{subst_enable static} \
--htmldir=`pwd`/doc/html
%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
%doc AUTHORS NEWS README TIPS MAINTAINERS
%config(noreplace) %_sysconfdir/esd.conf
%_bindir/esd
%_bindir/esddsp
%_bindir/esdplay
%_libdir/*.so.*
%_man1dir/esd.*
%_man1dir/esddsp.*
%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 doc/html
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
# These are packaged as %%doc files
#%%exclude %_datadir/doc/esound/html
%changelog
…
Full changelog you can see here
#
%define ver_major 0.2
%def_enable alsa
%def_enable oss
%def_disable arts
%def_disable static
Name: esound
Version: %ver_major.39
Release: alt0.M41.1
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
Patch0: %name-0.2.19-alt-noerrors.patch
Patch1: %name-0.2.37-alt-config.patch
Patch2: %name-0.2.36-fix-link-as-needed.patch
Patch3: %name-0.2.37-alt-esd_spawn_options.patch
Patch4: esound-0.2.37-alt-esd_no_spawn.patch
# Ubuntu patches.
Patch5: esound_0.2.38-0ubuntu9-esddsp.c.diff
Patch6: esound_0.2.38-0ubuntu9-esdlib.c.diff
Patch7: %name-0.2.39-alt-shut_up.patch
%define audiofile_ver 0.1.5
Requires: libaudiofile >= %audiofile_ver
BuildPreReq: libaudiofile-devel >= %audiofile_ver
BuildRequires: docbook-utils-print libwrap-devel
%if_enabled alsa
%define alsa_ver 1.0.0
Requires: libalsa >= %alsa_ver
BuildPreReq: libalsa-devel >= %alsa_ver
%endif
%if_enabled arts
BuildPreReq: libarts-devel
%endif
%if_enabled static
BuildPreReq: glibc-static-devel
%endif
BuildRequires: rpm-build-compat >= 0.95
%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 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
%if_enabled arts
Requires: libarts-devel
%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
#patch0 -p1
%patch1 -p1
#patch2 -p0
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7
%build
%autoreconf
%configure \
--with-libwrap \
--enable-local-sound \
%{subst_enable alsa} \
%{subst_enable oss} \
%{subst_enable arts} \
%{subst_enable static} \
--htmldir=`pwd`/doc/html
%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
%doc AUTHORS NEWS README TIPS MAINTAINERS
%config(noreplace) %_sysconfdir/esd.conf
%_bindir/esd
%_bindir/esddsp
%_bindir/esdplay
%_libdir/*.so.*
%_man1dir/esd.*
%_man1dir/esddsp.*
%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 doc/html
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
# These are packaged as %%doc files
#%%exclude %_datadir/doc/esound/html
%changelog
…
Full changelog you can see here