rpms/gtk2/devel gtk2.spec,1.441,1.442

Colin Walters walters at fedoraproject.org
Tue Jun 29 21:10:14 UTC 2010


Author: walters

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

Modified Files:
	gtk2.spec 
Log Message:
* Tue Jun 29 2010 Colin Walters <walters at verbum.org> - 2.21.3-2
- Changes to support building from snapshot 



Index: gtk2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gtk2/devel/gtk2.spec,v
retrieving revision 1.441
retrieving revision 1.442
diff -u -p -r1.441 -r1.442
--- gtk2.spec	28 Jun 2010 17:22:07 -0000	1.441
+++ gtk2.spec	29 Jun 2010 21:10:14 -0000	1.442
@@ -18,7 +18,7 @@
 Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
 Name: gtk2
 Version: 2.21.3
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 URL: http://www.gtk.org
@@ -55,9 +55,7 @@ BuildRequires: libjpeg-devel
 BuildRequires: jasper-devel
 BuildRequires: libXi-devel
 BuildRequires: libpng-devel >= %{libpng_version}
-BuildRequires: automake autoconf libtool pkgconfig
 BuildRequires: gettext
-BuildRequires: gtk-doc
 BuildRequires: cups-devel
 BuildRequires: cairo-devel >= %{cairo_version}
 BuildRequires: libXrandr-devel >= %{xrandr_version}
@@ -68,6 +66,9 @@ BuildRequires: libXinerama-devel
 BuildRequires: libXcomposite-devel
 BuildRequires: libXdamage-devel
 BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version}
+# Bootstrap requirements
+BuildRequires: gtk-doc
+BuildRequires: automake autoconf libtool pkgconfig
 
 # Conflicts with packages containing theme engines
 # built against the 2.4.0 ABI
@@ -166,11 +167,11 @@ This package contains developer document
 autoreconf -i -f
 
 %build
-%configure --with-xinput=xfree 		\
-	   --enable-debug		\
-	   --disable-gtk-doc 		\
-	   --disable-rebuilds		\
-	   --enable-introspection
+(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
+ %configure $CONFIGFLAGS \
+	--with-xinput=xfree 		\
+	--enable-debug		\
+)
 
 # fight unused direct deps
 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
@@ -361,6 +362,9 @@ fi
 %doc tmpdocs/examples
 
 %changelog
+* Tue Jun 29 2010 Colin Walters <walters at verbum.org> - 2.21.3-2
+- Changes to support building from snapshot 
+
 * Mon Jun 28 2010 Matthias Clasen <mclasen at redhat.com> - 2.21.3-1
 - Update to 2.21.3
 



More information about the scm-commits mailing list