[emerillon/f16: 2/2] add fixes for f16 and earlier

Peter Robinson pbrobinson at fedoraproject.org
Wed Sep 7 16:40:22 UTC 2011


commit 4413a0a7dde98927c893eb1139e77a47c6ddfa88
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Wed Sep 7 17:40:02 2011 +0100

    add fixes for f16 and earlier

 emerillon.spec |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/emerillon.spec b/emerillon.spec
index 440b269..2d4aee7 100644
--- a/emerillon.spec
+++ b/emerillon.spec
@@ -20,6 +20,10 @@ BuildRequires: gtk-doc
 BuildRequires: vala-devel
 BuildRequires: vala-tools
 
+# Require until stable tar ball release
+BuildRequires: libtool
+BuildRequires: gnome-common
+
 %description
 Emerillon is a map viewer for GNOME that has an extensible plugin architecture
 and Telepathy integration to enable app and location sharing and display of 
@@ -46,6 +50,16 @@ Files for vala development with %{name}.
 %prep
 %setup -q
 
+sed -i 's#champlain-0.12#champlain-0.10#' configure.ac
+sed -i 's#champlain-gtk-0.12#champlain-gtk-0.10#' configure.ac
+sed -i 's#CHAMPLAIN_REQUIRED=0.11.0#CHAMPLAIN_REQUIRED=0.10.0#' configure.ac
+sed -i 's#CHAMPLAIN_GTK_REQUIRED=0.11.0#CHAMPLAIN_GTK_REQUIRED=0.10.0#' configure.ac
+sed -i 's#champlain-0.12#champlain-0.10#' data/emerillon.pc.in
+sed -i 's#Champlain-0.12#Champlain-0.10#' emerillon/Makefile.am
+
+# Require until stable tar ball release
+NOCONFIGURE=yes ./autogen.sh
+
 %build
 %configure --enable-gtk-doc
 make %{?_smp_mflags} V=1


More information about the scm-commits mailing list