summaryrefslogtreecommitdiffstats
path: root/redhat/applications/k3b
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/k3b')
-rw-r--r--redhat/applications/k3b/k3b-14.0.0.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/redhat/applications/k3b/k3b-14.0.0.spec b/redhat/applications/k3b/k3b-14.0.0.spec
index 779501470..e5a3aca8b 100644
--- a/redhat/applications/k3b/k3b-14.0.0.spec
+++ b/redhat/applications/k3b/k3b-14.0.0.spec
@@ -115,6 +115,12 @@ Requires: cdrdao
BuildRequires: libudev-devel
%endif
+# HAL support
+%if 0%{?rhel} == 5
+%define with_hal 1
+BuildRequires: hal-devel
+%endif
+
# DBUS support
# TQT bindings not available for RHEL4
%if 0%{?rhel} == 4
@@ -474,7 +480,7 @@ fi
%{?with_libmad:--with-libmad} %{?!with_libmad:--without-libmad} \
--with-musepack \
--without-resmgr \
- --without-hal
+ %{?with_hal:--with-hal} %{?!with_hal:--without-hal} \
# Strange behaviour on RHEL4 ...
%if 0%{?rhel} == 4