/[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 388873 by umeabot, Sat Jan 12 18:55:31 2013 UTC revision 388874 by cjw, Wed Jan 16 21:53:28 2013 UTC
# Line 14  Line 14 
14  # (aco) Needed for the dri drivers  # (aco) Needed for the dri drivers
15  %define _disable_ld_no_undefined 1  %define _disable_ld_no_undefined 1
16    
17    # e3e1ffb2520498584ef402213d0c8aa4303a46a3
18  %define git 20121228  %define git 20130114
19  %define git_branch 9.1  %define git_branch 9.1
20  %define with_hardware 1  %define with_hardware 1
21    
# Line 25  Line 25 
25  %define name                    mesa  %define name                    mesa
26  %define fversion                9.1.0  %define fversion                9.1.0
27  %define version                 9.1.0  %define version                 9.1.0
28  %define rel                     3  %define rel                     1
29    
30  %define release                 %mkrel %{rel}  %define release                 %mkrel %{rel}
31  %define src_type tar.bz2  %define src_type tar.bz2
# Line 70  Line 70 
70  %define gbmmajor                1  %define gbmmajor                1
71  %define waylandeglmajor         1  %define waylandeglmajor         1
72  %define osmesamajor             8  %define osmesamajor             8
73    %define llvmradeonmajor         9.1.0
74    
75  %define libdricorename          %mklibname %{dricorename} %{dricoremajor}  %define libdricorename          %mklibname %{dricorename} %{dricoremajor}
76  %define libeglname              %mklibname %{eglname} %{eglmajor}  %define libeglname              %mklibname %{eglname} %{eglmajor}
# Line 82  Line 83 
83  %define libgbmname              %mklibname %{gbmname} %{gbmmajor}  %define libgbmname              %mklibname %{gbmname} %{gbmmajor}
84  %define libwaylandeglname       %mklibname %{waylandeglname} %{waylandeglmajor}  %define libwaylandeglname       %mklibname %{waylandeglname} %{waylandeglmajor}
85  %define libosmesaname           %mklibname osmesa %{osmesamajor}  %define libosmesaname           %mklibname osmesa %{osmesamajor}
86    %define libllvmradeonname       %mklibname llvmradeon %{llvmradeonmajor}
87    
88  %define dridrivers              %mklibname dri-drivers  %define dridrivers              %mklibname dri-drivers
89    
# Line 190  Patch201: 0201-revert-fix-glxinitializev Line 192  Patch201: 0201-revert-fix-glxinitializev
192  # Mageia/Mandriva patches  # Mageia/Mandriva patches
193  # git format-patch --start-number 900 mdv-redhat..mdv-patches  # git format-patch --start-number 900 mdv-redhat..mdv-patches
194  # (blino) llvmpipe test programs link fails when ld --as-needed option is used, reported as fdo #52167  # (blino) llvmpipe test programs link fails when ld --as-needed option is used, reported as fdo #52167
195  Patch901: 0901-gallium-only-link-static-archives-between-ld-start-e.patch  #Patch901: 0901-gallium-only-link-static-archives-between-ld-start-e.patch
196    
197  #------------------------------------------------------------------------------  #------------------------------------------------------------------------------
198    
# Line 331  Provides:      lib%{openvgname}-devel Line 333  Provides:      lib%{openvgname}-devel
333  Provides:       %{openvgname}-devel  Provides:       %{openvgname}-devel
334  Provides:       libopenvg-devel  Provides:       libopenvg-devel
335    
336    %package -n %{libllvmradeonname}
337    Summary:        Files for MESA (LLVM radeon library)
338    Group:          System/Libraries
339    
340  %if %{enable_wayland}  %if %{enable_wayland}
341  %package -n     %{libgbmname}  %package -n     %{libgbmname}
342  Summary:        Files for Mesa (gbm libs)  Summary:        Files for Mesa (gbm libs)
# Line 490  acceleration interface for vector graphi Line 496  acceleration interface for vector graphi
496  %description -n %{libopenvgname}-devel  %description -n %{libopenvgname}-devel
497  Development files for OpenVG library.  Development files for OpenVG library.
498    
499    %description -n %{libllvmradeonname}
500    Gallium LLVM Radeon driver.
501    
502  %if %{enable_wayland}  %if %{enable_wayland}
503  %description -n %{libgbmname}  %description -n %{libgbmname}
504  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
# Line 605  autoreconf -vfi Line 614  autoreconf -vfi
614  popd  popd
615    
616  %make  %make
617  %make -C build-osmesa || %make -C build-osmesa/src/mesa/program libprogram.la  %make -C build-osmesa || ( %make -C build-osmesa/src/mesa/program libprogram.la && %make -C build-osmesa )
 %make -C build-osmesa  
618    
619  %install  %install
620  %makeinstall_std -C build-osmesa  %makeinstall_std -C build-osmesa
# Line 700  find %{buildroot} -name '*.la' -exec rm Line 708  find %{buildroot} -name '*.la' -exec rm
708  %doc docs/COPYING  %doc docs/COPYING
709  %{_libdir}/libOpenVG.so.%{openvgmajor}*  %{_libdir}/libOpenVG.so.%{openvgmajor}*
710    
711    %files -n %{libllvmradeonname}
712    %defattr(-,root,root)
713    %{_libdir}/libllvmradeon9.1.0.so
714    
715  %if %{enable_wayland}  %if %{enable_wayland}
716  %files -n %{libgbmname}  %files -n %{libgbmname}
717  %{_libdir}/libgbm.so.%{gbmmajor}  %{_libdir}/libgbm.so.%{gbmmajor}
718  %{_libdir}/libgbm.so.%{gbmmajor}.*  %{_libdir}/libgbm.so.%{gbmmajor}.*
719  %{_libdir}/gbm/gbm_*.so  %{_libdir}/gbm/gbm_*.so
720  %{_libdir}/gbm/pipe_*.so  %{_libdir}/gallium-pipe/pipe_*.so
721    
722  %files -n %{libwaylandeglname}  %files -n %{libwaylandeglname}
723  %{_libdir}/libwayland-egl.so.%{waylandeglmajor}  %{_libdir}/libwayland-egl.so.%{waylandeglmajor}

Legend:
Removed from v.388873  
changed lines
  Added in v.388874

  ViewVC Help
Powered by ViewVC 1.1.30