summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-12-09 21:25:35 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2014-12-09 21:25:35 +0100
commit9d03f465520734823675660565d659519cea1cf5 (patch)
treec5eacee07f9a0a18e50d8b9d1dbaf9425ff8267b /redhat
parent22ca68f43c9b038b35b554020dbbf406cf1e708f (diff)
downloadtde-packaging-9d03f465520734823675660565d659519cea1cf5.tar.gz
tde-packaging-9d03f465520734823675660565d659519cea1cf5.zip
RPM packaging: update tdeutils
Diffstat (limited to 'redhat')
-rw-r--r--redhat/main/tdeutils/tdeutils-14.0.0.spec27
1 files changed, 26 insertions, 1 deletions
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}