summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdeutils/tdeutils-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main/tdeutils/tdeutils-14.0.0.spec')
-rw-r--r--redhat/main/tdeutils/tdeutils-14.0.0.spec12
1 files changed, 11 insertions, 1 deletions
diff --git a/redhat/main/tdeutils/tdeutils-14.0.0.spec b/redhat/main/tdeutils/tdeutils-14.0.0.spec
index 5dd981dcd..dfd46f806 100644
--- a/redhat/main/tdeutils/tdeutils-14.0.0.spec
+++ b/redhat/main/tdeutils/tdeutils-14.0.0.spec
@@ -156,6 +156,9 @@ BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel
%define dont_relink 1
%endif
+%if "%{?tde_version}" == "14.1.0"
+%define build_tdefilereplace 1
+%endif
Requires: trinity-ark = %{version}-%{release}
Requires: trinity-kcalc = %{version}-%{release}
@@ -176,8 +179,9 @@ Requires: trinity-ksim = %{version}-%{release}
Requires: trinity-ktimer = %{version}-%{release}
Requires: trinity-tdewalletmanager = %{version}-%{release}
Requires: trinity-superkaramba = %{version}-%{release}
+%if 0%{?build_tdefilereplace}
Requires: trinity-tdefilereplace = %{version}-%{release}
-
+%endif
%description
Utilities for the Trinity Desktop Environment, including:
@@ -761,6 +765,8 @@ Here are just some examples of the things that can be done:
##########
+%if 0%{?build_tdefilereplace}
+
%package -n trinity-tdefilereplace
Summary: Batch search-and-replace component for TDE
Group: Applications/Utilities
@@ -786,6 +792,8 @@ This package is part of Trinity, as a component of the TDE utilities module.
%{tde_datadir}/icons/hicolor/*/apps/tdefilereplace.png
%{tde_datadir}/services/tdefilereplacepart.desktop
+%endif
+
##########
# afaik, nobody BR's it, and it pulls kdeutils into multilib -- Rex
@@ -957,8 +965,10 @@ export PATH="%{tde_bindir}:${PATH}"
%suse_update_desktop_file thinkpad
%suse_update_desktop_file kvaio
%suse_update_desktop_file KFloppy System Filesystem
+%if 0%{?build_tdefilereplace}
%suse_update_desktop_file -r tdefilereplace System FileManager
%endif
+%endif
# Icons from TDE Control Center should only be displayed in TDE
for i in %{?buildroot}%{tde_tdeappdir}/*.desktop ; do