%define dri2proto_ver 2.6
%define glproto_ver 1.4.11
#
+%define snap 20110801
+#
Summary: Free OpenGL implementation
Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
Name: Mesa
-Version: 7.11
-Release: 1%{?with_multigl:.mgl}
+Version: 7.12
+Release: 0.%{snap}.1%{?with_multigl:.mgl}
License: MIT (core), SGI (GLU,libGLw) and others - see license.html file
Group: X11/Libraries
-Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2
-# Source0-md5: ff03aca82d0560009a076a87c888cf13
+Source0: %{name}Lib-%{snap}.tar.bz2
+# Source0-md5: 8cc8e0190bf633bf7d1cc727f8f368a8
Patch0: %{name}-realclean.patch
Patch1: %{name}-git.patch
Patch2: %{name}-selinux.patch
--enable-selinux \
--enable-pic \
--enable-glx-tls \
- --disable-glut \
%if %{with egl}
--enable-egl \
--enable-gles1 \
cd $RPM_BUILD_ROOT%{_libdir}
cd $olddir
-%if %{with gallium}
-# use gallium swrastg as swrast
-mv $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri/swrastg_dri.so $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri/swrast_dri.so
-%endif
-
%if %{with multigl}
install -d $RPM_BUILD_ROOT{%{_libdir}/Mesa,%{_sysconfdir}/ld.so.conf.d}