From 8ff9a5191fd4905b9389daa2fab2bb45579ccdfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Tue, 28 Oct 2014 06:41:12 +0100 Subject: [PATCH] RPM Packaging: update R14 packages --- redhat/dependencies/tqt3/tqt3-14.0.0.spec | 13 ++++++++++--- redhat/tdebase/tdebase-14.0.0.spec | 16 ++++++++-------- redhat/tdemultimedia/tdemultimedia-14.0.0.spec | 5 ----- 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/redhat/dependencies/tqt3/tqt3-14.0.0.spec b/redhat/dependencies/tqt3/tqt3-14.0.0.spec index a55d14c49..73336203d 100644 --- a/redhat/dependencies/tqt3/tqt3-14.0.0.spec +++ b/redhat/dependencies/tqt3/tqt3-14.0.0.spec @@ -108,11 +108,17 @@ BuildRequires: cups-devel %endif %{?uuid_devel:BuildRequires: %{uuid_devel}} -# NAS support -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +# LIBAUDIO support +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} %define with_nas 1 -BuildRequires: nas-devel +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define libaudio_devel nas-devel +%endif +%if 0%{?suse_version} +%define libaudio_devel libaudio-devel +%endif %endif +%{?libaudio_devel:BuildRequires: %{libaudio_devel}} # Xrender support %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} @@ -364,6 +370,7 @@ Requires: zlib-devel %{?x11_devel:Requires: %{x11_devel}} %{?sm_devel:Requires: %{sm_devel}} %{?ice_devel:Requires: %{ice_devel}} +%{?libaudio_devel:Requires: %{libaudio_devel}} %description -n %{libtqt3}-mt-devel TQt is a C++ class library optimized for graphical user interface diff --git a/redhat/tdebase/tdebase-14.0.0.spec b/redhat/tdebase/tdebase-14.0.0.spec index 90a1e5ee3..ce030c583 100644 --- a/redhat/tdebase/tdebase-14.0.0.spec +++ b/redhat/tdebase/tdebase-14.0.0.spec @@ -424,11 +424,6 @@ BuildRequires: Mesa-libGL-devel BuildRequires: Mesa-libGLU-devel %endif -# NAS support -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: nas-devel -%endif - # DBUS support # TQT bindings not available for RHEL4 %if 0%{?rhel} == 4 @@ -485,14 +480,15 @@ BuildRequires: libXdmcp-devel # XTST support %if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} >= 4 -BuildRequires: %{_lib}xtst-devel +%define xtst_devel %{_lib}xtst-devel %else -BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel +%define xtst_devel %{_lib}xtst%{?mgaversion:6}-devel %endif %endif %if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libXtst-devel +%define xtst_devel libXtst-devel %endif +%{?xtst_devel:BuildRequires: %{xtst_devel}} # XDAMAGE support %if 0%{?mgaversion} || 0%{?mdkversion} @@ -1369,6 +1365,7 @@ update-desktop-database %{tde_appdir} 2> /dev/null || : Summary: Development files for core binaries for the TDE base module Group: Development/Libraries/Other Requires: %{name}-bin = %{version}-%{release} +%{?xtst_devel:Requires: %{xtst_devel}} Obsoletes: tdebase-bin-devel < %{version}-%{release} Provides: tdebase-bin-devel = %{version}-%{release} @@ -2257,6 +2254,7 @@ fi Summary: Development files for tdm Group: Development/Libraries/Other Requires: trinity-tdm = %{version}-%{release} +%{?xtst_devel:Requires: %{xtst_devel}} %description -n trinity-tdm-devel %{summary}. @@ -2490,6 +2488,7 @@ done Summary: Development files for kicker Group: Development/Libraries/Other Requires: trinity-kicker = %{version}-%{release} +%{?xtst_devel:Requires: %{xtst_devel}} %description -n trinity-kicker-devel %{summary}. @@ -3340,6 +3339,7 @@ These libraries allow you to use TDE dialogs in native TQt3 applications. Summary: Development files for Konqueror's core libraries Group: Development/Libraries/Other Requires: trinity-libkonq = %{version}-%{release} +%{?xtst_devel:Requires: %{xtst_devel}} %description -n trinity-libkonq-devel This package contains headers and other development files for the core diff --git a/redhat/tdemultimedia/tdemultimedia-14.0.0.spec b/redhat/tdemultimedia/tdemultimedia-14.0.0.spec index c6250e8b3..deed6e9b0 100644 --- a/redhat/tdemultimedia/tdemultimedia-14.0.0.spec +++ b/redhat/tdemultimedia/tdemultimedia-14.0.0.spec @@ -115,11 +115,6 @@ BuildRequires: libtheora-devel BuildRequires: alsa-lib-devel BuildRequires: cdparanoia -# NAS support -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: nas-devel -%endif - # CDDA support %if 0%{?mgaversion} || 0%{?mdkversion} BuildRequires: libcdda-devel