File xorg-x11-proto-unstable-devel.spec of Package xorg-x11-proto-unstable-devel

# spec file for package xorg-x11-proto-unstable-devel (Version 7.3.99)
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           xorg-x11-proto-unstable-devel
Version:        7.3.99
Release:        2
License:        X11/MIT
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python
Conflicts:      xorg-x11-proto-devel < %{version}
Group:          Development/Libraries/X11
Summary:        Include Files and Libraries mandatory for X11 Development (unstable version)
Source0:        applewmproto-X11R7.0-1.0.3.tar.bz2
Source1:        bigreqsproto-X11R7.0-1.0.2.tar.bz2
Source2:        compositeproto-0.4.tar.bz2
Source3:        damageproto-1.1.0.tar.bz2
Source4:        dmxproto-X11R7.0-2.2.2.tar.bz2
Source5:        fixesproto-X11R7.1-4.0.tar.bz2
Source6:        fontcacheproto-X11R7.0-0.1.2.tar.bz2
Source7:        fontsproto-X11R7.0-2.0.2.tar.bz2
Source8:        glproto-1.4.9.tar.bz2
Source9:        inputproto-
Source10:       kbproto-1.0.3.tar.bz2
Source11:       printproto-1.0.4.tar.bz2
Source12:       randrproto-1.2.1.tar.bz2
Source13:       recordproto-X11R7.0-1.13.2.tar.bz2
Source14:       renderproto-0.9.3.tar.bz2
Source15:       resourceproto-X11R7.0-1.0.2.tar.bz2
Source16:       scrnsaverproto-X11R7.1-1.1.0.tar.bz2
Source17:       trapproto-X11R7.0-3.4.3.tar.bz2
Source18:       util-macros-1.1.6.tar.bz2
Source19:       videoproto-X11R7.0-2.2.2.tar.bz2
Source20:       windowswmproto-X11R7.0-1.0.3.tar.bz2
Source21:       xcmiscproto-X11R7.0-1.1.2.tar.bz2
Source22:       xextproto-7.0.3.tar.bz2
Source23:       xf86bigfontproto-X11R7.0-1.1.2.tar.bz2
Source24:       xf86dgaproto-2.0.3.tar.bz2
Source25:       xf86driproto-2.0.4.tar.bz2
Source26:       xf86miscproto-X11R7.0-0.9.2.tar.bz2
Source27:       xf86rushproto-X11R7.0-1.1.2.tar.bz2
Source28:       xf86vidmodeproto-X11R7.0-2.2.2.tar.bz2
Source29:       xineramaproto-X11R7.0-1.1.2.tar.bz2
Source30:       xproto-7.0.13.tar.bz2
Source31:       xproxymanagementprotocol-X11R7.0-1.0.2.tar.bz2
Source32:       evieext-X11R7.0-1.0.2.tar.bz2
Source33:       xcb-proto-1.2.tar.bz2
Source34:       libpthread-stubs-0.1.tar.bz2
Source35:       vncproto-20070501.tar.bz2
Source36:       xcliplistproto-20070501.tar.bz2
Source37:       dri2proto-1.1.tar.bz2

This package contains all necessary include files and libraries needed
to develop X11 applications that require these.


This package provides static libraries for some specific packages that
require not-yet-released version of X11.

    Bob Scheifler
    Dave Rosenthal
    Jim Gettys
    Keith Packard
    Phil Karlton
    Raymond Drewry
    Ron Newman
    Scott McGregor
    Susan Angebrandt
    Todd Newman

%setup -T -c %{name}
for i in $RPM_SOURCE_DIR/*.tar.bz2; do tar xjf $i; done


pushd util-macros-*
  #autoreconf -fi
  ./configure --prefix=/usr --libdir=%{_libdir}
  make install DESTDIR=$RPM_BUILD_ROOT
export ACLOCAL="aclocal --force -I /usr/share/aclocal -I $RPM_BUILD_ROOT/usr/share/aclocal"
for dir in $(ls */; do
  pushd $(dirname $dir)
    echo $dir | grep -q -E "vncproto|xcliplistproto" && autoreconf -fi
    ./configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
                --prefix=/usr --libdir=%{_libdir}
    make install DESTDIR=$RPM_BUILD_ROOT
# Bug 260745
mv $RPM_BUILD_ROOT/usr/share/doc/*/*.txt .
rmdir $RPM_BUILD_ROOT/usr/share/doc/*

rm -rf "$RPM_BUILD_ROOT"

test -L usr/include/X11 && rm usr/include/X11
exit 0

%doc *.txt
%dir /usr/include/GL
%dir /usr/include/GL/internal
%dir /usr/include/X11/PM
%dir /usr/include/X11/dri
%dir /usr/include/X11/extensions
%dir /usr/include/X11/fonts
%dir %{_libdir}/python2.6/site-packages/xcbgen

* Wed Sep 10 2008
- Initial release.