summaryrefslogtreecommitdiffstats
path: root/redhat/applications/graphics/ksquirrel/ksquirrel.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/graphics/ksquirrel/ksquirrel.spec')
-rw-r--r--redhat/applications/graphics/ksquirrel/ksquirrel.spec14
1 files changed, 5 insertions, 9 deletions
diff --git a/redhat/applications/graphics/ksquirrel/ksquirrel.spec b/redhat/applications/graphics/ksquirrel/ksquirrel.spec
index 670670175..1bc7e9746 100644
--- a/redhat/applications/graphics/ksquirrel/ksquirrel.spec
+++ b/redhat/applications/graphics/ksquirrel/ksquirrel.spec
@@ -80,24 +80,20 @@ BuildRequires: brp-check-trinity
%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}
-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
%description