summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2016-09-05 19:45:01 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2016-09-05 19:47:54 +0200
commit68bdd38edf8175e150ed2d6f3ff002344712e8ea (patch)
treecc626cf2e685ddd34b013425def0402fd0567ab0
parent07d7faf51637503308a6c8d8780b7df8f9e6f094 (diff)
downloadtde-packaging-68bdd38edf8175e150ed2d6f3ff002344712e8ea.tar.gz
tde-packaging-68bdd38edf8175e150ed2d6f3ff002344712e8ea.zip
RPM Packaging: fix gstreamer dependency on Kaffeine
-rw-r--r--redhat/applications/kaffeine/kaffeine-14.0.0.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/redhat/applications/kaffeine/kaffeine-14.0.0.spec b/redhat/applications/kaffeine/kaffeine-14.0.0.spec
index 7d889c785..2132de999 100644
--- a/redhat/applications/kaffeine/kaffeine-14.0.0.spec
+++ b/redhat/applications/kaffeine/kaffeine-14.0.0.spec
@@ -120,17 +120,17 @@ BuildRequires: libxcb-devel
# GSTREAMER support
%if 0%{?rhel} >= 5 || 0%{?suse_version} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
%define with_gstreamer 1
-%if 0%{?suse_version}
-BuildRequires: gstreamer-0_10-devel
-BuildRequires: gstreamer-0_10-plugins-base-devel
-%endif
%if 0%{?rhel} == 4
BuildRequires: gstreamer-devel
BuildRequires: gstreamer-plugins-devel
%endif
-%if 0%{?rhel} >= 5 || 0%{?fedora}
-BuildRequires: gstreamer-devel >= 1.0
-BuildRequires: gstreamer-plugins-base-devel >= 1.0
+%if 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: gstreamer-devel
+BuildRequires: gstreamer-plugins-base-devel
+%endif
+%if 0%{?rhel} >= 7
+BuildRequires: gstreamer1-devel >= 1.0
+BuildRequires: gstreamer1-plugins-base-devel >= 1.0
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}gstreamer1.0-devel