#!/bin/sh

  RPM_SOURCE_DIR="/usr/src/redhat/SOURCES"
  RPM_BUILD_DIR="/usr/src/redhat/BUILD"
  RPM_OPT_FLAGS="-O2 -g -pipe -m32 -march=i386 -mtune=pentium4"
  RPM_ARCH="i386"
  RPM_OS="linux"
  export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
  RPM_DOC_DIR="/usr/share/doc"
  export RPM_DOC_DIR
  RPM_PACKAGE_NAME="xorg-x11"
  RPM_PACKAGE_VERSION="6.8.2"
  RPM_PACKAGE_RELEASE="10"
  export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
  RPM_BUILD_ROOT="/var/tmp/xorg-x11-6.8.2-root"
  export RPM_BUILD_ROOT
  
  
  set -x
  umask 022
  cd /usr/src/redhat/BUILD
cd xorg-x11-6.8.2
LANG=C
export LANG
unset DISPLAY

[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
# Speed up script processing
export LANG=C
# Remove unnecessary stuff...  DO NOT MOVE THIS

make World -C xc FAST=1

##########  INSTALL  #################################################

exit 0

