9 |
%define _disable_ld_no_undefined 1 |
%define _disable_ld_no_undefined 1 |
10 |
|
|
11 |
# freeglut should replace mesaglut soon |
# freeglut should replace mesaglut soon |
12 |
%define with_mesaglut 0 |
%define with_mesaglut 1 |
13 |
|
|
14 |
%define git 20110620 |
%define git 20110712 |
15 |
%define with_hardware 1 |
%define with_hardware 1 |
16 |
|
|
17 |
%define relc 0 |
%define relc 1 |
18 |
%define name mesa |
%define name mesa |
19 |
%define version 7.11 |
%define version 7.11 |
20 |
%define rel 0 |
%define rel 1 |
21 |
|
|
22 |
%define release %mkrel %{rel} |
%define release %mkrel %{rel} |
23 |
%define src_type tar.bz2 |
%define src_type tar.bz2 |
31 |
|
|
32 |
%if %{git} |
%if %{git} |
33 |
%if %{relc} |
%if %{relc} |
34 |
%define release %mkrel 0.rc%{relc}.2.git%{git}.%{rel} |
%define release %mkrel 0.rc%{relc}.1.git%{git}.%{rel} |
35 |
%else |
%else |
36 |
%define release %mkrel 0.git%{git}.%{rel} |
%define release %mkrel 0.git%{git}.%{rel} |
37 |
%endif |
%endif |
129 |
BuildRequires: makedepend |
BuildRequires: makedepend |
130 |
BuildRequires: bison flex |
BuildRequires: bison flex |
131 |
BuildRequires: llvm |
BuildRequires: llvm |
132 |
|
BuildRequires: udev-devel |
133 |
|
|
134 |
URL: http://www.mesa3d.org |
URL: http://www.mesa3d.org |
135 |
%if %{git} |
%if %{git} |
512 |
EOF |
EOF |
513 |
|
|
514 |
%build |
%build |
515 |
#%if %{git} |
%if %{git} |
516 |
#./autogen.sh -v |
./autogen.sh -v |
517 |
#%endif |
%endif |
518 |
|
|
519 |
# Required by patch200: |
# Required by patch200: |
520 |
autoreconf -vfi |
autoreconf -vfi |
629 |
%doc docs/COPYING |
%doc docs/COPYING |
630 |
%{_libdir}/libEGL.so.%{eglmajor}* |
%{_libdir}/libEGL.so.%{eglmajor}* |
631 |
%dir %{_libdir}/egl |
%dir %{_libdir}/egl |
|
%{_libdir}/egl/egl_gallium.so |
|
|
%{_libdir}/egl/pipe_nouveau.so |
|
|
%{_libdir}/egl/pipe_r300.so |
|
|
%{_libdir}/egl/pipe_r600.so |
|
|
%{_libdir}/egl/pipe_swrast.so |
|
632 |
%{_libdir}/egl/st_GL.so |
%{_libdir}/egl/st_GL.so |
|
%{_libdir}/egl/st_OpenVG.so |
|
633 |
%endif |
%endif |
634 |
|
|
635 |
%files -n %{libglapiname} |
%files -n %{libglapiname} |