From 7446921b20d9eb3a7596a5cd271feefeeb41dad2 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 6 Jul 2010 19:19:47 +0000 Subject: [PATCH] - Changes to support git snapshot builds --- clutter.spec | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/clutter.spec b/clutter.spec index 2dccb50..d3ee851 100644 --- a/clutter.spec +++ b/clutter.spec @@ -1,8 +1,8 @@ Name: clutter Version: 1.2.8 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Open Source software library for creating rich graphical user interfaces - +\ Group: Development/Libraries License: LGPLv2+ URL: http://www.clutter-project.org/ @@ -16,9 +16,12 @@ Patch0: Use-a-native-format-for-atlas-textures.patch Requires: gobject-introspection BuildRequires: glib2-devel mesa-libGL-devel gtk2-devel pkgconfig pango-devel -BuildRequires: libXdamage-devel gettext gtk-doc +BuildRequires: libXdamage-devel gettext BuildRequires: gobject-introspection-devel >= 0.6.4 BuildRequires: json-glib-devel +# Bootstrap requirements +BuildRequires: gtk-doc +BuildRequires: automake autoconf libtool Obsoletes: clutter-cairo < 0.9 Provides: clutter-cairo = 0.9 @@ -61,7 +64,15 @@ This package contains documentation for clutter. %patch0 -p1 -b .atlas-textures %build -%configure --enable-gtk-doc --enable-introspection --enable-xinput +(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi; + %configure $CONFIGFLAGS \ + --enable-xinput + # clutter git ships with some magic to put the git log in shipped tarballs + # which gets listed in files; don't blow up if it's missing + if ! test -f ChangeLog; then + echo "Created from snapshot" > ChangeLog + fi +) make %{?_smp_mflags} V=1 %install @@ -99,6 +110,9 @@ rm -rf %{buildroot} %{_datadir}/gtk-doc/html/cogl %changelog +* Tue Jul 6 2010 Colin Walters - 1.2.8-4 +- Changes to support git snapshot builds + * Thu Jul 1 2010 Mamoru Tasaka - 1.2.8-3 - Rebuild for "Incompatible version 1.0 (supported: 1.1)" for introspection file