diff --git a/lash-linking.patch b/lash-linking.patch new file mode 100644 index 0000000..025dd86 --- /dev/null +++ b/lash-linking.patch @@ -0,0 +1,68 @@ +diff -rupN lash-0.5.4.old/clients/control/Makefile.am lash-0.5.4/clients/control/Makefile.am +--- lash-0.5.4.old/clients/control/Makefile.am 2007-01-13 13:20:03.000000000 -0500 ++++ lash-0.5.4/clients/control/Makefile.am 2010-02-10 03:08:04.000000000 -0500 +@@ -18,6 +18,6 @@ lash_control_CFLAGS = $(LASH_CFLAGS) + + lash_control_LDADD = \ + $(top_builddir)/liblash/liblash.la \ +- $(LASH_LIBS) @READLINE_LIBS@ ++ $(LASH_LIBS) @READLINE_LIBS@ -luuid + + endif +diff -rupN lash-0.5.4.old/clients/control/Makefile.in lash-0.5.4/clients/control/Makefile.in +--- lash-0.5.4.old/clients/control/Makefile.in 2007-11-14 17:00:09.000000000 -0500 ++++ lash-0.5.4/clients/control/Makefile.in 2010-02-10 03:09:26.000000000 -0500 +@@ -236,7 +236,7 @@ AM_CPPFLAGS = -I$(top_srcdir) + @HAVE_READLINE_TRUE@lash_control_CFLAGS = $(LASH_CFLAGS) + @HAVE_READLINE_TRUE@lash_control_LDADD = \ + @HAVE_READLINE_TRUE@ $(top_builddir)/liblash/liblash.la \ +-@HAVE_READLINE_TRUE@ $(LASH_LIBS) @READLINE_LIBS@ ++@HAVE_READLINE_TRUE@ $(LASH_LIBS) @READLINE_LIBS@ -luuid + + all: all-am + +diff -rupN lash-0.5.4.old/clients/panel/Makefile.am lash-0.5.4/clients/panel/Makefile.am +--- lash-0.5.4.old/clients/panel/Makefile.am 2005-09-13 01:22:59.000000000 -0400 ++++ lash-0.5.4/clients/panel/Makefile.am 2010-02-10 03:17:10.000000000 -0500 +@@ -13,7 +13,7 @@ lash_panel_CFLAGS = \ + + lash_panel_LDADD = \ + $(top_builddir)/liblash/liblash.la \ +- $(GTK2_LIBS) ++ $(GTK2_LIBS) -luuid + + if HAVE_GTK2 + bin_PROGRAMS = lash_panel +diff -rupN lash-0.5.4.old/clients/panel/Makefile.in lash-0.5.4/clients/panel/Makefile.in +--- lash-0.5.4.old/clients/panel/Makefile.in 2007-11-14 17:00:09.000000000 -0500 ++++ lash-0.5.4/clients/panel/Makefile.in 2010-02-10 03:17:23.000000000 -0500 +@@ -230,7 +230,7 @@ lash_panel_CFLAGS = \ + + lash_panel_LDADD = \ + $(top_builddir)/liblash/liblash.la \ +- $(GTK2_LIBS) ++ $(GTK2_LIBS) -luuid + + all: all-am + +diff -rupN lash-0.5.4.old/clients/synth/Makefile.am lash-0.5.4/clients/synth/Makefile.am +--- lash-0.5.4.old/clients/synth/Makefile.am 2005-09-13 01:22:59.000000000 -0400 ++++ lash-0.5.4/clients/synth/Makefile.am 2010-02-10 03:22:39.000000000 -0500 +@@ -20,4 +20,4 @@ lash_synth_LDADD = \ + $(JACK_LIBS) \ + $(ALSA_LIBS) \ + $(GTK2_LIBS) \ +- -lpthread ++ -lpthread -lm +diff -rupN lash-0.5.4.old/clients/synth/Makefile.in lash-0.5.4/clients/synth/Makefile.in +--- lash-0.5.4.old/clients/synth/Makefile.in 2007-11-14 17:00:10.000000000 -0500 ++++ lash-0.5.4/clients/synth/Makefile.in 2010-02-10 03:22:51.000000000 -0500 +@@ -238,7 +238,7 @@ lash_synth_LDADD = \ + $(JACK_LIBS) \ + $(ALSA_LIBS) \ + $(GTK2_LIBS) \ +- -lpthread ++ -lpthread -lm + + all: all-am + diff --git a/lash.spec b/lash.spec index dc84935..29b8aec 100644 --- a/lash.spec +++ b/lash.spec @@ -3,13 +3,16 @@ Summary: LASH Audio Session Handler Name: lash Version: 0.5.4 -Release: 8%{?dist} +Release: 9%{?dist} License: GPLv2+ Group: System Environment/Libraries URL: http://www.nongnu.org/lash/ Source0: http://download.savannah.gnu.org/releases/lash/lash-%{version}.tar.gz Source1: %{name}-panel.desktop Patch0: lash-0.5.3-no-static-lib.patch +# Fix DSO-linking failure +# Upstream bugtracker is closed for some reason. Sent via email: +Patch1: lash-linking.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: alsa-lib-devel @@ -63,6 +66,7 @@ LASH. %prep %setup -q %patch0 -p0 +%patch1 -p1 -b .linking %build export am_cv_python_pythondir=%{python_sitearch} @@ -160,6 +164,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{python_sitearch}/lash.py* %changelog +* Wed Feb 10 2010 Orcan Ogetbil - 0.5.4-9 +- Fix DSO-linking failure + * Wed Aug 05 2009 Orcan Ogetbil - 0.5.4-8 - Update .desktop file