23 |
%define relc 0 |
%define relc 0 |
24 |
%define name mesa |
%define name mesa |
25 |
%define version 7.11.2 |
%define version 7.11.2 |
26 |
%define rel 3 |
%define rel 4 |
27 |
|
|
28 |
%define release %mkrel %{rel} |
%define release %mkrel %{rel} |
29 |
%define src_type tar.bz2 |
%define src_type tar.bz2 |
211 |
Summary: Mesa DRI drivers |
Summary: Mesa DRI drivers |
212 |
Group: System/Libraries |
Group: System/Libraries |
213 |
Conflicts: %{_lib}MesaGL1 < 7.7-5 |
Conflicts: %{_lib}MesaGL1 < 7.7-5 |
214 |
|
Obsoletes: %{_lib}dri-drivers-experimental < 7.11.2-4 |
215 |
%package -n %{dridrivers}-experimental |
Provides: %{_lib}dri-drivers-experimental = %{version}-%{release} |
|
Summary: Mesa DRI - unstable experimental drivers |
|
|
Group: System/Libraries |
|
|
# for dri driver directory |
|
|
Requires: %{dridrivers} |
|
216 |
|
|
217 |
%package -n %{libglname}-devel |
%package -n %{libglname}-devel |
218 |
Summary: Development files for Mesa (OpenGL compatible 3D lib) |
Summary: Development files for Mesa (OpenGL compatible 3D lib) |
416 |
Mesa is an OpenGL 2.1 compatible 3D graphics library. |
Mesa is an OpenGL 2.1 compatible 3D graphics library. |
417 |
DRI drivers. |
DRI drivers. |
418 |
|
|
|
%description -n %{dridrivers}-experimental |
|
|
Mesa is an OpenGL 2.1 compatible 3D graphics library. |
|
|
Experimental unstable DRI drivers. |
|
|
|
|
|
This package contains experimental DRI drivers for NVIDIA cards, for |
|
|
OpenGL acceleration with nouveau driver. These drivers are not stable |
|
|
and may crash your system. Please do not report bugs encountered with |
|
|
these drivers. |
|
|
|
|
419 |
%description -n %{libglname}-devel |
%description -n %{libglname}-devel |
420 |
Mesa is an OpenGL 2.1 compatible 3D graphics library. |
Mesa is an OpenGL 2.1 compatible 3D graphics library. |
421 |
|
|
507 |
|
|
508 |
chmod +x %{SOURCE5} |
chmod +x %{SOURCE5} |
509 |
|
|
|
# for dri-drivers-experimental |
|
|
cat > README.install.urpmi <<EOF |
|
|
This package contains experimental DRI drivers for NVIDIA cards, for |
|
|
OpenGL acceleration with nouveau driver. These drivers are not stable |
|
|
and may crash your system. Please do not report bugs encountered with |
|
|
these drivers. |
|
|
EOF |
|
|
|
|
510 |
%build |
%build |
511 |
%if %{git} |
%if %{git} |
512 |
./autogen.sh -v |
./autogen.sh -v |
566 |
rm -f %{buildroot}/%{_includedir}/GL/glutf90.h |
rm -f %{buildroot}/%{_includedir}/GL/glutf90.h |
567 |
%endif |
%endif |
568 |
|
|
569 |
|
# use swrastg if built (Anssi 12/2011) |
570 |
|
[ -e %{buildroot}%{_libdir}/dri/swrastg_dri.so ] && mv %{buildroot}%{_libdir}/dri/swrast{g,}_dri.so |
571 |
|
|
572 |
#------------------------------------------------------------------------------ |
#------------------------------------------------------------------------------ |
573 |
|
|
574 |
%files |
%files |
583 |
%{_libdir}/dri/libdricore.so |
%{_libdir}/dri/libdricore.so |
584 |
%{_libdir}/dri/libglsl.so |
%{_libdir}/dri/libglsl.so |
585 |
%{_libdir}/dri/*_dri.so |
%{_libdir}/dri/*_dri.so |
|
%exclude %{_libdir}/dri/nouveau_dri.so |
|
|
%ifnarch %arm %mips |
|
|
%exclude %{_libdir}/dri/nouveau_vieux_dri.so |
|
|
%endif |
|
|
%endif |
|
|
|
|
|
%files -n %{dridrivers}-experimental |
|
|
%defattr(-,root,root) |
|
|
%doc docs/COPYING |
|
|
%doc README.install.urpmi |
|
|
%{_libdir}/dri/nouveau_dri.so |
|
|
%ifnarch %arm %mips |
|
|
%{_libdir}/dri/nouveau_vieux_dri.so |
|
586 |
%endif |
%endif |
587 |
|
|
588 |
%files -n %{libglname} |
%files -n %{libglname} |