diff options
Diffstat (limited to 'redhat/main/tdenetwork/tdenetwork.spec')
-rw-r--r-- | redhat/main/tdenetwork/tdenetwork.spec | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/redhat/main/tdenetwork/tdenetwork.spec b/redhat/main/tdenetwork/tdenetwork.spec index de6aa9e8e..b2a5f6a48 100644 --- a/redhat/main/tdenetwork/tdenetwork.spec +++ b/redhat/main/tdenetwork/tdenetwork.spec @@ -259,6 +259,13 @@ BuildRequires: speex-devel %define dont_relink 1 %endif +# Build kopete motionaway plugin +%if 0%{?rhel} == 5 +%define global build_kopete_motionaway 0 +%else +%define global build_kopete_motionaway 1 +%endif + Obsoletes: trinity-kdenetwork < %{version}-%{release} Provides: trinity-kdenetwork = %{version}-%{release} Obsoletes: trinity-kdenetwork-libs < %{version}-%{release} @@ -695,8 +702,10 @@ Support for more IM protocols can be added through a plugin system. # winpopup support for kopete %{tde_bindir}/winpopup-install.sh %{tde_bindir}/winpopup-send.sh +%if 0%{?build_kopete_motionaway} # motionaway plugin for kopete %{tde_datadir}/config.kcfg/motionawayconfig.kcfg +%endif # smpp plugin for kopete %{tde_datadir}/config.kcfg/smpppdcs.kcfg # aim support is deprecated in TDE 14.1.0 @@ -1104,6 +1113,7 @@ fi -DBUILD_ALL=ON \ -DBUILD_KOPETE_PLUGIN_ALL=ON \ -DBUILD_KOPETE_PROTOCOL_ALL=ON \ + %{!?build_kopete_motionaway:-DBUILD_KOPETE_PLUGIN_MOTIONAUTOAWAY=OFF} \ %{!?with_gadu:-DBUILD_KOPETE_PROTOCOL_GADU=OFF} \ %{!?with_meanwhile:-DBUILD_KOPETE_PROTOCOL_MEANWHILE=OFF} \ .. |