15 |
%define _disable_ld_no_undefined 1 |
%define _disable_ld_no_undefined 1 |
16 |
|
|
17 |
|
|
18 |
%define git 20120802 |
%define git 20120906 |
19 |
|
%define git_branch 9.0 |
20 |
%define with_hardware 1 |
%define with_hardware 1 |
21 |
|
|
22 |
%define relc 0 |
%define relc 0 |
23 |
%define name mesa |
%define name mesa |
24 |
%define version 8.1.0 |
%define version 9.0.0 |
25 |
%define rel 6 |
%define rel 1 |
26 |
|
|
27 |
%define release %mkrel %{rel} |
%define release %mkrel %{rel} |
28 |
%define src_type tar.bz2 |
%define src_type tar.bz2 |
155 |
|
|
156 |
URL: http://www.mesa3d.org |
URL: http://www.mesa3d.org |
157 |
%if %{git} |
%if %{git} |
158 |
# (cg) Current commit ref: origin/mesa_7_5_branch |
# (blino) snapshot of 9.0 branch |
159 |
Source0: %{name}-%{git}.tar.bz2 |
Source0: %{name}-%{git_branch}-%{git}.tar.bz2 |
160 |
%else |
%else |
161 |
Source0: ftp://ftp.freedesktop.org/pub/mesa/%version/MesaLib-%{version}%{vsuffix}.%{src_type} |
Source0: ftp://ftp.freedesktop.org/pub/mesa/%version/MesaLib-%{version}%{vsuffix}.%{src_type} |
162 |
%endif |
%endif |
553 |
|
|
554 |
%prep |
%prep |
555 |
%if %{git} |
%if %{git} |
556 |
%setup -q -n mesa-%{git} |
%setup -q -n mesa-%{git_branch}-%{git} |
557 |
%else |
%else |
558 |
%setup -q -n Mesa-%{version}%{vsuffix} |
%setup -q -n Mesa-%{version}%{vsuffix} |
559 |
%endif |
%endif |