From 9dafc0b625e6d1b6f179c5eba561ed8c1576a941 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Jan 20 2007 22:55:18 +0000 Subject: - Split a -libs package off the core esound package in preparation for pulseaudio (#223503) - Correct the License tag --- diff --git a/esound.spec b/esound.spec index f1aef40..352ba98 100644 --- a/esound.spec +++ b/esound.spec @@ -1,18 +1,19 @@ # Note that this is NOT a relocatable package -Summary: Allows several audio streams to play on a single audio device. -Name: esound -Version: 0.2.36 -Release: 3 -Epoch: 1 -License: GPL +Summary: Allows several audio streams to play on a single audio device +Name: esound +Version: 0.2.36 +Release: 4%{?dist} +Epoch: 1 +License: LGPL URL: ftp://ftp.gnome.org/pub/GNOME/sources/esound Group: System Environment/Daemons -Source0: esound-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-root +Source0: esound-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Patch0: esound-0.2.19-noerrors.patch Patch2: esound-0.2.35-64bit_install.patch Patch3: esound-multilib.patch -BuildRequires: docbook-utils, audiofile-devel +BuildRequires: docbook-utils +BuildRequires: audiofile-devel BuildRequires: alsa-lib-devel %description @@ -25,12 +26,21 @@ queue for the use of your sound card. Install esound if you'd like to let sound applications share your audio device. You'll also need to install the audiofile package. +%package libs +Summary: Library to talk to the EsounD daemon +Group: Development/Libraries + +%description libs +The esound-libs package includes the libraries required +for applications to talk to the EsounD daemon. + %package devel -Summary: Development files for EsounD applications. +Summary: Development files for EsounD applications Group: Development/Libraries -Requires: esound = %{epoch}:%{version}-%{release} +Requires: esound-libs = %{epoch}:%{version}-%{release} Requires: audiofile-devel Requires: alsa-lib-devel +Requires: pkgconfig %description devel The esound-devel package includes the libraries, include files and @@ -44,7 +54,7 @@ other resources needed to develop EsounD applications. %patch3 -p1 -b .multilib %build -%configure +%configure --disable-static EGREP=egrep make @@ -54,9 +64,9 @@ rm -rf $RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%{_libdir}/*.la -%post -p /sbin/ldconfig +%post libs -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun libs -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT @@ -65,7 +75,6 @@ rm -rf $RPM_BUILD_ROOT %defattr(-, root, root,-) %doc AUTHORS COPYING.LIB ChangeLog docs/esound.sgml %doc NEWS README TIPS TODO -%config(noreplace) /etc/* %{_bindir}/esd %{_bindir}/esdcat %{_bindir}/esdctl @@ -76,19 +85,27 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/esdplay %{_bindir}/esdrec %{_bindir}/esdsample -%{_libdir}/*.so.* %{_datadir}/man/man*/* +%files libs +%defattr(-, root, root,-) +%config(noreplace) /etc/* +%{_libdir}/*.so.* + %files devel %defattr(-, root, root,-) %{_bindir}/esd-config %{_includedir}/* %{_datadir}/aclocal/* %{_libdir}/*.so -%{_libdir}/*.a %{_libdir}/pkgconfig/* %changelog +* Sat Jan 20 2007 Matthias Clasen - 1:0.2.36-4 +- Split a -libs package off the core esound package + in preparation for pulseaudio (#223503) +- Correct the License tag + * Thu Jul 27 2006 Matthias Clasen - 1:0.2.36-3 - fix multilib conflicts