diff --git a/champlain-grr.patch b/champlain-grr.patch new file mode 100644 index 0000000..31d63cf --- /dev/null +++ b/champlain-grr.patch @@ -0,0 +1,12 @@ +diff -up libchamplain-0.12.1/champlain/Makefile.am.grr libchamplain-0.12.1/champlain/Makefile.am +--- libchamplain-0.12.1/champlain/Makefile.am.grr 2012-02-28 08:49:02.657016816 -0500 ++++ libchamplain-0.12.1/champlain/Makefile.am 2012-02-28 08:49:13.824016983 -0500 +@@ -175,7 +175,7 @@ Champlain-@CHAMPLAIN_API_VERSION@.gir: l + Champlain_@CHAMPLAIN_API_VERSION_NORM@_gir_NAMESPACE = Champlain + Champlain_@CHAMPLAIN_API_VERSION_NORM@_gir_VERSION = @CHAMPLAIN_API_VERSION@ + Champlain_@CHAMPLAIN_API_VERSION_NORM@_gir_LIBS = libchamplain-@CHAMPLAIN_API_VERSION@.la +-Champlain_@CHAMPLAIN_API_VERSION_NORM@_gir_PACKAGES = gobject-2.0 ++Champlain_@CHAMPLAIN_API_VERSION_NORM@_gir_PACKAGES = gobject-2.0 cogl-pango-1.0 + Champlain_@CHAMPLAIN_API_VERSION_NORM@_gir_FILES = $(introspection_sources) + Champlain_@CHAMPLAIN_API_VERSION_NORM@_gir_INCLUDES = Clutter-1.0 $(memphis_gir_include) + Champlain_@CHAMPLAIN_API_VERSION_NORM@_gir_EXPORT_PACKAGES = champlain-@CHAMPLAIN_API_VERSION@ $(memphis_package) diff --git a/libchamplain.spec b/libchamplain.spec index 658c252..ccb639a 100644 --- a/libchamplain.spec +++ b/libchamplain.spec @@ -6,6 +6,7 @@ License: LGPLv2+ Group: System Environment/Libraries URL: http://projects.gnome.org/libchamplain/ Source0: http://download.gnome.org/sources/libchamplain/0.12/%{name}-%{version}.tar.xz +Patch0: champlain-grr.patch Requires: gobject-introspection @@ -19,6 +20,8 @@ BuildRequires: gtk-doc BuildRequires: vala-devel BuildRequires: vala-tools +BuildRequires: autoconf automake libtool + %description Libchamplain is a C library aimed to provide a ClutterActor to display rasterized maps. @@ -72,6 +75,9 @@ This package contains demos for development using %{name}. %prep %setup -q +%patch0 -p1 + +autoreconf -i -f %build %configure --disable-debug --disable-silent-rules --disable-static \