- Add patch to fix DSO linking. Fixes bug 564855

This commit is contained in:
Peter Robinson 2010-03-01 11:57:55 +00:00
parent f3b4a492ea
commit 1c0257a5be
2 changed files with 36 additions and 9 deletions

22
gupnp-fixdso.patch Normal file
View File

@ -0,0 +1,22 @@
--- 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@
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@
LD = @LD@
-LDFLAGS = @LDFLAGS@
+LDFLAGS = @LDFLAGS@ -lgssdp-1.0 -lgobject-2.0
LIBCONIC_CFLAGS = @LIBCONIC_CFLAGS@
LIBCONIC_LIBS = @LIBCONIC_LIBS@
LIBGUPNP_CFLAGS = @LIBGUPNP_CFLAGS@

View File

@ -1,13 +1,14 @@
Name: gupnp
Version: 0.13.2
Release: 1%{?dist}
Summary: A framework for creating UPnP devices & control points
Name: gupnp
Version: 0.13.2
Release: 2%{?dist}
Summary: A framework for creating UPnP devices & control points
Group: System Environment/Libraries
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)
Group: System Environment/Libraries
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
@ -85,6 +87,9 @@ rm -rf %{buildroot}
%doc %{_datadir}/gtk-doc/html/%{name}
%changelog
* Mon Mar 1 2010 Peter Robinson <pbrobinson@gmail.com> 0.13.2-2
- Add patch to fix DSO linking. Fixes bug 564855
* Fri Dec 4 2009 Peter Robinson <pbrobinson@gmail.com> 0.13.2-1
- Update to 0.13.2