summaryrefslogtreecommitdiffstats
path: root/redhat/applications/multimedia/k3b/k3b.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/multimedia/k3b/k3b.spec')
-rw-r--r--redhat/applications/multimedia/k3b/k3b.spec10
1 files changed, 9 insertions, 1 deletions
diff --git a/redhat/applications/multimedia/k3b/k3b.spec b/redhat/applications/multimedia/k3b/k3b.spec
index ddbdf76df..3a4fe93d1 100644
--- a/redhat/applications/multimedia/k3b/k3b.spec
+++ b/redhat/applications/multimedia/k3b/k3b.spec
@@ -78,7 +78,7 @@ BuildRequires: brp-check-trinity
%endif
# ALSA supportl
-%if 0%{?mdkver}
+%if 0%{?mdkver} >= 5000000
BuildRequires: %{_lib}asound-devel
%else
BuildRequires: alsa-lib-devel
@@ -91,7 +91,11 @@ BuildRequires: zlib-devel
# VORBIS support
%if 0%{?mdkver} || 0%{?mgaversion}
+%if 0%{?pclinuxos}
+%define libvorbis_devel %{_lib}vorbis0-devel
+%else
%define libvorbis_devel %{_lib}vorbis-devel
+%endif
%else
%define libvorbis_devel libvorbis-devel
%endif
@@ -152,7 +156,11 @@ Requires: cdrdao
# UDEV support
%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6
%if 0%{?mdkversion} || 0%{?mgaversion}
+%if 0%{?pclinuxos}
+BuildRequires: %{_lib}udev1-devel
+%else
BuildRequires: %{_lib}udev-devel
+%endif
%else
BuildRequires: libudev-devel
%endif