/[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 1338948 by tmb, Sat Dec 8 13:09:53 2018 UTC revision 1339667 by akien, Mon Dec 10 09:14:31 2018 UTC
# Line 66  Line 66 
66    
67  %define dridrivers              %mklibname dri-drivers  %define dridrivers              %mklibname dri-drivers
68    
69    %define khrdevel                %mklibname mesakhr -d
70  %define osmesadevel             %mklibname osmesa -d  %define osmesadevel             %mklibname osmesa -d
71    
72  # Architecture-independent Virtual provides:  # Architecture-independent Virtual provides:
# Line 80  Line 81 
81  %define libwaylandeglname_virt  lib%{waylandeglname}  %define libwaylandeglname_virt  lib%{waylandeglname}
82  %define libxaname_virt          lib%{xaname}  %define libxaname_virt          lib%{xaname}
83    
 %define oldlibglname            %mklibname MesaGL 1  
   
84  %define mesasrcdir              %{_prefix}/src/Mesa/  %define mesasrcdir              %{_prefix}/src/Mesa/
85    
86  %define with_vaapi 1  %define with_vaapi 1
# Line 189  Obsoletes:     Mesa < %{version} Line 188  Obsoletes:     Mesa < %{version}
188  %package -n     %{libglname}  %package -n     %{libglname}
189  Summary:        Files for Mesa (GL and GLX libs)  Summary:        Files for Mesa (GL and GLX libs)
190  Group:          System/Libraries  Group:          System/Libraries
 Obsoletes:      %{oldlibglname} < 6.4  
 Provides:       %{oldlibglname} = %{version}-%{release}  
191  Provides:       %{libglname_virt} = %{version}-%{release}  Provides:       %{libglname_virt} = %{version}-%{release}
192  Requires:       %{dridrivers} >= %{version}-%{release}  Requires:       %{dridrivers} >= %{version}-%{release}
193    
# Line 225  Provides:      libd3d-devel Line 222  Provides:      libd3d-devel
222  Summary:        Development files for Mesa (OpenGL compatible 3D lib)  Summary:        Development files for Mesa (OpenGL compatible 3D lib)
223  Group:          Development/C  Group:          Development/C
224  Requires:       %{libglname} = %{version}-%{release}  Requires:       %{libglname} = %{version}-%{release}
225    Requires:       %{khrdevel} = %{version}-%{release}
226  Provides:       lib%{glname}-devel = %{version}-%{release}  Provides:       lib%{glname}-devel = %{version}-%{release}
227  Provides:       %{glname}-devel = %{version}-%{release}  Provides:       %{glname}-devel = %{version}-%{release}
228  Provides:       GL-devel  Provides:       GL-devel
 Obsoletes:      %{oldlibglname}-devel < 6.4  
 Provides:       %{oldlibglname}-devel = %{version}-%{release}  
229  Provides:       libMesaGL-devel = %{version}-%{release}  Provides:       libMesaGL-devel = %{version}-%{release}
230  Provides:       MesaGL-devel = %{version}-%{release}  Provides:       MesaGL-devel = %{version}-%{release}
231  Provides:       libgl-devel  Provides:       libgl-devel
# Line 243  Provides:      %{libeglname_virt} = %{version Line 239  Provides:      %{libeglname_virt} = %{version
239  Summary:        Development files for Mesa (EGL libs)  Summary:        Development files for Mesa (EGL libs)
240  Group:          Development/C  Group:          Development/C
241  Requires:       %{libeglname} = %{version}-%{release}  Requires:       %{libeglname} = %{version}-%{release}
242    Requires:       %{khrdevel} = %{version}-%{release}
243  Provides:       EGL-devel  Provides:       EGL-devel
244  Provides:       lib%{eglname}-devel  Provides:       lib%{eglname}-devel
245  Provides:       %{eglname}-devel  Provides:       %{eglname}-devel
246  Provides:       libegl-devel  Provides:       libegl-devel
247    
248    %package -n %{khrdevel}
249    Summary:        Mesa Khronos development headers
250    Group:          Development/C
251    Provides:       mesakhr-devel = %{version}-%{release}
252    
253  %package -n %{libosmesaname}  %package -n %{libosmesaname}
254  Summary:        Mesa offscreen rendering library  Summary:        Mesa offscreen rendering library
255  Group:          System/Libraries  Group:          System/Libraries
# Line 280  Provides:      %{libglesv1name_virt} = %{vers Line 282  Provides:      %{libglesv1name_virt} = %{vers
282  Summary:        Development files for glesv1 libs  Summary:        Development files for glesv1 libs
283  Group:          Development/C  Group:          Development/C
284  Requires:       %{libglesv1name} = %{version}-%{release}  Requires:       %{libglesv1name} = %{version}-%{release}
285    Requires:       %{khrdevel} = %{version}-%{release}
286  Provides:       lib%{glesv1name}-devel  Provides:       lib%{glesv1name}-devel
287  Provides:       %{glesv1name}-devel  Provides:       %{glesv1name}-devel
288  Provides:       libglesv1-devel  Provides:       libglesv1-devel
# Line 293  Provides:      %{libglesv2name_virt} = %{vers Line 296  Provides:      %{libglesv2name_virt} = %{vers
296  Summary:        Development files for glesv2 libs  Summary:        Development files for glesv2 libs
297  Group:          Development/C  Group:          Development/C
298  Requires:       %{libglesv2name} = %{version}-%{release}  Requires:       %{libglesv2name} = %{version}-%{release}
299  Requires:       %{libeglname}-devel = %{version}-%{release}  Requires:       %{khrdevel} = %{version}-%{release}
300  Provides:       lib%{glesv2name}-devel  Provides:       lib%{glesv2name}-devel
301  Provides:       %{glesv2name}-devel  Provides:       %{glesv2name}-devel
302  Provides:       libglesv2-devel  Provides:       libglesv2-devel
# Line 426  well-defined subset profiles of OpenGL. Line 429  well-defined subset profiles of OpenGL.
429    
430  This package provides the OpenGL ES library version 1.  This package provides the OpenGL ES library version 1.
431    
432    %description -n %{khrdevel}
433    Mesa Khronos development headers.
434    
435  %description -n %{libosmesaname}  %description -n %{libosmesaname}
436  Mesa offscreen rendering libraries for rendering OpenGL into  Mesa offscreen rendering libraries for rendering OpenGL into
437  application-allocated blocks of memory.  application-allocated blocks of memory.
# Line 645  rm -f %{buildroot}%{_libdir}/pkgconfig/w Line 651  rm -f %{buildroot}%{_libdir}/pkgconfig/w
651    
652  %files -n %{libeglname}-devel  %files -n %{libeglname}-devel
653  %{_includedir}/EGL  %{_includedir}/EGL
 %{_includedir}/KHR  
654  %{_libdir}/libEGL.so  %{_libdir}/libEGL.so
655  %{_libdir}/pkgconfig/egl.pc  %{_libdir}/pkgconfig/egl.pc
656    
657    %files -n %{khrdevel}
658    %{_includedir}/KHR
659    
660  %files -n %{osmesadevel}  %files -n %{osmesadevel}
661  %dir %{_includedir}/GL  %dir %{_includedir}/GL
662  %{_includedir}/GL/osmesa.h  %{_includedir}/GL/osmesa.h

Legend:
Removed from v.1338948  
changed lines
  Added in v.1339667

  ViewVC Help
Powered by ViewVC 1.1.26