From 9d03f465520734823675660565d659519cea1cf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Tue, 9 Dec 2014 21:25:35 +0100 Subject: RPM packaging: update tdeutils --- redhat/main/tdeutils/tdeutils-14.0.0.spec | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/redhat/main/tdeutils/tdeutils-14.0.0.spec b/redhat/main/tdeutils/tdeutils-14.0.0.spec index d59b7bada..eaf816702 100644 --- a/redhat/main/tdeutils/tdeutils-14.0.0.spec +++ b/redhat/main/tdeutils/tdeutils-14.0.0.spec @@ -92,9 +92,34 @@ BuildRequires: update-desktop-files BuildRequires: brp-check-trinity %endif +# XTST support +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?mgaversion} >= 4 +%define xtst_devel %{_lib}xtst-devel +%else +%define xtst_devel %{_lib}xtst%{?mgaversion:6}-devel +%endif +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +%define xtst_devel libXtst-devel +%endif +%{?xtst_devel:BuildRequires: %{xtst_devel}} + +# IDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# PCRE support +BuildRequires: pcre-devel + %if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 BuildRequires: libXScrnSaver-devel -BuildRequires: libXtst-devel %endif #%if 0%{?fedora} -- cgit v1.2.1