summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2016-10-08 13:53:29 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2016-10-08 13:53:29 +0200
commitfbd6735c333fc437427370e7cde9919416d493d6 (patch)
treea1f3cea5d7bbb6f15983e31436e8eaa411231a6b
parent45b13604231e96e51d9b1cb5b5cc96d4a7ae47c2 (diff)
downloadtde-packaging-fbd6735c333fc437427370e7cde9919416d493d6.tar.gz
tde-packaging-fbd6735c333fc437427370e7cde9919416d493d6.zip
RPM packaging: enable dvdread support in k3b, k9copy
-rw-r--r--redhat/applications/k3b/k3b-14.0.0.spec4
-rw-r--r--redhat/applications/k9copy/k9copy-14.0.0.spec7
2 files changed, 7 insertions, 4 deletions
diff --git a/redhat/applications/k3b/k3b-14.0.0.spec b/redhat/applications/k3b/k3b-14.0.0.spec
index 82d3a1147..f1a5777c2 100644
--- a/redhat/applications/k3b/k3b-14.0.0.spec
+++ b/redhat/applications/k3b/k3b-14.0.0.spec
@@ -150,14 +150,12 @@ BuildRequires: libsamplerate-devel
%endif
# DVDREAD support
-%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 4
%define with_dvdread 1
%if 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: %{_lib}dvdread-devel
%else
BuildRequires: libdvdread-devel
%endif
-%endif
# FLAC support
%if 0%{?mgaversion} || 0%{?mdkversion}
@@ -204,7 +202,6 @@ BuildRequires: lame-devel
%endif
# FFMPEG support
-%if 0%{?opensuse_bs} == 0
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
%define with_ffmpeg 1
%if 0%{?mdkversion} || 0%{?mgaversion}
@@ -214,7 +211,6 @@ BuildRequires: %{_lib}ffmpeg-devel
BuildRequires: ffmpeg-devel
%endif
%endif
-%endif
%description
diff --git a/redhat/applications/k9copy/k9copy-14.0.0.spec b/redhat/applications/k9copy/k9copy-14.0.0.spec
index 3aff74b24..261f28ba7 100644
--- a/redhat/applications/k9copy/k9copy-14.0.0.spec
+++ b/redhat/applications/k9copy/k9copy-14.0.0.spec
@@ -81,6 +81,13 @@ BuildRequires: brp-check-trinity
BuildRequires: ffmpeg-devel
Requires: ffmpeg
+# DVDREAD support
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: %{_lib}dvdread-devel
+%else
+BuildRequires: libdvdread-devel
+%endif
+
%description
k9copy is a tabbed tool that allows to copy of one or more titles from a DVD9