12 |
|
|
13 |
# define version, RC & release |
# define version, RC & release |
14 |
%define main_version 18.0.0 |
%define main_version 18.0.0 |
15 |
%define relc 5 |
#define relc 5 |
16 |
%define rel 1 |
%define rel 1 |
17 |
|
|
18 |
%define release %mkrel %{?relc:0.rc%{relc}.}%{rel} |
%define release %mkrel %{?relc:0.rc%{relc}.}%{rel} |
115 |
BuildRequires: pkgconfig(expat) >= 2.0.1 |
BuildRequires: pkgconfig(expat) >= 2.0.1 |
116 |
BuildRequires: gccmakedep |
BuildRequires: gccmakedep |
117 |
BuildRequires: x11-proto-devel >= 7.3 |
BuildRequires: x11-proto-devel >= 7.3 |
118 |
BuildRequires: pkgconfig(libdrm) >= 2.4.60 |
BuildRequires: pkgconfig(libdrm) >= 2.4.91 |
119 |
BuildRequires: pkgconfig(xcb-dri3) |
BuildRequires: pkgconfig(xcb-dri3) |
120 |
BuildRequires: pkgconfig(xcb-present) >= 1.11 |
BuildRequires: pkgconfig(xcb-present) >= 1.11 |
121 |
BuildRequires: pkgconfig(xext) >= 1.1.1 |
BuildRequires: pkgconfig(xext) >= 1.1.1 |
122 |
BuildRequires: pkgconfig(xxf86vm) >= 1.1.0 |
BuildRequires: pkgconfig(xxf86vm) >= 1.1.0 |
123 |
BuildRequires: pkgconfig(xi) >= 1.3 |
BuildRequires: pkgconfig(xi) >= 1.3 |
124 |
BuildRequires: pkgconfig(talloc) |
BuildRequires: pkgconfig(talloc) |
125 |
BuildRequires: libxml2-python |
BuildRequires: python3-libxml2 |
126 |
BuildRequires: python-mako |
BuildRequires: python3-mako |
127 |
BuildRequires: makedepend |
BuildRequires: makedepend |
128 |
BuildRequires: bison |
BuildRequires: bison |
129 |
BuildRequires: flex |
BuildRequires: flex |
509 |
%prep |
%prep |
510 |
%autosetup -n %{name}-%{version}%{?relc:-rc%{relc}} -p1 |
%autosetup -n %{name}-%{version}%{?relc:-rc%{relc}} -p1 |
511 |
|
|
|
# this is a hack for S3TC support. r200_screen.c is symlinked to |
|
|
# radeon_screen.c in git, but is its own file in the tarball. |
|
|
cp -f src/mesa/drivers/dri/{radeon,r200}/radeon_screen.c |
|
|
|
|
512 |
%build |
%build |
513 |
# (re)generate auto* generated files using our autotools and libtoolize |
# (re)generate auto* generated files using our autotools and libtoolize |
514 |
autoreconf -vfi |
autoreconf -vfi |