From c5557031e19fc8190cd7b111e40dd5e4b16bf3ee Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Jun 25 2010 15:53:55 +0000 Subject: - Add patch to fix build --- diff --git a/gupnp-fixdso.patch b/gupnp-fixdso.patch index 98538ef..8bea815 100644 --- a/gupnp-fixdso.patch +++ b/gupnp-fixdso.patch @@ -1,19 +1,19 @@ ---- gupnp-0.13.2/examples/Makefile.in.orig 2010-03-01 11:25:26.000000000 +0000 -+++ gupnp-0.13.2/examples/Makefile.in 2010-03-01 11:25:46.000000000 +0000 -@@ -132,7 +132,7 @@ - INSTALL_SCRIPT = @INSTALL_SCRIPT@ - INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +--- gupnp-0.13.4/examples/Makefile.in.orig 2010-06-09 18:38:56.000000000 +0100 ++++ gupnp-0.13.4/examples/Makefile.in 2010-06-25 16:49:42.722591880 +0100 +@@ -142,7 +142,7 @@ + INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ + INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ LD = @LD@ -LDFLAGS = @LDFLAGS@ +LDFLAGS = @LDFLAGS@ -lgssdp-1.0 -lgobject-2.0 LIBCONIC_CFLAGS = @LIBCONIC_CFLAGS@ LIBCONIC_LIBS = @LIBCONIC_LIBS@ LIBGUPNP_CFLAGS = @LIBGUPNP_CFLAGS@ ---- gupnp-0.13.2/tests/Makefile.in.orig 2010-03-01 11:42:14.000000000 +0000 -+++ gupnp-0.13.2/tests/Makefile.in 2010-03-01 11:42:55.000000000 +0000 -@@ -141,7 +141,7 @@ - INSTALL_SCRIPT = @INSTALL_SCRIPT@ - INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +--- gupnp-0.13.4/tests/Makefile.in.orig 2010-06-09 18:38:56.000000000 +0100 ++++ gupnp-0.13.4/tests/Makefile.in 2010-06-25 16:49:42.729594727 +0100 +@@ -151,7 +151,7 @@ + INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ + INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ LD = @LD@ -LDFLAGS = @LDFLAGS@ +LDFLAGS = @LDFLAGS@ -lgssdp-1.0 -lgobject-2.0 diff --git a/gupnp.spec b/gupnp.spec index 5f165da..49ec613 100644 --- a/gupnp.spec +++ b/gupnp.spec @@ -1,6 +1,6 @@ Name: gupnp Version: 0.13.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A framework for creating UPnP devices & control points Group: System Environment/Libraries @@ -8,6 +8,7 @@ License: LGPLv2+ URL: http://www.gupnp.org/ Source0: http://www.gupnp.org/sources/%{name}/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Patch0: gupnp-fixdso.patch BuildRequires: gssdp-devel BuildRequires: glib2-devel @@ -49,6 +50,7 @@ This package contains developer documentation for %{name}. %prep %setup -q +%patch0 -p1 -b .fixdso %build %configure --disable-static @@ -87,6 +89,9 @@ rm -rf %{buildroot} %doc %{_datadir}/gtk-doc/html/%{name} %changelog +* Mon Jun 21 2010 Peter Robinson 0.13.4-2 +- Add patch to fix build + * Mon Jun 21 2010 Peter Robinson 0.13.4-1 - Update to 0.13.4