/[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 553821 by tv, Thu Nov 28 09:52:31 2013 UTC revision 554634 by tv, Mon Dec 2 13:36:46 2013 UTC
# Line 23  Line 23 
23    
24  %define relc                    0  %define relc                    0
25  %define name                    mesa  %define name                    mesa
26  %define fversion                9.2.4  %define fversion                10.0.0
27  %define version                 9.2.4  %define version                 10.0.0
28  %define rel                     1  %define rel                     1
29    
30  %define release                 %mkrel %{rel}  %define release                 %mkrel %{rel}
# Line 48  Line 48 
48    
49  %define makedepend              %{_bindir}/gccmakedep  %define makedepend              %{_bindir}/gccmakedep
50    
 %define dricorename             dricore  
51  %define eglname                 mesaegl  %define eglname                 mesaegl
52  %define glname                  mesagl  %define glname                  mesagl
53  %define glwname                 mesaglw  %define glwname                 mesaglw
# Line 59  Line 58 
58  %define gbmname                 gbm  %define gbmname                 gbm
59  %define waylandeglname          wayland-egl  %define waylandeglname          wayland-egl
60    
 %define dricoremajor            1  
61  %define eglmajor                1  %define eglmajor                1
62  %define glmajor                 1  %define glmajor                 1
63  %define glwmajor                1  %define glwmajor                1
# Line 71  Line 69 
69  %define waylandeglmajor         1  %define waylandeglmajor         1
70  %define osmesamajor             8  %define osmesamajor             8
71    
 %define libdricorename          %mklibname %{dricorename} %{dricoremajor}  
72  %define libeglname              %mklibname %{eglname} %{eglmajor}  %define libeglname              %mklibname %{eglname} %{eglmajor}
73  %define libglname               %mklibname %{glname} %{glmajor}  %define libglname               %mklibname %{glname} %{glmajor}
74  %define libglwname              %mklibname %{glwname} %{glwmajor}  %define libglwname              %mklibname %{glwname} %{glwmajor}
# Line 88  Line 85 
85  %define osmesadevel             %mklibname osmesa -d  %define osmesadevel             %mklibname osmesa -d
86    
87  # Architecture-independent Virtual provides:  # Architecture-independent Virtual provides:
 %define libdricorename_virt     lib%{dricorename}  
88  %define libeglname_virt         lib%{eglname}  %define libeglname_virt         lib%{eglname}
89  %define libglname_virt          lib%{glname}  %define libglname_virt          lib%{glname}
90  %define libglwname_virt         lib%{glwname}  %define libglwname_virt         lib%{glwname}
# Line 135  BuildRequires: pkgconfig(xdamage)      >= 1.1 Line 131  BuildRequires: pkgconfig(xdamage)      >= 1.1
131  BuildRequires:  libexpat-devel          >= 2.0.1  BuildRequires:  libexpat-devel          >= 2.0.1
132  BuildRequires:  gccmakedep  BuildRequires:  gccmakedep
133  BuildRequires:  x11-proto-devel         >= 7.3  BuildRequires:  x11-proto-devel         >= 7.3
134  BuildRequires:  pkgconfig(libdrm)       >= 2.4.21  BuildRequires:  pkgconfig(libdrm)       >= 2.4.49
135    
136  BuildRequires:  pkgconfig(xext)         >= 1.1.1  BuildRequires:  pkgconfig(xext)         >= 1.1.1
137  BuildRequires:  pkgconfig(xxf86vm)      >= 1.1.0  BuildRequires:  pkgconfig(xxf86vm)      >= 1.1.0
# Line 206  Obsoletes:     hackMesa <= %{version} Line 202  Obsoletes:     hackMesa <= %{version}
202  Provides:       Mesa = %{version}  Provides:       Mesa = %{version}
203  Obsoletes:      Mesa < %{version}  Obsoletes:      Mesa < %{version}
204    
 %package -n     %{libdricorename}  
 Summary:        Shared library for DRI drivers  
 Group:          System/Libraries  
 Provides:       %{libdricorename_virt} = %{version}-%{release}  
   
 %package -n     %{libdricorename}-devel  
 Summary:        Development files for DRI core  
 Group:          Development/C  
 Requires:       %{libdricorename} = %{version}-%{release}  
 Provides:       lib%{dricorename}-devel = %{version}-%{release}  
 Provides:       %{dricorename}-devel = %{version}-%{release}  
   
205  %package -n     %{libglname}  %package -n     %{libglname}
206  Summary:        Files for Mesa (GL and GLX libs)  Summary:        Files for Mesa (GL and GLX libs)
207  Group:          System/Libraries  Group:          System/Libraries
# Line 367  Group:         System/Libraries Line 351  Group:         System/Libraries
351  # temporary:  # temporary:
352  %rename vdpau-driver-nouveau  %rename vdpau-driver-nouveau
353    
 %package -n     %{_lib}vdpau-driver-r300  
 Summary:        VDPAU plugin for r300 driver  
 Group:          System/Libraries  
 # temporary:  
 %rename vdpau-driver-r300  
   
354  %package -n     %{_lib}vdpau-driver-r600  %package -n     %{_lib}vdpau-driver-r600
355  Summary:        VDPAU plugin for r600 driver  Summary:        VDPAU plugin for r600 driver
356  Group:          System/Libraries  Group:          System/Libraries
# Line 385  Group:         System/Libraries Line 363  Group:         System/Libraries
363  # temporary:  # temporary:
364  %rename vdpau-driver-radeonsi  %rename vdpau-driver-radeonsi
365    
 %package -n     %{_lib}vdpau-driver-softpipe  
 Summary:        VDPAU plugin for softpipe driver  
 Group:          System/Libraries  
 # temporary:  
 %rename vdpau-driver-softpipe  
   
366  %package        common-devel  %package        common-devel
367  Summary:        Meta package for mesa devel  Summary:        Meta package for mesa devel
368  Group:          Development/C  Group:          Development/C
# Line 428  Mesa is an OpenGL %{opengl_ver} compatib Line 400  Mesa is an OpenGL %{opengl_ver} compatib
400  EGL development parts.  EGL development parts.
401  %endif  %endif
402    
 %description -n %{libdricorename}  
 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.  
 DRI core part.  
   
403  %description -n %{libglname}  %description -n %{libglname}
404  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
405  GL and GLX parts.  GL and GLX parts.
# Line 445  OpenGL extentions that are covered by so Line 413  OpenGL extentions that are covered by so
413  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
414  DRI drivers.  DRI drivers.
415    
 %description -n %{libdricorename}-devel  
 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.  
   
 This package contains the headers needed to compile DRI drivers.  
   
416  %description -n %{libglname}-devel  %description -n %{libglname}-devel
417  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
418    
# Line 516  Wayland EGL platform development parts. Line 479  Wayland EGL platform development parts.
479  This packages provides a VPDAU plugin to enable video acceleration  This packages provides a VPDAU plugin to enable video acceleration
480  with the nouveau driver.  with the nouveau driver.
481    
 %description -n %{_lib}vdpau-driver-r300  
 This packages provides a VPDAU plugin to enable video acceleration  
 with the r300 driver.  
   
482  %description -n %{_lib}vdpau-driver-r600  %description -n %{_lib}vdpau-driver-r600
483  This packages provides a VPDAU plugin to enable video acceleration  This packages provides a VPDAU plugin to enable video acceleration
484  with the r600 driver.  with the r600 driver.
# Line 528  with the r600 driver. Line 487  with the r600 driver.
487  This packages provides a VPDAU plugin to enable video acceleration  This packages provides a VPDAU plugin to enable video acceleration
488  with the radeonsi driver.  with the radeonsi driver.
489    
 %description -n %{_lib}vdpau-driver-softpipe  
 This packages provides a VPDAU plugin to enable video acceleration  
 with the softpipe driver.  
   
490  #------------------------------------------------------------------------------  #------------------------------------------------------------------------------
491    
492  %prep  %prep
# Line 645  find %{buildroot} -name '*.la' -exec rm Line 600  find %{buildroot} -name '*.la' -exec rm
600  %doc docs/COPYING  %doc docs/COPYING
601  %config(noreplace) %{_sysconfdir}/drirc  %config(noreplace) %{_sysconfdir}/drirc
602    
 %files -n %{libdricorename}  
 %{_libdir}/libdricore%{version}%{vsuffix}.so.%{dricoremajor}  
 %{_libdir}/libdricore%{version}%{vsuffix}.so.%{dricoremajor}.*  
   
 %files -n %{libdricorename}-devel  
 %{_libdir}/libdricore%{version}%{vsuffix}.so  
   
603  %files -n %{dridrivers}  %files -n %{dridrivers}
604  %defattr(-,root,root)  %defattr(-,root,root)
605  %doc docs/COPYING  %doc docs/COPYING
# Line 796  find %{buildroot} -name '*.la' -exec rm Line 744  find %{buildroot} -name '*.la' -exec rm
744  %files -n %{_lib}vdpau-driver-nouveau  %files -n %{_lib}vdpau-driver-nouveau
745  %{_libdir}/vdpau/libvdpau_nouveau.so.*  %{_libdir}/vdpau/libvdpau_nouveau.so.*
746    
 %files -n %{_lib}vdpau-driver-r300  
 %{_libdir}/vdpau/libvdpau_r300.so.*  
   
747  %files -n %{_lib}vdpau-driver-r600  %files -n %{_lib}vdpau-driver-r600
748  %{_libdir}/vdpau/libvdpau_r600.so.*  %{_libdir}/vdpau/libvdpau_r600.so.*
749    
750  %files -n %{_lib}vdpau-driver-radeonsi  %files -n %{_lib}vdpau-driver-radeonsi
751  %{_libdir}/vdpau/libvdpau_radeonsi.so.*  %{_libdir}/vdpau/libvdpau_radeonsi.so.*
752    
 %files -n %{_lib}vdpau-driver-softpipe  
 %{_libdir}/vdpau/libvdpau_softpipe.so.*  

Legend:
Removed from v.553821  
changed lines
  Added in v.554634

  ViewVC Help
Powered by ViewVC 1.1.30