/[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 271500 by blino, Mon Jul 16 20:19:17 2012 UTC revision 271501 by blino, Mon Jul 16 20:20:57 2012 UTC
# Line 44  Line 44 
44    
45  %define makedepend              %{_bindir}/gccmakedep  %define makedepend              %{_bindir}/gccmakedep
46    
47    %define dricorename             dricore
48  %define eglname                 mesaegl  %define eglname                 mesaegl
49  %define glname                  mesagl  %define glname                  mesagl
50  %define gluname                 mesaglu  %define gluname                 mesaglu
# Line 55  Line 56 
56  %define gbmname                 gbm  %define gbmname                 gbm
57  %define waylandeglname          wayland-egl  %define waylandeglname          wayland-egl
58    
59    %define dricoremajor            1
60  %define eglmajor                1  %define eglmajor                1
61  %define glmajor                 1  %define glmajor                 1
62  %define glumajor                1  %define glumajor                1
# Line 66  Line 68 
68  %define gbmmajor                1  %define gbmmajor                1
69  %define waylandeglmajor         1  %define waylandeglmajor         1
70    
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 libgluname              %mklibname %{gluname} %{glumajor}  %define libgluname              %mklibname %{gluname} %{glumajor}
# Line 80  Line 83 
83  %define dridrivers              %mklibname dri-drivers  %define dridrivers              %mklibname dri-drivers
84    
85  # Architecture-independent Virtual provides:  # Architecture-independent Virtual provides:
86    %define libdricorename_virt     lib%{dricorename}
87  %define libeglname_virt         lib%{eglname}  %define libeglname_virt         lib%{eglname}
88  %define libglname_virt          lib%{glname}  %define libglname_virt          lib%{glname}
89  %define libgluname_virt         lib%{gluname}  %define libgluname_virt         lib%{gluname}
# Line 190  Obsoletes:     hackMesa <= %{version} Line 194  Obsoletes:     hackMesa <= %{version}
194  Provides:       Mesa = %{version}  Provides:       Mesa = %{version}
195  Obsoletes:      Mesa < %{version}  Obsoletes:      Mesa < %{version}
196    
197    %package -n     %{libdricorename}
198    Summary:        Shared library for DRI drivers
199    Group:          System/Libraries
200    Provides:       %{libdricorename_virt} = %{version}-%{release}
201    
202    %package -n     %{libdricorename}-devel
203    Summary:        Development files for DRI core
204    Group:          Development/C
205    Requires:       %{libdricorename} = %{version}-%{release}
206    Provides:       lib%{dricorename}-devel = %{version}-%{release}
207    Provides:       %{dricorename}-devel = %{version}-%{release}
208    
209  %package -n     %{libglname}  %package -n     %{libglname}
210  Summary:        Files for Mesa (GL and GLX libs)  Summary:        Files for Mesa (GL and GLX libs)
211  Group:          System/Libraries  Group:          System/Libraries
# Line 394  Mesa is an OpenGL 2.1 compatible 3D grap Line 410  Mesa is an OpenGL 2.1 compatible 3D grap
410  EGL development parts.  EGL development parts.
411  %endif  %endif
412    
413    %description -n %{libdricorename}
414    Mesa is an OpenGL 2.1 compatible 3D graphics library.
415    DRI core part.
416    
417  %description -n %{libglname}  %description -n %{libglname}
418  Mesa is an OpenGL 2.1 compatible 3D graphics library.  Mesa is an OpenGL 2.1 compatible 3D graphics library.
419  GL and GLX parts.  GL and GLX parts.
# Line 407  OpenGL extentions that are covered by so Line 427  OpenGL extentions that are covered by so
427  Mesa is an OpenGL 2.1 compatible 3D graphics library.  Mesa is an OpenGL 2.1 compatible 3D graphics library.
428  DRI drivers.  DRI drivers.
429    
430    %description -n %{libdricorename}-devel
431    Mesa is an OpenGL 2.1 compatible 3D graphics library.
432    
433    This package contains the headers needed to compile DRI drivers.
434    
435  %description -n %{libglname}-devel  %description -n %{libglname}-devel
436  Mesa is an OpenGL 2.1 compatible 3D graphics library.  Mesa is an OpenGL 2.1 compatible 3D graphics library.
437    
# Line 570  find %{buildroot} -name '*.la' -exec rm Line 595  find %{buildroot} -name '*.la' -exec rm
595  %doc docs/COPYING  %doc docs/COPYING
596  %config(noreplace) %{_sysconfdir}/drirc  %config(noreplace) %{_sysconfdir}/drirc
597    
598    %files -n %{libdricorename}
599    %{_libdir}/libdricore%{version}.so.%{dricoremajor}
600    %{_libdir}/libdricore%{version}.so.%{dricoremajor}.*
601    
602    %files -n %{libdricorename}-devel
603    %{_libdir}/libdricore%{version}.so
604    
605  %files -n %{dridrivers}  %files -n %{dridrivers}
606  %defattr(-,root,root)  %defattr(-,root,root)
607  %doc docs/COPYING  %doc docs/COPYING
608  %ifnarch ppc64  %ifnarch ppc64
609  %dir %{_libdir}/dri  %dir %{_libdir}/dri
 %{_libdir}/dri/libdricore.so  
610  # (blino) new mesa 8.1 build system seems to use a static libglsl  # (blino) new mesa 8.1 build system seems to use a static libglsl
611  #%{_libdir}/dri/libglsl.so  #%{_libdir}/dri/libglsl.so
612  %{_libdir}/dri/*_dri.so  %{_libdir}/dri/*_dri.so

Legend:
Removed from v.271500  
changed lines
  Added in v.271501

  ViewVC Help
Powered by ViewVC 1.1.30