]> git.pld-linux.org Git - packages/Mesa.git/blobdiff - Mesa.spec
- build fixed (glxinfo vs -lGLU).
[packages/Mesa.git] / Mesa.spec
index 81c72840f3295d4492d0bdd70389de3ea0b271b0..aa7dc15b01faf0025028bd48bd2b0f2206b0cf48 100644 (file)
--- a/Mesa.spec
+++ b/Mesa.spec
-Summary:       Free OpenGL implementation. Runtime environment
-Summary(pl):   Bezp³atna implementacja standardu OpenGL
+#
+# TODO:
+# - subpackage with non-dri libGL for use with X-servers with missing GLX extension?
+#
+# Conditional build:
+%bcond_with    glide   # with GLIDE (broken now)
+%bcond_without motif   # build static libGLw without Motif interface
+#
+Summary:       Free OpenGL implementation
+Summary(pl):   Wolnodostêpna implementacja standardu OpenGL
 Name:          Mesa
-Version:       3.0
-Release:       4
-Copyright:     GPL
+Version:       6.4.1
+Release:       2.0
+License:       MIT (core), SGI (GLU,libGLw) and others - see COPYRIGHT file
 Group:         X11/Libraries
-Group(pl):     X11/Biblioteki
-Source0:       ftp://iris.ssec.wisc.edu/pub/Mesa/%{name}Lib-%{version}.tar.gz
-Source1:       ftp://iris.ssec.wisc.edu/pub/Mesa/%{name}Demos-%{version}.tar.gz
-Patch:         Mesa-misc.diff
+Source0:       http://dl.sourceforge.net/mesa3d/%{name}Lib-%{version}.tar.bz2
+# Source0-md5: ea148c828ec6f645526451db1b8556f1
+Source1:       http://dl.sourceforge.net/mesa3d/%{name}Demos-%{version}.tar.bz2
+# Source1-md5: 99df1fdcb98d391666b476ca6f1dda8a
+Patch0:                %{name}-modules_dir.patch
 URL:           http://www.mesa3d.org/
-BuildRoot:     /tmp/%{name}-%{version}-root
+%{?with_glide:BuildRequires:   Glide3-DRI-devel}
+BuildRequires: expat-devel
+BuildRequires: libdrm-devel >= 1.0.4-1.20051022
+BuildRequires: libstdc++-devel
+BuildRequires: libtool >= 2:1.4d
+%{?with_motif:BuildRequires:   motif-devel}
+BuildRequires: sed >= 4.0
+BuildRequires: xorg-lib-libXt-devel
+BuildRequires: xorg-lib-libXxf86vm-devel
+BuildRequires: xorg-proto-glproto-devel
+BuildRequires: xorg-util-makedepend
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+# avoid XFree86-OpenGL* dependency
+# Glide3 can be provided by Glide_V3-DRI or Glide_V5-DRI
+%define                _noautoreqdep   libGL.so.1 libGLU.so.1 libOSMesa.so.4   libglide3.so.3
+
+%define                _sysconfdir     /etc/X11
 
 %description
-Mesa is a 3-D graphics library with an API which is very similar to that
-of OpenGL*.  To the extent that Mesa utilizes the OpenGL command syntax
-or state machine, it is being used with authorization from Silicon Graphics,
-Inc.  However, the author makes no claim that Mesa is in any way a
-compatible replacement for OpenGL or associated with Silicon Graphics, Inc.
-Those who want a licensed implementation of OpenGL should contact a licensed
-vendor.  This software is distributed under the terms of the GNU Library
-General Public License, see the LICENSE file for details.
-
-* OpenGL(R) is a registered trademark of Silicon Graphics, Inc.
+Mesa is a 3-D graphics library with an API which is very similar to
+that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
+syntax or state machine, it is being used with authorization from
+Silicon Graphics, Inc. However, the author does not possess an OpenGL
+license from SGI, and makes no claim that Mesa is in any way a
+compatible replacement for OpenGL or associated with SGI.
 
 %description -l pl
-Mesa jest bibliotek± 3D bêd±c± darmowym odpowiednikiem standartu OpenGL(*).
-* OpenGL jest zastrze¿onym znakiem towarowym firmy Silicon Graphics, Inc.
-
-%package devel
-Summary:       Development environment for Mesa
-Summary(pl):   ¦rodowisko programistyczne biblioteki Mesa
+Mesa jest bibliotek± grafiki 3D z API bardzo podobnym do OpenGL(R). Do
+tego stopnia, ¿e Mesa u¿ywa sk³adni i automatu OpenGL jest u¿ywana z
+autoryzacj± Silicon Graphics, Inc. Jednak autor nie posiada licencji
+OpenGL od SGI i nie twierdzi, ¿e Mesa jest kompatybilnym zamiennikiem
+OpenGL ani powi±zana z SGI.
+
+%package libGL
+Summary:       Free Mesa3D implementation of libGL OpenGL library
+Summary(pl):   Wolnodostêpna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
+License:       MIT
+Group:         X11/Libraries
+%{?with_glide:Requires:        Glide3-DRI}
+Provides:      OpenGL = 1.5
+# reports version 1.3, but supports glXGetProcAddress() from 1.4
+Provides:      OpenGL-GLX = 1.4
+Obsoletes:     Mesa
+Obsoletes:     XFree86-OpenGL-libGL
+
+%description libGL
+Mesa is a 3-D graphics library with an API which is very similar to
+that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
+syntax or state machine, it is being used with authorization from
+Silicon Graphics, Inc. However, the author does not possess an OpenGL
+license from SGI, and makes no claim that Mesa is in any way a
+compatible replacement for OpenGL or associated with SGI.
+
+This package contains libGL which implements OpenGL 1.5 and GLX 1.4
+specifications. It uses DRI for rendering.
+
+%description libGL -l pl
+Mesa jest bibliotek± grafiki 3D z API bardzo podobnym do OpenGL(R). Do
+tego stopnia, ¿e Mesa u¿ywa sk³adni i automatu OpenGL jest u¿ywana z
+autoryzacj± Silicon Graphics, Inc. Jednak autor nie posiada licencji
+OpenGL od SGI i nie twierdzi, ¿e Mesa jest kompatybilnym zamiennikiem
+OpenGL ani powi±zana z SGI.
+
+Ten pakiet zawiera libGL implementuj±c± specyfikacje OpenGL 1.5 oraz
+GLX 1.4. U¿ywa DRI do renderowania.
+
+%package libGL-devel
+Summary:       Header files for Mesa3D libGL library
+Summary(pl):   Pliki nag³ówkowe biblioteki libGL z projektu Mesa3D
+License:       MIT
+Group:         X11/Development/Libraries
+# loose dependency on libGL to use with other libGL binaries
+Requires:      OpenGL >= 1.5
+Requires:      xorg-lib-libX11-devel
+Provides:      OpenGL-devel = 1.5
+Provides:      OpenGL-GLX-devel = 1.4
+Obsoletes:     Mesa-devel
+Obsoletes:     XFree86-OpenGL-devel
+Obsoletes:     XFree86-OpenGL-devel-base
+
+%description libGL-devel
+Header files for Mesa3D libGL library.
+
+%description libGL-devel -l pl
+Pliki nag³ówkowe biblioteki libGL z projektu Mesa3D.
+
+%package libGL-static
+Summary:       Static Mesa3D libGL library
+Summary(pl):   Statyczna biblioteka libGL z projektu Mesa3D
+License:       MIT
+Group:         X11/Development/Libraries
+Requires:      %{name}-libGL-devel = %{version}-%{release}
+Provides:      OpenGL-static = 1.5
+Obsoletes:     Mesa-static
+
+%description libGL-static
+Static Mesa3D libGL library. It uses software renderer.
+
+%description libGL-static -l pl
+Statyczna biblioteka libGL z projektu Mesa3D. U¿ywa programowego
+renderingu.
+
+%package libGLU
+Summary:       SGI implementation of libGLU OpenGL library
+Summary(pl):   Implementacja SGI biblioteki libGLU ze standardu OpenGL
+License:       SGI Free Software License B v1.1
+Group:         Libraries
+# loose dependency on libGL.so.1 to use with other libGL binaries
+Requires:      OpenGL >= 1.2
+Provides:      OpenGL-GLU = 1.3
+Obsoletes:     Mesa-devel
+Obsoletes:     XFree86-OpenGL-libs
+
+%description libGLU
+SGI implementation of libGLU OpenGL library. It implements OpenGL GLU
+1.3 specifications.
+
+%description libGLU -l pl
+Implementacja SGI biblioteki libGLU ze standardu OpenGL. Implementuje
+specyfikacjê OpenGL GLU 1.3.
+
+%package libGLU-devel
+Summary:       Header files for SGI libGLU library
+Summary(pl):   Pliki nag³ówkowe biblioteki SGI libGLU
+License:       SGI Free Software License B v1.1
 Group:         Development/Libraries
-Group(pl):     Programowanie/Biblioteki
-Requires:      %{name} = %{version}
+Requires:      %{name}-libGLU = %{version}-%{release}
+Requires:      OpenGL-devel >= 1.2
+Requires:      libstdc++-devel
+Provides:      OpenGL-GLU-devel = 1.3
 
-%description devel
-Header files and documentation needed for development.
+%description libGLU-devel
+Header files for SGI libGLU library.
 
-%description -l pl devel
-Pliki nag³ówkowe i dokumentacja do Mesy.
+%description libGLU-devel -l pl
+Pliki nag³ówkowe biblioteki SGI libGLU.
 
-%package static
-Summary:       Mesa static libraries
-Summary(pl):   Biblioteki statyczne Mesy
+%package libGLU-static
+Summary:       Static SGI libGLU library
+Summary(pl):   Statyczna biblioteka SGI libGLU
+License:       SGI Free Software License B v1.1
 Group:         Development/Libraries
-Group(pl):     Programowanie/Biblioteki
-Requires:      %{name}-devel = %{version}
-
-%description static
-The static version of the Mesa libraries
-
-%description -l pl static
-Biblioteki statyczne Mesy.
-
-%package glut
-Summary:       GLUT library for Mesa
-Summary(pl):   Biblioteka GLUT dla Mesy
-Group:         X11/Libraries
-Group(pl):     X11/Biblioteki
-Requires:      %{name} = %{version}
-Obsoletes:     glut
+Requires:      %{name}-libGLU-devel = %{version}-%{release}
+Provides:      OpenGL-GLU-static = 1.3
+
+%description libGLU-static
+Static SGI libGLU library.
+
+%description libGLU-static -l pl
+Statyczna biblioteka SGI libGLU.
+
+%package libGLw
+Summary:       SGI OpenGL Xt widgets library
+Summary(pl):   Biblioteka SGI widgetów Xt dla OpenGL-a
+License:       SGI MIT-like
+Group:         Libraries
+# loose dependency on libGL.so.1 to use with other libGL binaries
+Requires:      OpenGL >= 1.1
+Provides:      OpenGL-GLw
+
+%description libGLw
+SGI OpenGL Xt widgets library.
+
+%description libGLU -l pl
+Biblioteka SGI widgetów Xt dla OpenGL-a.
+
+%package libGLw-devel
+Summary:       Header files for SGI libGLw library
+Summary(pl):   Pliki nag³ówkowe biblioteki SGI libGLw
+License:       SGI Free Software License B v1.1
+Group:         Development/Libraries
+Requires:      %{name}-libGLw = %{version}-%{release}
+Requires:      OpenGL-devel >= 1.2
+Provides:      OpenGL-GLw-devel
 
-%description glut
-The GLUT library.
+%description libGLw-devel
+Header files for SGI libGLw library.
 
-%description -l pl glut
-Biblioteka GLUT
+%description libGLw-devel -l pl
+Pliki nag³ówkowe biblioteki SGI libGLw.
 
-%package glut-devel
-Summary:       GLUT Development environment for Mesa
-Summary(pl):   ¦rodowisko programistyczne 'GLUT' dla biblioteki MESA.
+%package libGLw-static
+Summary:       Static SGI libGLw library
+Summary(pl):   Statyczna biblioteka SGI libGLw
+License:       SGI Free Software License B v1.1
 Group:         Development/Libraries
-Group(pl):     Programowanie/Biblioteki
-Requires:      %{name} = %{version}
-Obsoletes:     glut-devel
+Requires:      %{name}-libGLw-devel = %{version}-%{release}
+Provides:      OpenGL-GLw-static
 
-%description glut-devel
-Header files needed for development aplications using GLUT library.
+%description libGLw-static
+Static SGI libGLw library.
 
-%description -l pl glut-devel
-Pliki nag³ówkowe do biblioteki GLUT.
+%description libGLw-static -l pl
+Statyczna biblioteka SGI libGLw.
 
-%package glut-static
-Summary:       GLUT static libraries
-Summary(pl):   Biblioteki statyczne do biblioteki GLUT
-Group:         Development/Libraries
-Group(pl):     Programowanie/Biblioteki
-Requires:      %{name}-glut-devel = %{version}
-Obsoletes:     glut-devel
+%package utils
+Summary:       OpenGL utilities from Mesa3D
+Summary(pl):   Programy narzêdziowe OpenGL z projektu Mesa3D
+Group:         X11/Applications/Graphisc
+# loose deps on libGL/libGLU
 
-%description glut-static
-The static version of the GLUT library.
+%description utils
+OpenGL utilities from Mesa3D: glxgears and glxinfo.
 
-%description -l pl glut-static
-Biblioteki statyczne GLUT.
+%description utils -l pl
+Programy narzêdziowe OpenGL z projektu Mesa3D: glxgears i glxinfo.
 
 %package demos
 Summary:       Mesa Demos
-Summary(pl):   Demonstracje mo¿liwo¶ci biblioteki MESA.
+Summary(pl):   Programy demonstruj±ce mo¿liwo¶ci bibliotek Mesa
 Group:         Development/Libraries
-Group(pl):     Programowanie/Biblioteki
-Requires:      %{name} = %{version}
+Requires:      OpenGL-devel
 
 %description demos
 Demonstration programs for the Mesa libraries.
 
-%description -l pl demos
-Programy demonstracyjne dla biblioteki Mesa.
+%description demos -l pl
+Programy demonstracyjne dla bibliotek Mesa.
+
+%package dri
+Summary:       X.org DRI drivers
+Summary(pl):   Sterowniki DRI dla X.org
+Group:         Development/Libraries
+Requires:      xorg-xserver-server
+
+%description dri
+X.org DRI drivers.
+
+%description dri -l pl
+Sterowniki DRI dla X.org.
+
+#%package dri-driver-ffb ...
 
 %prep
 %setup -q -n Mesa-%{version} -b 1
-%patch -p1
-
-%build
-%ifarch alpha
-make LIBS_ONLY=YES linux-alpha
-make clean
-make linux-alpha-elf
-%endif
+%patch0 -p1
 
-%ifarch ppc
-make linux-ppc
-%endif
+# fix demos
+find progs -type f|xargs sed -i -e "s,\.\./images/,%{_examplesdir}/%{name}-%{version}/images/,g"
 
-%ifarch i386
-make clean
-make LIBS_ONLY=YES linux-386
-make clean
-make linux-386-elf
+%ifnarch sparc sparcv9 sparc64
+# for sunffb driver - useful on sparc only
+sed -i -e 's/ ffb$//' configs/linux-dri
 %endif
 
-%ifarch sparc sparc64
-make  linux-elf
+%build
+%ifarch %{ix86}
+targ=-x86
+%else
+targ=""
 %endif
 
-(cd widgets-mesa; CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure \
-       --prefix=/usr/X11R6/
-make)
+%{__make} linux${targ}-static \
+       CC="%{__cc}" \
+       CXX="%{__cxx}" \
+       OPT_FLAGS="%{rpmcflags} -fno-strict-aliasing" \
+       XLIB_DIR=%{_libdir} \
+       GLW_SOURCES="GLwDrawA.c%{?with_motif: GLwMDrawA.c}" \
+       SRC_DIRS="mesa glu glw" \
+       PROGRAM_DIRS=
+mv -f lib lib-static
+%{__make} clean
+
+%{__make} linux-dri${targ} \
+       CC="%{__cc}" \
+       CXX="%{__cxx}" \
+       MKDEP=makedepend \
+       OPT_FLAGS="%{rpmcflags} -fno-strict-aliasing" \
+       XLIB_DIR=%{_libdir} \
+       SRC_DIRS="glx/x11 mesa glu glw" \
+       PROGRAM_DIRS=
+
+%{__make} -C progs/xdemos \
+       CC="%{__cc}" \
+       CXX="%{__cxx}" \
+       OPT_FLAGS="%{rpmcflags}" \
+       XLIB_DIR=%{_libdir} \
+       PROGS="glxgears" \
+       APP_LIB_DEPS="-L\$(LIB_DIR) -lGL"
+
+%{__make} -C progs/xdemos \
+       CC="%{__cc}" \
+       CXX="%{__cxx}" \
+       OPT_FLAGS="%{rpmcflags}" \
+       XLIB_DIR=%{_libdir} \
+       PROGS="glxinfo" \
+       APP_LIB_DEPS="-L\$(LIB_DIR) -lGL -L../../lib-dri -lGLU"
+
+mv -f lib lib-dri
+%{__make} clean \
+       MKDEP=makedepend
+
+%{__make} linux${targ} \
+       CC="%{__cc}" \
+       CXX="%{__cxx}" \
+       OPT_FLAGS="%{rpmcflags} -fno-strict-aliasing" \
+       XLIB_DIR=%{_libdir} \
+       SRC_DIRS="mesa" \
+       PROGRAM_DIRS=
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/usr/X11R6/{lib/Mesa,include,man/man3}
-
-cp -dpr lib include $RPM_BUILD_ROOT/usr/X11R6
-cp -dpr book demos xdemos samples util $RPM_BUILD_ROOT/usr/X11R6/lib/Mesa
-install Make-config $RPM_BUILD_ROOT/usr/X11R6/lib/Mesa
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}/GL,%{_examplesdir}/%{name}-%{version}}
+install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri
+
+cp -df lib-static/lib* $RPM_BUILD_ROOT%{_libdir}
+cp -df lib-dri/lib* $RPM_BUILD_ROOT%{_libdir}
+cp -df lib/libOSMesa* $RPM_BUILD_ROOT%{_libdir}
+cp -rf include/GL/{gl[!u]*,glu.h,glu_*,osmesa.h,xmesa*} src/glw/GLw*.h $RPM_BUILD_ROOT%{_includedir}/GL
+cp -df lib-dri/*_dri.so $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri
+
+install progs/xdemos/{glxgears,glxinfo} $RPM_BUILD_ROOT%{_bindir}
+for l in demos redbook samples xdemos ; do
+       %{__make} -C progs/$l clean
+done
+for l in demos redbook samples util xdemos images ; do
+       cp -Rf progs/$l $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/$l
+done
+rm -rf $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/*/{.deps,CVS,Makefile.{BeOS*,win,cygnus,DJ,dja}}
 
-(cd widgets-mesa; make prefix=$RPM_BUILD_ROOT/usr/X11R6 install )
-
-install */lib*.a $RPM_BUILD_ROOT/usr/X11R6/lib
-
-strip $RPM_BUILD_ROOT/usr/X11R6/lib/{lib*so.*.*,Mesa/*/*} ||
+%clean
+rm -rf $RPM_BUILD_ROOT
 
-gzip -9nf $RPM_BUILD_ROOT/usr/X11R6/man/man3/*
-gzip -9nf FUTURE IAFA-PACKAGE LICENSE README* RELNOTES VERSIONS
+%post  libGL -p /sbin/ldconfig
+%postun        libGL -p /sbin/ldconfig
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post  libGLU -p /sbin/ldconfig
+%postun        libGLU -p /sbin/ldconfig
 
-%post   -p /sbin/ldconfig glut
-%postun -p /sbin/ldconfig glut
+%post  libGLw -p /sbin/ldconfig
+%postun        libGLw -p /sbin/ldconfig
 
-%clean
-rm -fr $RPM_BUILD_ROOT
+%files libGL
+%defattr(644,root,root,755)
+%doc docs/{*.html,README.{3DFX,GGI,MITS,QUAKE,THREADS,X11},RELNOTES*,VERSIONS}
+%attr(755,root,root) %{_libdir}/libGL.so.*.*
+%attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
+# symlink for binary apps which fail to conform Linux OpenGL ABI
+# (and dlopen libGL.so instead of libGL.so.1)
+%attr(755,root,root) %{_libdir}/libGL.so
+
+%files libGL-devel
+%defattr(644,root,root,755)
+%doc docs/*.spec
+%attr(755,root,root) %{_libdir}/libOSMesa.so
+%dir %{_includedir}/GL
+%{_includedir}/GL/gl.h
+%{_includedir}/GL/glext.h
+%{_includedir}/GL/gl_mangle.h
+%{_includedir}/GL/glx.h
+%{_includedir}/GL/glxext.h
+%{_includedir}/GL/glx_mangle.h
+%{_includedir}/GL/osmesa.h
+%{_includedir}/GL/xmesa.h
+%{_includedir}/GL/xmesa_x.h
+%{_includedir}/GL/xmesa_xf86.h
+
+%files libGL-static
+%defattr(644,root,root,755)
+%{_libdir}/libGL.a
+%{_libdir}/libOSMesa.a
 
-%files
+%files libGLU
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libGLU.so.*.*
 
-%ifnarch ppc
-%attr(755,root,root) /usr/X11R6/lib/libMesa*.so.*.*
-%else
-/usr/X11R6/lib/libMesa*.a
-%endif
+%files libGLU-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libGLU.so
+%{_includedir}/GL/glu.h
+%{_includedir}/GL/glu_mangle.h
 
-%files glut
+%files libGLU-static
 %defattr(644,root,root,755)
-%ifnarch ppc
-%attr(755,root,root) /usr/X11R6/lib/libglut.so.*
-%else
-/usr/X11R6/lib/libglut.a
-%endif
+%{_libdir}/libGLU.a
 
-%files glut-devel
+%files libGLw
 %defattr(644,root,root,755)
-/usr/X11R6/include/GL/glut.h
-%ifnarch ppc
-%attr(755,root,root) /usr/X11R6/lib/libglut.so
-%endif
+%attr(755,root,root) %{_libdir}/libGLw.so.*.*
 
-%ifnarch ppc
-%files glut-static
-%attr(644,root,root) /usr/X11R6/lib/libglut.a
-%endif
+%files libGLw-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libGLw.so
+%{_includedir}/GL/GLwDrawA.h
+%{_includedir}/GL/GLwDrawAP.h
+%{_includedir}/GL/GLwMDrawA.h
+%{_includedir}/GL/GLwMDrawAP.h
 
-%files devel
+%files libGLw-static
 %defattr(644,root,root,755)
-%doc {FUTURE,IAFA-PACKAGE,LICENSE,RELNOTES,VERSIONS,README}.gz
-%doc README.{3DFX,GGI,MGL,QUAKE,VIRGE,X11}.gz
+%{_libdir}/libGLw.a
 
-%ifnarch ppc
-%attr(755,root,root) /usr/X11R6/lib/libMesa*.so
-%endif
+%files utils
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/glxgears
+%attr(755,root,root) %{_bindir}/glxinfo
 
-%ifnarch ppc
-%files static
+%files dri
+%defattr(644,root,root,755)
+%dir %{_libdir}/xorg/modules/dri
+# XXX: split
+%ifarch sparc sparcv9 sparc64
+# sunffb (sparc only)
+%attr(755,root,root) %{_libdir}/xorg/modules/dri/ffb_dri.so
 %endif
-%attr(644,root,root) /usr/X11R6/lib/libMesa*.a
-
-%dir /usr/X11R6/lib/Mesa
-/usr/X11R6/lib/Mesa/Make-config
-/usr/X11R6/lib/Mesa/util
-
-%dir /usr/X11R6/include/GL
-/usr/X11R6/include/GL/*.h
-/usr/X11R6/man/man3/*
+# i810
+%attr(755,root,root) %{_libdir}/xorg/modules/dri/i810_dri.so
+%attr(755,root,root) %{_libdir}/xorg/modules/dri/i830_dri.so
+%attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
+# ati
+%attr(755,root,root) %{_libdir}/xorg/modules/dri/mach64_dri.so
+%attr(755,root,root) %{_libdir}/xorg/modules/dri/r128_dri.so
+%attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
+%attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
+%attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
+# glint (requires update)
+#%attr(755,root,root) %{_libdir}/xorg/modules/dri/gamma_dri.so
+# mga
+%attr(755,root,root) %{_libdir}/xorg/modules/dri/mga_dri.so
+# s3virge (but driver not ready?)
+%attr(755,root,root) %{_libdir}/xorg/modules/dri/s3v_dri.so
+# savage
+%attr(755,root,root) %{_libdir}/xorg/modules/dri/savage_dri.so
+# sis
+%attr(755,root,root) %{_libdir}/xorg/modules/dri/sis_dri.so
+# tdfx
+%attr(755,root,root) %{_libdir}/xorg/modules/dri/tdfx_dri.so
+# trident
+%attr(755,root,root) %{_libdir}/xorg/modules/dri/trident_dri.so
+# via
+%attr(755,root,root) %{_libdir}/xorg/modules/dri/unichrome_dri.so
 
 %files demos
 %defattr(644,root,root,755)
-%dir /usr/X11R6/lib/Mesa/book
-%dir /usr/X11R6/lib/Mesa/demos
-%dir /usr/X11R6/lib/Mesa/samples
-%dir /usr/X11R6/lib/Mesa/xdemos
-
-%attr(-,root,root)/usr/X11R6/lib/Mesa/book/*
-%attr(-,root,root)/usr/X11R6/lib/Mesa/demos/*
-%attr(-,root,root)/usr/X11R6/lib/Mesa/samples/*
-%attr(-,root,root)/usr/X11R6/lib/Mesa/xdemos/*
-
-%changelog
-* Mon Mar  8 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [3.0-4]
-- updated URL to http://www.mesa3d.org/,
-- %doc moved to devel,
-- added static subpackages,
-- removed some README files,
-- removed man group from man pages.
-
-* Tue Feb  9 1999 Micha³ Kuratczyk <kurkens@polbox.com>
-  [3.0-3d]
-- added gzipping documentation
-- simplification in %files
-- fixed pl translations
-
-* Sat Jan 30 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [3.0-2d]
-- added LDFLAGS="-s" to ./configure enviroment,
-- fixed permission on lib*so* files (must be 755),
-- removed RPM_OPT_FLAGS="$RPM_OPT_FLAGS" make parameters
-  (this is redundant).
-
-* Sat Jan 23 1999 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
-- gzipped man page.
-
-* Thu Jan 12 1999 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
-- fixing library location.
-
-* Thu Oct  1 1998 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
-  [3.0-1]
-- fixing access permision.
-
-* Wed May  5 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-- removed declarate %%{version}, %%{name}, %%{release} macros because
-  all are predefined,
-- removed check $RPM_BUILD_ROOT in %clean and %install,
-- added "Requires: Mesa = %%{version}" for all subpackages (for
-  keeping corectly dependences),
-- in Mesa-glut* packages changed "Conflict:" to "Obsoletes:",
-- added striping shared libs and demos,
-- added modification in %build wihch allow build Mesa on sparc[64]
-  architecture,
-- all utils and demos instaled in /usr/lib/Mesa,
-- added %defattr macros in %files (on rebuild require rpm >= 2.4.99),
-- added -q %setup parameter.
-
-* Thu Feb 12 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
-- updated to final version 2.6
-
-* Thu Feb 05 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
-- Fixed thinko in misc patch
-- build against glibc
-
-* Sat Jan 31 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
-- updated to version 2.6beta5
-- added widget-mesa to the things to be build.
-
-* Mon Jan 26 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
-- updated to version 2.6beta4
-
-* Sun Dec 14 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
-- updated to version 2.6beta1
-
-* Sat Dec 13 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
-- Moved GLUT into a separate subpackage and added an Obsoletes tag to this
-  subpackage
-- Moved lib*.so to the devel package, they are only needed for development,
-  not for a runtime environment.
-
-* Sat Nov 29 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
-- added patches from ftp://iris.ssec.wisc.edu/pub/Mesa/patches_to_2.5
-- BuildRoot'ed
-- Prefix'ed
-- added static versions of the libraries. (PPC version seems not to have
-  support for shared versions of the library)
-- moved static versions of the library and the includes to the new subpackage
-  'devel'
-- targets other than linux-x86 still untested.
-- added Conflitcs tag
-- added %postun
-- added patch for RPM_OPT_FLAGS support
-
-* Fri Nov 21 1997 Karsten Weiss <karsten@addx.au.s.shuttle.de>
-- Upgraded to Mesa 2.5
-- Multiarch destinations (untested).
-- Included GLUT.
-- Removed some of the READMEs for other platforms from the binary RPM.
+%{_examplesdir}/%{name}-%{version}
This page took 0.079774 seconds and 4 git commands to generate.