diff --git a/esound-0.2.41-libm.patch b/esound-0.2.41-libm.patch new file mode 100644 index 0000000..cd30322 --- /dev/null +++ b/esound-0.2.41-libm.patch @@ -0,0 +1,12 @@ +diff -up esound-0.2.41/Makefile.am.jx esound-0.2.41/Makefile.am +--- esound-0.2.41/Makefile.am.jx 2008-11-18 12:33:39.000000000 -0500 ++++ esound-0.2.41/Makefile.am 2012-11-07 13:00:47.095346842 -0500 +@@ -125,7 +125,7 @@ esdplay_SOURCES = \ + + LDADD = libesd.la $(AUDIOFILE_LIBS) + +-esd_LDADD = $(WRAP_LIB) $(LDADD) ++esd_LDADD = $(WRAP_LIB) $(LDADD) -lm + + m4datadir = $(datadir)/aclocal + m4data_DATA = esd.m4 diff --git a/esound.spec b/esound.spec index 0b869e3..f98e269 100644 --- a/esound.spec +++ b/esound.spec @@ -2,7 +2,7 @@ Summary: Allows several audio streams to play on a single audio device Name: esound Version: 0.2.41 -Release: 6%{?dist} +Release: 7%{?dist} Epoch: 1 License: LGPLv2+ URL: ftp://ftp.gnome.org/pub/GNOME/sources/esound @@ -14,10 +14,12 @@ Patch6: esound-0.2.38-fix-open-macro.patch Patch7: remove-confusing-spew.patch # default to nospawn, so we can kill the esd.conf file Patch8: esound-nospawn.patch +Patch9: esound-0.2.41-libm.patch # temporarily disable doc build due to xml catalog issues #BuildRequires: docbook-utils BuildRequires: audiofile-devel BuildRequires: alsa-lib-devel +BuildRequires: autoconf automake libtool Obsoletes: esound <= 1:0.2.36-4 %description @@ -68,8 +70,10 @@ other resources needed to develop EsounD applications. %patch6 -p1 -b .open-macro %patch7 -p1 -b .spew %patch8 -p1 -b .nospawn +%patch9 -p1 -b .jx %build +autoreconf -v -i -f %configure --disable-static EGREP=egrep make @@ -128,6 +132,10 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/esd-config.1.gz %changelog +* Wed Nov 07 2012 Adam Jackson 0.2.41-7 +- Rebuild for new audiofile +- esound-0.2.41-libm.patch: Fix linking against libm + * Thu Jul 19 2012 Fedora Release Engineering - 1:0.2.41-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild