From 2bdb0ca57d3ad95d94d1c20a395c5bf210bbcacd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 24 Nov 2013 12:25:52 +0100 Subject: RPM Packaging: add Xine 1.2 dependency --- redhat/applications/kaffeine/kaffeine-14.0.0.spec | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'redhat/applications/kaffeine/kaffeine-14.0.0.spec') 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 - 0.8.8-7 +* Fri Jul 05 2013 Francois Andriot - 0.8.8-8 - Initial release for TDE 14.0.0 -- cgit v1.2.1