diff --git a/telepathy-glib.changes b/telepathy-glib.changes index 4a5e459..19754f6 100644 --- a/telepathy-glib.changes +++ b/telepathy-glib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Apr 24 10:08:24 UTC 2010 - coolo@novell.com + +- add work around for missing provides + ------------------------------------------------------------------- Wed Apr 7 13:35:44 CEST 2010 - vuntz@opensuse.org diff --git a/telepathy-glib.spec b/telepathy-glib.spec index 8da831d..9e084f5 100644 --- a/telepathy-glib.spec +++ b/telepathy-glib.spec @@ -19,13 +19,15 @@ Name: telepathy-glib Version: 0.10.3 -Release: 1 +Release: 2 License: LGPLv2.1 %define debug_package_requires libtelepathy-glib0 = %{version}-%{release} Summary: Libraries for adding telepathy support to applications that use glib Url: http://telepathy.freedesktop.org/ Group: Development/Languages/C and C++ Source: telepathy-glib-%{version}.tar.bz2 +# PATCH-FIX-OPENSUSE work_around_pkg_config.patch - pkgconfig(pkg-config) is not provided +Patch0: work_around_pkg_config.patch BuildRequires: dbus-1-glib-devel BuildRequires: gtk-doc BuildRequires: libxslt-devel @@ -71,6 +73,7 @@ telepathy functionality from applications that use glib. %prep %setup -q +%patch0 -p1 %build %configure --disable-static diff --git a/work_around_pkg_config.patch b/work_around_pkg_config.patch new file mode 100644 index 0000000..7a13bf0 --- /dev/null +++ b/work_around_pkg_config.patch @@ -0,0 +1,24 @@ +Index: telepathy-glib-0.10.3/telepathy-glib/telepathy-glib.pc.in +=================================================================== +--- telepathy-glib-0.10.3.orig/telepathy-glib/telepathy-glib.pc.in 2010-04-06 20:03:14.000000000 +0200 ++++ telepathy-glib-0.10.3/telepathy-glib/telepathy-glib.pc.in 2010-04-24 12:06:13.056750562 +0200 +@@ -6,7 +6,6 @@ includedir=@includedir@ + Name: Telepathy-GLib + Description: GLib utility library for the Telepathy framework + Version: @VERSION@ +-Requires: pkg-config >= 0.21 + Requires.private: dbus-glib-1 >= 0.73, glib-2.0 >= 2.20, gobject-2.0 >= 2.20, gio-2.0 >= 2.20 + Libs: -L${libdir} -ltelepathy-glib + Cflags: -I${includedir}/telepathy-1.0 +Index: telepathy-glib-0.10.3/telepathy-glib/telepathy-glib-uninstalled.pc.in +=================================================================== +--- telepathy-glib-0.10.3.orig/telepathy-glib/telepathy-glib-uninstalled.pc.in 2010-04-06 20:03:14.000000000 +0200 ++++ telepathy-glib-0.10.3/telepathy-glib/telepathy-glib-uninstalled.pc.in 2010-04-24 12:06:23.216750652 +0200 +@@ -6,7 +6,6 @@ abs_top_builddir=@abs_top_builddir@ + Name: Telepathy-GLib (uninstalled copy) + Description: GLib utility library for the Telepathy framework + Version: @VERSION@ +-Requires: pkg-config >= 0.21 + Requires.private: dbus-glib-1 >= 0.73, glib-2.0 >= 2.20, gobject-2.0 >= 2.20, gio-2.0 >= 2.20 + Libs: ${abs_top_builddir}/telepathy-glib/libtelepathy-glib.la + Cflags: -I${abs_top_srcdir} -I${abs_top_builddir}