diff options
author | François Andriot <albator78@libertysurf.fr> | 2014-10-11 00:28:03 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2014-10-11 00:28:03 +0200 |
commit | 93915c7dddafd2f8e81bb0d9859d41d1e2c0e175 (patch) | |
tree | 1574ceb552a12c9ab98792f9b2a1d0d3f6da73cb /redhat | |
parent | ecddfc255d095adf16583b520eb5b9faf0fcf804 (diff) | |
download | tde-packaging-93915c7dddafd2f8e81bb0d9859d41d1e2c0e175.tar.gz tde-packaging-93915c7dddafd2f8e81bb0d9859d41d1e2c0e175.zip |
RPM Packaging: update tdelibs
Diffstat (limited to 'redhat')
-rw-r--r-- | redhat/tdelibs/tdelibs-14.0.0.spec | 41 |
1 files changed, 17 insertions, 24 deletions
diff --git a/redhat/tdelibs/tdelibs-14.0.0.spec b/redhat/tdelibs/tdelibs-14.0.0.spec index 8040e0aa5..9da0a7bfe 100644 --- a/redhat/tdelibs/tdelibs-14.0.0.spec +++ b/redhat/tdelibs/tdelibs-14.0.0.spec @@ -273,10 +273,24 @@ Requires: ca-certificates %define with_xrandr 1 %endif +# XCOMPOSITE support +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?mgaversion} >= 4 +%define xcomposite_devel %{_lib}xcomposite-devel +%else +%define xcomposite_devel %{_lib}xcomposite%{?mgaversion:1}-devel +%endif +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +%define xcomposite_devel libXcomposite-devel +%endif +%{?xcomposite_devel:BuildRequires: %{xcomposite_devel}} + # XT support %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: libXt-devel +%define xt_devel libXt-devel %endif +%{?xt_devel:BuildRequires: %{xt_devel}} # LIBMAGIC support BuildRequires: file-devel @@ -487,30 +501,9 @@ Provides: trinity-kdelibs-devel = %{version}-%{release} Requires: libtqt3-mt-devel >= 3.5.0 Requires: libtqt4-devel = 2:4.2.0 Requires: trinity-arts-devel >= 2:1.5.10 - -# ARTS support -Requires: trinity-arts-devel >= 2:1.5.10 - -# LIBART_LGPL support Requires: libart_lgpl-devel >= 2.3.22 - -# XT support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -Requires: libXt-devel -%endif - -# XCOMPOSITE support -%if 0%{?mgaversion} || 0%{?mdkversion} -%define -%if 0%{?mgaversion} >= 4 -Requires: %{_lib}xcomposite-devel -%else -Requires: %{_lib}xcomposite%{?mgaversion:1}-devel -%endif -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -Requires: libXcomposite-devel -%endif +%{?xcomposite_devel:Requires: %{xcomposite_devel}} +%{?xt_devel:Requires: %{xt_devel}} %description devel This package includes the header files you will need to compile |