From 45034a3562561a2fe1a957fe6d1065efbaff206c Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Dec 28 2013 02:37:51 +0000 Subject: patch to build against newer tracker, rebuild for tracker bump --- diff --git a/grilo-plugins-0.2.9-tracker_version.patch b/grilo-plugins-0.2.9-tracker_version.patch new file mode 100644 index 0000000..4e8a9c2 --- /dev/null +++ b/grilo-plugins-0.2.9-tracker_version.patch @@ -0,0 +1,11 @@ +--- grilo-plugins-0.2.9/configure.ac 2013-08-25 14:20:34.000000000 -0700 ++++ grilo-plugins-0.2.9/configure.ac.new 2013-12-27 18:01:21.297513044 -0800 +@@ -144,7 +144,7 @@ + HAVE_GMIME=no)]) + # Search available Tracker version + trackerpkg="tracker-sparql-0.10" +-m4_foreach([VERSION], [[0.10], [0.11], [0.12], [0.14], [0.15], [0.16]], ++m4_foreach([VERSION], [[0.10], [0.11], [0.12], [0.14], [0.15], [0.16], [0.17], [0.18]], + [PKG_CHECK_EXISTS([tracker-sparql-VERSION >= 0.10.5], + [ trackerpkg="tracker-sparql-VERSION" ]) + ]) diff --git a/grilo-plugins.spec b/grilo-plugins.spec index 79a3542..46660e9 100644 --- a/grilo-plugins.spec +++ b/grilo-plugins.spec @@ -3,13 +3,16 @@ Name: grilo-plugins Version: 0.2.9 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Plugins for the Grilo framework Group: Applications/Multimedia License: LGPLv2+ Url: https://live.gnome.org/Grilo Source0: http://ftp.gnome.org/pub/GNOME/sources/grilo-plugins/%{release_version}/grilo-plugins-%{version}.tar.xz +# Trivial patch to support newer tracker, equivalent commits in +# git.gnome are dd5b447bf20 and 5145299309 +Patch0: grilo-plugins-0.2.9-tracker_version.patch BuildRequires: grilo-devel >= 0.2.6 BuildRequires: glib2-devel >= 2.26.0 @@ -26,6 +29,8 @@ BuildRequires: tracker-devel >= 0.9.0 BuildRequires: gmime-devel BuildRequires: libdmapsharing-devel BuildRequires: json-glib-devel +# Needed when running autoreconf for patch0, drop if not autoreconfing +BuildRequires: gnome-common Requires: grilo >= 0.2.6 Requires: gupnp >= 0.13.0 @@ -54,9 +59,12 @@ This package contains plugins to get information from theses sources: %prep %setup -q - +%patch0 -p1 %build +# needed for patch0 +autoreconf -i + %configure \ --disable-static \ --disable-fakemetadata \ @@ -100,6 +108,9 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/* %{_libdir}/grilo-%{release_version}/*.xml %changelog +* Thu Dec 19 2013 Adam Williamson - 0.2.9-3 +- patch to build against newer tracker, rebuild for tracker bump + * Thu Sep 19 2013 Kalev Lember - 0.2.9-2 - Rebuilt for totem-pl-parser soname bump