/[packages]/cauldron/mesa/current/SPECS/mesa.spec
ViewVC logotype

Diff of /cauldron/mesa/current/SPECS/mesa.spec

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

revision 18132 by pterjan, Mon Jan 10 12:53:01 2011 UTC revision 18133 by rtp, Fri Jan 14 23:35:11 2011 UTC
# Line 1  Line 1 
1    %define bootstrap 0
2    %{?_without_bootstrap: %global bootstrap 0}
3    %{?_with_bootstrap: %global bootstrap 1}
4    
5  # (cg) Cheater...  # (cg) Cheater...
6  %define Werror_cflags %nil  %define Werror_cflags %nil
7    
# Line 74  Line 78 
78  %define dri_drivers_ia64        "i810,i915,i965,mga,r128,r200,radeon,swrast"  %define dri_drivers_ia64        "i810,i915,i965,mga,r128,r200,radeon,swrast"
79  %define dri_drivers_alpha       "mga,r128,r200,radeon,swrast"  %define dri_drivers_alpha       "mga,r128,r200,radeon,swrast"
80  %define dri_drivers_sparc       "ffb,mach64,mga,radeon,savage,swrast"  %define dri_drivers_sparc       "ffb,mach64,mga,radeon,savage,swrast"
81  %define dri_drivers_mipsel      "mach64,mga,r128,r200,radeon,savage,tdfx"  %define dri_drivers_mipsel      "mach64,mga,r128,r200,radeon,savage,tdfx,swrast"
82    %define dri_drivers_arm         "swrast"
83  %define dri_drivers             %{expand:%{dri_drivers_%{_arch}}}  %define dri_drivers             %{expand:%{dri_drivers_%{_arch}}}
84    
85  Name:           %{name}  Name:           %{name}
# Line 100  BuildRequires: libxxf86vm-devel        >= 1.1.0 Line 105  BuildRequires: libxxf86vm-devel        >= 1.1.0
105  BuildRequires:  libxi-devel             >= 1.3  BuildRequires:  libxi-devel             >= 1.3
106  BuildRequires:  talloc-devel libxml2-python  BuildRequires:  talloc-devel libxml2-python
107    
108    %if !%bootstrap
109  BuildRequires:  libglew-devel  BuildRequires:  libglew-devel
110    %endif
111  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
112  URL:            http://www.mesa3d.org  URL:            http://www.mesa3d.org
113  %if %{git}  %if %{git}
# Line 142  Patch301: 0301-RH-mesa-7.1-link-shared-v Line 149  Patch301: 0301-RH-mesa-7.1-link-shared-v
149  Patch902: 0902-remove-unfinished-GLX_ARB_render_texture.patch  Patch902: 0902-remove-unfinished-GLX_ARB_render_texture.patch
150  Patch903: 0903-Fix-NULL-pointer-dereference-in-viaXMesaWindowMoved.patch  Patch903: 0903-Fix-NULL-pointer-dereference-in-viaXMesaWindowMoved.patch
151  Patch904:       Mesa-7.9-salome.patch  Patch904:       Mesa-7.9-salome.patch
152    Patch905:       nouveau_push_buffers.patch
153    
154  Patch2004:     mesa_652_mips.patch  Patch2004:     mesa_652_mips.patch
155    
# Line 355  This package contains the headers needed Line 363  This package contains the headers needed
363  %patch902 -p1  %patch902 -p1
364  %patch903 -p1  %patch903 -p1
365  %patch904 -p1  %patch904 -p1
366    %patch905 -p1
367    
368  %patch2004 -p1  %patch2004 -p1
369    
# Line 461  rm -fr $RPM_BUILD_ROOT Line 470  rm -fr $RPM_BUILD_ROOT
470  #%{_libdir}/dri/libdricore.so  #%{_libdir}/dri/libdricore.so
471  %{_libdir}/dri/*_dri.so  %{_libdir}/dri/*_dri.so
472  %exclude %{_libdir}/dri/nouveau_dri.so  %exclude %{_libdir}/dri/nouveau_dri.so
473    %ifnarch %arm %mips
474  %exclude %{_libdir}/dri/nouveau_vieux_dri.so  %exclude %{_libdir}/dri/nouveau_vieux_dri.so
475  %endif  %endif
476    %endif
477    
478  %files -n %{dridrivers}-experimental  %files -n %{dridrivers}-experimental
479  %defattr(-,root,root)  %defattr(-,root,root)
480  %doc docs/COPYING  %doc docs/COPYING
481  %doc README.install.urpmi  %doc README.install.urpmi
482  %{_libdir}/dri/nouveau_dri.so  %{_libdir}/dri/nouveau_dri.so
483    %ifnarch %arm %mips
484  %{_libdir}/dri/nouveau_vieux_dri.so  %{_libdir}/dri/nouveau_vieux_dri.so
485    %endif
486    
487  %files -n %{libglname}-devel  %files -n %{libglname}-devel
488  %defattr(-,root,root)  %defattr(-,root,root)

Legend:
Removed from v.18132  
changed lines
  Added in v.18133

  ViewVC Help
Powered by ViewVC 1.1.30