summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdewebdev
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2016-10-15 11:28:59 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2016-10-15 11:28:59 +0200
commit638ac6d0735dd47698cfad8b868130bf50218428 (patch)
tree29c11c273e89e1b7a470b84bcaf4a368e71905f8 /redhat/main/tdewebdev
parent0ebccb0813170073221d2ceea37fc3549b41f412 (diff)
downloadtde-packaging-638ac6d0735dd47698cfad8b868130bf50218428.tar.gz
tde-packaging-638ac6d0735dd47698cfad8b868130bf50218428.zip
RPM packaging: fix tdeutils, tdewebdev build on r14.0.x
Diffstat (limited to 'redhat/main/tdewebdev')
-rw-r--r--redhat/main/tdewebdev/tdewebdev-14.0.0.spec37
1 files changed, 37 insertions, 0 deletions
diff --git a/redhat/main/tdewebdev/tdewebdev-14.0.0.spec b/redhat/main/tdewebdev/tdewebdev-14.0.0.spec
index 557931db4..3c1339762 100644
--- a/redhat/main/tdewebdev/tdewebdev-14.0.0.spec
+++ b/redhat/main/tdewebdev/tdewebdev-14.0.0.spec
@@ -94,6 +94,9 @@ BuildRequires: perl
BuildRequires: libxml2-devel
#endif
+%if "%{?tde_version}" != "14.1.0"
+%define build_tdefilereplace 1
+%endif
Obsoletes: trinity-kdewebdev-libs < %{version}-%{release}
Provides: trinity-kdewebdev-libs = %{version}-%{release}
@@ -367,6 +370,37 @@ This package is part of TDE, as a component of the TDE web development module.
##########
+%if 0%{?build_tdefilereplace}
+
+%package -n trinity-tdefilereplace
+Summary: Batch search-and-replace component for TDE
+Group: Applications/Utilities
+
+%description -n trinity-tdefilereplace
+TDEFileReplace is an embedded component for TDE that acts as a batch
+search-and-replace tool. It allows you to replace one expression with
+another in many files at once.
+
+Note that at the moment TDEFileReplace does not come as a standalone
+application.
+
+This package is part of Trinity, as a component of the TDE utilities module.
+
+%files -n trinity-tdefilereplace
+%{tde_bindir}/tdefilereplace
+%{tde_tdelibdir}/libtdefilereplacepart.la
+%{tde_tdelibdir}/libtdefilereplacepart.so
+%{tde_tdeappdir}/tdefilereplace.desktop
+%{tde_datadir}/apps/tdefilereplace/
+%{tde_datadir}/apps/tdefilereplacepart/
+%{tde_tdedocdir}/HTML/en/tdefilereplace/
+%{tde_datadir}/icons/hicolor/*/apps/tdefilereplace.png
+%{tde_datadir}/services/tdefilereplacepart.desktop
+
+%endif
+
+##########
+
%package devel
Group: Development/Libraries
Summary: Header files and documentation for %{name}
@@ -470,6 +504,9 @@ cp -a php php.docrc %{buildroot}%{tde_datadir}/apps/quanta/doc/
%suse_update_desktop_file kmdr-editor Development GUIDesigner
%suse_update_desktop_file kmdr-executor Development GUIDesigner
%suse_update_desktop_file -r quanta Office WebDevelopment
+%if 0%{?build_tdefilereplace}
+%suse_update_desktop_file -r tdefilereplace System FileManager
+%endif
%endif
# Adds missing icons in 'hicolor' theme