/[packages]/backports/4/mesa/current/SPECS/mesa.spec
ViewVC logotype

Diff of /backports/4/mesa/current/SPECS/mesa.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 181477 by tmb, Tue Dec 6 16:08:24 2011 UTC revision 181478 by anssi, Wed Dec 14 06:13:43 2011 UTC
# Line 23  Line 23 
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
# Line 211  Conflicts:     x11-server-common < 1.3.0.0-1 Line 211  Conflicts:     x11-server-common < 1.3.0.0-1
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)
# Line 420  OpenGL extentions that are covered by so Line 416  OpenGL extentions that are covered by so
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    
# Line 520  Development files for OpenVG library. Line 507  Development files for OpenVG library.
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
# Line 587  rm -f %{buildroot}/%{_includedir}/GL/glu Line 566  rm -f %{buildroot}/%{_includedir}/GL/glu
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
# Line 601  rm -f %{buildroot}/%{_includedir}/GL/glu Line 583  rm -f %{buildroot}/%{_includedir}/GL/glu
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}

Legend:
Removed from v.181477  
changed lines
  Added in v.181478

  ViewVC Help
Powered by ViewVC 1.1.30