[packages/rygel] - added pc patch: adjust .pc requires to cover all include paths required by headers; release 2

qboosh qboosh at pld-linux.org
Tue May 12 18:50:01 CEST 2020


commit 8413ef2785a40dc87dfc93e966d1a2bd74ce410b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue May 12 18:50:30 2020 +0200

    - added pc patch: adjust .pc requires to cover all include paths required by headers; release 2

 rygel-pc.patch | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 rygel.spec     |  8 +++++---
 2 files changed, 53 insertions(+), 3 deletions(-)
---
diff --git a/rygel.spec b/rygel.spec
index 175b05b..94c969f 100644
--- a/rygel.spec
+++ b/rygel.spec
@@ -2,12 +2,13 @@ Summary:	Rygel - collection of DLNA (UPnP AV) services
 Summary(pl.UTF-8):	Rygel - zbiór usług DLNA (UPnP AV)
 Name:		rygel
 Version:	0.38.3
-Release:	1
+Release:	2
 License:	LGPL v2+
 Group:		X11/Applications
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/rygel/0.38/%{name}-%{version}.tar.xz
 # Source0-md5:	7f95401903a3f855b464d5152b9d4c07
 Patch0:		gtk-doc.patch
+Patch1:		%{name}-pc.patch
 URL:		https://wiki.gnome.org/Projects/Rygel
 BuildRequires:	autoconf >= 2.64
 BuildRequires:	automake >= 1:1.11.1
@@ -108,7 +109,7 @@ Pliki nagłówkowe bibliotek Rygel.
 Summary:	API documentation for Rygel libraries
 Summary(pl.UTF-8):	Dokumentacja API bibliotek Rygel
 Group:		Documentation
-%if "%{_rpmversion}" >= "5"
+%if "%{_rpmversion}" >= "4.6"
 BuildArch:	noarch
 %endif
 
@@ -127,7 +128,7 @@ Requires:	vala >= 2:0.36.0
 Requires:	vala-gupnp >= 1.2.0
 Requires:	vala-gupnp-av >= 0.12.8
 Requires:	vala-libgee >= 0.8.0
-%if "%{_rpmversion}" >= "5"
+%if "%{_rpmversion}" >= "4.6"
 BuildArch:	noarch
 %endif
 
@@ -140,6 +141,7 @@ API języka Vala do bibliotek Rygel.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__gettextize}
diff --git a/rygel-pc.patch b/rygel-pc.patch
new file mode 100644
index 0000000..52cab40
--- /dev/null
+++ b/rygel-pc.patch
@@ -0,0 +1,48 @@
+--- rygel-0.38.3/rygel-core-2.6.pc.in.orig	2018-11-07 22:18:39.000000000 +0100
++++ rygel-0.38.3/rygel-core-2.6.pc.in	2020-05-12 18:32:01.502452242 +0200
+@@ -11,5 +11,5 @@
+ Version: @VERSION@
+ Libs: -L${libdir} -lrygel-core-2.6
+ Cflags: -I${includedir}/rygel-2.6
+-Requires: gupnp-av-1.0 gee-0.8
+-Requires.Private: gmodule-2.0
++Requires: gupnp-av-1.0 gupnp-1.2 libxml-2.0 gee-0.8 glib-2.0
++Requires.Private: gmodule-2.0 gio-2.0
+--- rygel-0.38.3/rygel-renderer-2.6.pc.in.orig	2018-11-07 22:18:39.000000000 +0100
++++ rygel-0.38.3/rygel-renderer-2.6.pc.in	2020-05-12 18:35:49.927881421 +0200
+@@ -8,5 +8,5 @@
+ Version: @VERSION@
+ Libs: -L${libdir} -lrygel-renderer-2.6
+ Cflags: -I${includedir}/rygel-2.6
+-Requires: gupnp-av-1.0 gee-0.8 rygel-core-2.6
++Requires: gupnp-av-1.0 gee-0.8 rygel-core-2.6 glib-2.0
+ Requires.Private: gmodule-2.0
+--- rygel-0.38.3/rygel-renderer-gst-2.6.pc.in.orig	2018-11-07 22:18:39.000000000 +0100
++++ rygel-0.38.3/rygel-renderer-gst-2.6.pc.in	2020-05-12 18:37:07.664126955 +0200
+@@ -8,5 +8,5 @@
+ Version: @VERSION@
+ Libs: -L${libdir} -lrygel-renderer-gst-2.6
+ Cflags: -I${includedir}/rygel-2.6
+-Requires: gupnp-av-1.0 gee-0.8 gstreamer-1.0 rygel-core-2.6
++Requires: gupnp-av-1.0 gstreamer-1.0 rygel-core-2.6 glib-2.0
+ Requires.Private: gmodule-2.0
+--- rygel-0.38.3/rygel-ruih-2.0.pc.in.orig	2018-11-07 22:18:39.000000000 +0100
++++ rygel-0.38.3/rygel-ruih-2.0.pc.in	2020-05-12 18:38:09.673791019 +0200
+@@ -8,5 +8,5 @@
+ Version: @VERSION@
+ Libs: -L${libdir} -lrygel-ruih-2.0
+ Cflags: -I${includedir}/rygel-2.2
+-Requires: gupnp-av-1.0 gee-0.8 rygel-core-2.6
+-Requires.Private: gmodule-2.0
++Requires: gupnp-av-1.0 gee-0.8 rygel-core-2.6 libxml-2.0 glib-2.0
++Requires.Private: gmodule-2.0 gio-2.0
+--- rygel-0.38.3/rygel-server-2.6.pc.in.orig	2018-11-07 22:18:39.000000000 +0100
++++ rygel-0.38.3/rygel-server-2.6.pc.in	2020-05-12 18:39:38.033312335 +0200
+@@ -11,5 +11,5 @@
+ Version: @VERSION@
+ Libs: -L${libdir} -lrygel-server-2.6
+ Cflags: -I${includedir}/rygel-2.6
+-Requires: gupnp-av-1.0 gee-0.8 rygel-core-2.6
+-Requires.Private: gmodule-2.0
++Requires: gupnp-av-1.0 gupnp-1.2 gee-0.8 rygel-core-2.6 libsoup-2.4 gobject-2.0 glib-2.0
++Requires.Private: gmodule-2.0 gio-2.0
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rygel.git/commitdiff/8413ef2785a40dc87dfc93e966d1a2bd74ce410b



More information about the pld-cvs-commit mailing list