- Changes to support git snapshot builds

This commit is contained in:
Colin Walters 2010-07-06 19:19:47 +00:00
parent bb9754f3fe
commit 7446921b20

View File

@ -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 <walters@verbum.org> - 1.2.8-4
- Changes to support git snapshot builds
* Thu Jul 1 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.8-3
- Rebuild for "Incompatible version 1.0 (supported: 1.1)"
for introspection file