[packages/gupnp-igd] - added gupnp patch (use gssdp-1.2 and gupnp-1.2); release 2
qboosh
qboosh at pld-linux.org
Wed Apr 17 11:09:01 CEST 2019
commit 2bea1de4565c22853dcc0cadca4b03bd82ab07b9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Apr 17 11:09:11 2019 +0200
- added gupnp patch (use gssdp-1.2 and gupnp-1.2); release 2
gupnp-igd-gupnp.patch | 44 ++++++++++++++++++++++++++++++++++++++++++++
gupnp-igd.spec | 5 ++++-
2 files changed, 48 insertions(+), 1 deletion(-)
---
diff --git a/gupnp-igd.spec b/gupnp-igd.spec
index 5a41120..cfb0c65 100644
--- a/gupnp-igd.spec
+++ b/gupnp-igd.spec
@@ -6,11 +6,12 @@ Summary: Library to handle UPnP IGD port mapping
Summary(pl.UTF-8): Biblioteka do obsługi odwzorowywania portów IGD dla UPnP
Name: gupnp-igd
Version: 0.2.5
-Release: 1
+Release: 2
License: LGPL v2.1+
Group: Libraries
Source0: http://ftp.gnome.org/pub/GNOME/sources/gupnp-igd/0.2/%{name}-%{version}.tar.xz
# Source0-md5: d164e096d0f140bb1f5d9503727b424a
+Patch0: %{name}-gupnp.patch
URL: http://gupnp.org/
BuildRequires: autoconf >= 2.53
BuildRequires: automake
@@ -94,6 +95,7 @@ Wiązania Pythona do gupnp-igd.
%prep
%setup -q
+%patch0 -p1
%build
%{__gtkdocize}
@@ -113,6 +115,7 @@ Wiązania Pythona do gupnp-igd.
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
diff --git a/gupnp-igd-gupnp.patch b/gupnp-igd-gupnp.patch
new file mode 100644
index 0000000..93454d9
--- /dev/null
+++ b/gupnp-igd-gupnp.patch
@@ -0,0 +1,44 @@
+--- gupnp-igd-0.2.5/configure.ac.orig 2017-11-20 17:19:31.000000000 +0100
++++ gupnp-igd-0.2.5/configure.ac 2019-04-17 10:47:43.904365637 +0200
+@@ -11,7 +11,7 @@
+ AC_PROG_LIBTOOL
+ AC_FUNC_MMAP
+
+-PKG_CHECK_MODULES(LIBGUPNP, glib-2.0 >= 2.26 gobject-2.0 >= 2.26 gssdp-1.0 gupnp-1.0 >= 0.18 gthread-2.0)
++PKG_CHECK_MODULES(LIBGUPNP, glib-2.0 >= 2.26 gobject-2.0 >= 2.26 gssdp-1.2 gupnp-1.2 >= 0.18 gthread-2.0)
+
+ # glib-genmarshal
+ GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
+--- gupnp-igd-0.2.5/gupnp-igd-1.0.pc.in.orig 2009-05-05 00:40:53.000000000 +0200
++++ gupnp-igd-0.2.5/gupnp-igd-1.0.pc.in 2019-04-17 10:49:24.620486677 +0200
+@@ -5,7 +5,7 @@
+
+ Name: gupnp-igd-1.0
+ Description: GUPnP Simple IGD library
+-Requires: gupnp-1.0
++Requires: gupnp-1.2
+ Version: @VERSION@
+ Libs: -L${libdir} -lgupnp-igd-1.0
+ Cflags: -I${includedir}/gupnp-igd-1.0
+--- gupnp-igd-0.2.5/gupnp-igd-1.0-uninstalled.pc.in.orig 2009-01-06 18:21:17.000000000 +0100
++++ gupnp-igd-0.2.5/gupnp-igd-1.0-uninstalled.pc.in 2019-04-17 10:49:35.037096912 +0200
+@@ -5,7 +5,7 @@
+
+ Name: gupnp-igd-1.0
+ Description: GUPnP Simple IGD library
+-Requires: gupnp-1.0
++Requires: gupnp-1.2
+ Version: @VERSION@
+ Libs: ${libdir}/libgupnp-av-1.0.la
+ Cflags: -I${includedir}
+--- gupnp-igd-0.2.5/libgupnp-igd/Makefile.am.orig 2014-10-01 05:45:21.000000000 +0200
++++ gupnp-igd-0.2.5/libgupnp-igd/Makefile.am 2019-04-17 10:57:36.401155806 +0200
+@@ -60,7 +60,7 @@
+ GUPnPIgd_1_0_gir_LIBS = $(lib_LTLIBRARIES)
+ GUPnPIgd_1_0_gir_FILES = $(libgupnp_igd_1_0_la_SOURCES) $(libgupnp_igd_inc_HEADERS)
+ GUPnPIgd_1_0_gir_INCLUDES=GObject-2.0
+-GUPnPIgd_1_0_gir_PACKAGES=gupnp-1.0
++GUPnPIgd_1_0_gir_PACKAGES=gupnp-1.2
+ GUPnPIgd_1_0_gir_CFLAGS=-I$(srcdir) -I$(top_srcdir)
+
+ if HAVE_INTROSPECTION
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gupnp-igd.git/commitdiff/2bea1de4565c22853dcc0cadca4b03bd82ab07b9
More information about the pld-cvs-commit
mailing list