summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kaffeine/kaffeine-14.0.0.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-11-24 12:25:52 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2013-11-24 12:25:52 +0100
commit2bdb0ca57d3ad95d94d1c20a395c5bf210bbcacd (patch)
tree602c425d9c5e2beaa3210482a5cd69ab3cd989aa /redhat/applications/kaffeine/kaffeine-14.0.0.spec
parent3393e97ae67ea5094c4e10f39600c1c67f026c09 (diff)
downloadtde-packaging-2bdb0ca57d3ad95d94d1c20a395c5bf210bbcacd.tar.gz
tde-packaging-2bdb0ca57d3ad95d94d1c20a395c5bf210bbcacd.zip
RPM Packaging: add Xine 1.2 dependency
Diffstat (limited to 'redhat/applications/kaffeine/kaffeine-14.0.0.spec')
-rw-r--r--redhat/applications/kaffeine/kaffeine-14.0.0.spec18
1 files changed, 12 insertions, 6 deletions
diff --git a/redhat/applications/kaffeine/kaffeine-14.0.0.spec b/redhat/applications/kaffeine/kaffeine-14.0.0.spec
index d8ea7107a..776e36730 100644
--- a/redhat/applications/kaffeine/kaffeine-14.0.0.spec
+++ b/redhat/applications/kaffeine/kaffeine-14.0.0.spec
@@ -26,7 +26,7 @@ Name: trinity-%{tde_pkg}
Summary: Xine-based media player
Version: 0.8.8
-Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
+Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Multimedia
@@ -99,11 +99,17 @@ BuildRequires: libgstreamer-plugins-base-devel >= 0.10
%endif
# XINE support
-%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
-BuildRequires: libxine-devel
+%if 0%{?fedora} || 0%{?rhel} >= 4 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_xine 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xine1.2-devel
+%endif
+%if 0%{?fedora} || 0%{?rhel}
+BuildRequires: xine-lib-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: libxine-devel
%endif
-%if 0%{?rhel} || 0%{?fedora}
-BuildRequires: xine-lib-devel
%endif
# LAME support
@@ -271,5 +277,5 @@ rm -rf $RPM_BUILD_ROOT
%changelog
-* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.8-7
+* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.8-8
- Initial release for TDE 14.0.0