summaryrefslogtreecommitdiffstats
path: root/redhat/core/tdegraphics/tdegraphics.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/core/tdegraphics/tdegraphics.spec')
-rw-r--r--redhat/core/tdegraphics/tdegraphics.spec18
1 files changed, 7 insertions, 11 deletions
diff --git a/redhat/core/tdegraphics/tdegraphics.spec b/redhat/core/tdegraphics/tdegraphics.spec
index 67a60e45f..f7abbc9e9 100644
--- a/redhat/core/tdegraphics/tdegraphics.spec
+++ b/redhat/core/tdegraphics/tdegraphics.spec
@@ -196,30 +196,26 @@ BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel
%endif
# MESA support
-%if 0%{?rhel} || 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel}
BuildRequires: mesa-libGL-devel
BuildRequires: mesa-libGLU-devel
%endif
-%if 0%{?mdkversion} || 0%{?mgaversion}
-%if 0%{?mdkver} >= 24090000
-BuildRequires: %{_lib}glu-devel
-%else
-BuildRequires: mesaglu-devel
+%if 0%{?mgaversion} || 0%{?pclinuxos}
+BuildRequires: %{_lib}mesaglu1-devel
%endif
+%if 0%{?mdkver} >= 5000000
+BuildRequires: %{_lib}glu-devel
%endif
%if 0%{?suse_version}
BuildRequires: Mesa-libGL-devel
BuildRequires: Mesa-libGLU-devel
%endif
-%if 0%{?rhel} == 4
-BuildRequires: xorg-x11-Mesa-libGLU
-%endif
# DRM support
%if 0%{?rhel} == 4
BuildRequires: xorg-x11-devel
%else
-%if 0%{?mdkver}
+%if 0%{?mdkver} >= 5000000
BuildRequires: %{_lib}drm-devel
%else
BuildRequires: libdrm-devel
@@ -227,7 +223,7 @@ BuildRequires: libdrm-devel
%endif
# OPENEXR support
-%if 0%{?mdkver} >= 24090000
+%if 0%{?mdkver} >= 5000000
BuildRequires: %{_lib}openexr-devel
%else
BuildRequires: OpenEXR-devel