rpms/clutter/devel clutter.spec,1.53,1.54

Colin Walters walters at fedoraproject.org
Tue Jul 6 19:19:47 UTC 2010


Author: walters

Update of /cvs/pkgs/rpms/clutter/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv3569

Modified Files:
	clutter.spec 
Log Message:
* Tue Jul  6 2010 Colin Walters <walters at verbum.org> - 1.2.8-4
- Changes to support git snapshot builds



Index: clutter.spec
===================================================================
RCS file: /cvs/pkgs/rpms/clutter/devel/clutter.spec,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -p -r1.53 -r1.54
--- clutter.spec	6 Jul 2010 14:21:49 -0000	1.53
+++ clutter.spec	6 Jul 2010 19:19:47 -0000	1.54
@@ -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-
 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 
 %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 <walters at verbum.org> - 1.2.8-4
+- Changes to support git snapshot builds
+
 * Thu Jul  1 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.2.8-3
 - Rebuild for "Incompatible version 1.0 (supported: 1.1)"
   for introspection file



More information about the scm-commits mailing list