From 82fa10bb7e8210dffd7cf7807510a90733e18636 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Fri, 17 Feb 2006 22:09:29 +0000 Subject: - Update to latest cvs snapshot to give meaningful failure error messages - Don't remove build root in install, because it triggers a rebuild of metacity --- metacity.spec | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) (limited to 'metacity.spec') diff --git a/metacity.spec b/metacity.spec index 9ad669a..6806790 100644 --- a/metacity.spec +++ b/metacity.spec @@ -1,16 +1,17 @@ %define gettext_package metacity -%define snapshot_date 2006.02.16 %define libcm_version 0.0.16 +%define libcm_snapshot_date 2006.02.16 %define metacity_version 2.13.89 +%define metacity_snapshot_date 2006.02.17 Summary: Metacity window manager Name: metacity -Version: %{metacity_version}.0.%{snapshot_date} +Version: %{metacity_version}.0.%{metacity_snapshot_date} Release: 1 URL: http://ftp.gnome.org/pub/gnome/sources/metacity/ -Source0: metacity-%{metacity_version}.0.%{snapshot_date}.tar.bz2 -Source1: libcm-%{libcm_version}.0.%{snapshot_date}.tar.bz2 +Source0: metacity-%{metacity_version}.0.%{metacity_snapshot_date}.tar.bz2 +Source1: libcm-%{libcm_version}.0.%{libcm_snapshot_date}.tar.bz2 License: GPL Group: User Interface/Desktops BuildRoot: %{_tmppath}/%{name}-root @@ -43,19 +44,20 @@ Metacity is a simple window manager that integrates nicely with GNOME 2. %prep -%setup -q -n metacity-%{metacity_version}.0.%{snapshot_date} -%setup -D -T -a1 -n metacity-%{metacity_version}.0.%{snapshot_date} +%setup -q -n metacity-%{metacity_version}.0.%{metacity_snapshot_date} +%setup -D -T -a1 -n metacity-%{metacity_version}.0.%{metacity_snapshot_date} %patch0 -p1 -b .ctrlaltdel %patch1 -p1 -b .static-cm %patch2 -p1 -b .fix-type -pushd libcm-%{libcm_version}.0.%{snapshot_date} +pushd libcm-%{libcm_version}.0.%{libcm_snapshot_date} %patch3 -p1 -b .include-glxext popd %build -pushd libcm-%{libcm_version}.0.%{snapshot_date} +rm -rf $RPM_BUILD_ROOT +pushd libcm-%{libcm_version}.0.%{libcm_snapshot_date} %configure make make install DESTDIR=$RPM_BUILD_ROOT @@ -66,17 +68,15 @@ LIBS="$LIBS -lICE -lSM" LIBS="$LIBS -lX11 -lXext -lXinerama -lXrandr" LIBS="$LIBS -lXrender -lXcursor" LIBS="$LIBS -lXdamage -lXtst -lXfixes -lXcomposite" -LIBS="$LIBS $PWD/libcm-%{libcm_version}.0.%{snapshot_date}/src/.libs/libcm.a" +LIBS="$LIBS $PWD/libcm-%{libcm_version}.0.%{libcm_snapshot_date}/src/.libs/libcm.a" export LIBS CPPFLAGS="$CPPFLAGS -I$RPM_BUILD_ROOT%{_includedir}" export CPPFLAGS -autoconf +autoreconf %configure --enable-compositor -make - SHOULD_HAVE_DEFINED="HAVE_SM HAVE_XINERAMA HAVE_XFREE_XINERAMA HAVE_SHAPE HAVE_RANDR HAVE_STARTUP_NOTIFICATION HAVE_COMPOSITE_EXTENSIONS" for I in $SHOULD_HAVE_DEFINED; do @@ -90,8 +90,10 @@ for I in $SHOULD_HAVE_DEFINED; do fi done +make CPPFLAGS="$CPPFLAGS" LIBS="$LIBS" + %install -rm -rf $RPM_BUILD_ROOT +#rm -rf $RPM_BUILD_ROOT export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make install DESTDIR=$RPM_BUILD_ROOT @@ -130,6 +132,12 @@ done %{_mandir}/man1/* %changelog +* Fri Feb 17 2006 Ray Strode - 2.13.89.0.2006.02.17-1 +- Update to latest cvs snapshot to give meaningful failure error + messages +- Don't remove build root in install, because it triggers a + rebuild of metacity + * Thu Feb 16 2006 Ray Strode - 2.13.89.0.2006.02.16-1 - Update to cvs snapshot to add the ability to runtime enable compositor -- cgit