RPM packaging: remove tdefilereplace in tdewebdev

pull/3/head
François Andriot 9 years ago
parent 1f8ba9d80a
commit 87b35ffa4d

@ -176,29 +176,31 @@ Requires: trinity-ksim = %{version}-%{release}
Requires: trinity-ktimer = %{version}-%{release} Requires: trinity-ktimer = %{version}-%{release}
Requires: trinity-tdewalletmanager = %{version}-%{release} Requires: trinity-tdewalletmanager = %{version}-%{release}
Requires: trinity-superkaramba = %{version}-%{release} Requires: trinity-superkaramba = %{version}-%{release}
Requires: trinity-tdefilereplace = %{version}-%{release}
%description %description
Utilities for the Trinity Desktop Environment, including: Utilities for the Trinity Desktop Environment, including:
* ark (tar/gzip archive manager) * ark (tar/gzip archive manager)
* kcalc (scientific calculator) * kcalc (scientific calculator)
* kcharselect (character selector) * kcharselect (character selector)
* tdelirc (infrared control) * tdelirc (infrared control)
* tdessh (ssh front end) * tdessh (ssh front end)
* kdf (view disk usage) * kdf (view disk usage)
* kedit (simple text editor) * kedit (simple text editor)
* kfloppy (floppy formatting tool) * kfloppy (floppy formatting tool)
* kgpg (gpg gui) * kgpg (gpg gui)
* khexedit (hex editor) * khexedit (hex editor)
* kjots (note taker) * kjots (note taker)
%if 0%{?build_klaptopdaemon} %if 0%{?build_klaptopdaemon}
* klaptopdaemon (battery monitoring and management for laptops); * klaptopdaemon (battery monitoring and management for laptops);
%endif %endif
* kmilo * kmilo
* kregexpeditor (regular expression editor) * kregexpeditor (regular expression editor)
* ksim (system information monitor); * ksim (system information monitor);
* ktimer (task scheduler) * ktimer (task scheduler)
* kwikdisk (removable media utility) * kwikdisk (removable media utility)
* tdefilereplace: batch search and replace tool
%files %files
@ -1203,6 +1205,7 @@ export PATH="%{tde_bindir}:${PATH}"
%suse_update_desktop_file thinkpad %suse_update_desktop_file thinkpad
%suse_update_desktop_file kvaio %suse_update_desktop_file kvaio
%suse_update_desktop_file KFloppy System Filesystem %suse_update_desktop_file KFloppy System Filesystem
%suse_update_desktop_file -r tdefilereplace System FileManager
%endif %endif
# Icons from TDE Control Center should only be displayed in TDE # Icons from TDE Control Center should only be displayed in TDE

@ -102,7 +102,6 @@ Provides: trinity-kdewebdev = %{version}-%{release}
Requires: trinity-quanta = %{version}-%{release} Requires: trinity-quanta = %{version}-%{release}
Requires: trinity-quanta-data = %{version}-%{release} Requires: trinity-quanta-data = %{version}-%{release}
Requires: trinity-tdefilereplace = %{version}-%{release}
Requires: trinity-kimagemapeditor = %{version}-%{release} Requires: trinity-kimagemapeditor = %{version}-%{release}
Requires: trinity-klinkstatus = %{version}-%{release} Requires: trinity-klinkstatus = %{version}-%{release}
Requires: trinity-kommander = %{version}-%{release} Requires: trinity-kommander = %{version}-%{release}
@ -110,7 +109,6 @@ Requires: trinity-kommander = %{version}-%{release}
%description %description
Web development applications, including: Web development applications, including:
* tdefilereplace: batch search and replace tool
* kimagemapeditor: HTML image map editor * kimagemapeditor: HTML image map editor
* klinkstatus: link checker * klinkstatus: link checker
* kommander: visual dialog building tool * kommander: visual dialog building tool
@ -125,7 +123,7 @@ Web development applications, including:
%package -n trinity-quanta %package -n trinity-quanta
Summary: web development environment for TDE [Trinity] Summary: web development environment for TDE [Trinity]
Group: Applications/Development Group: Applications/Development
Requires: trinity-tdefilereplace = %{version}-%{release} Requires: trinity-tdefilereplace
Requires: trinity-klinkstatus = %{version}-%{release} Requires: trinity-klinkstatus = %{version}-%{release}
Requires: trinity-kommander = %{version}-%{release} Requires: trinity-kommander = %{version}-%{release}
Requires: trinity-quanta-data = %{version}-%{release} Requires: trinity-quanta-data = %{version}-%{release}
@ -202,52 +200,6 @@ This package is part of TDE, as a component of the TDE web development module.
########## ##########
%package -n trinity-tdefilereplace
Summary: batch search-and-replace component for TDE [Trinity]
Group: Applications/Development
Obsoletes: trinity-kfilereplace < %{version}-%{release}
Provides: trinity-kfilereplace = %{version}-%{release}
%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. An example of an application that uses the tdefileReplace
component is Quanta Plus (found in the package quanta).
This package is part of TDE, as a component of the TDE web development module.
%files -n trinity-tdefilereplace
%defattr(-,root,root,-)
%{tde_bindir}/tdefilereplace
%{tde_tdelibdir}/libtdefilereplacepart.la
%{tde_tdelibdir}/libtdefilereplacepart.so
%{tde_tdeappdir}/tdefilereplace.desktop
%{tde_datadir}/apps/tdefilereplace/
%{tde_datadir}/apps/tdefilereplacepart
%{tde_datadir}/icons/hicolor/*/apps/tdefilereplace.png
%{tde_datadir}/services/tdefilereplacepart.desktop
%{tde_tdedocdir}/HTML/en/tdefilereplace/
%post -n trinity-tdefilereplace
for f in hicolor ; do
touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
done
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%postun -n trinity-tdefilereplace
for f in hicolor ; do
touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
done
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
##########
%package -n trinity-kimagemapeditor %package -n trinity-kimagemapeditor
Summary: HTML image map editor for TDE Summary: HTML image map editor for TDE
Group: Applications/Development Group: Applications/Development
@ -594,7 +546,6 @@ cp -a php php.docrc %{buildroot}%{tde_datadir}/apps/quanta/doc/
%suse_update_desktop_file -r kxsldbg Office WebDevelopment %suse_update_desktop_file -r kxsldbg Office WebDevelopment
%endif %endif
%suse_update_desktop_file -r kimagemapeditor Office WebDevelopment %suse_update_desktop_file -r kimagemapeditor Office WebDevelopment
%suse_update_desktop_file -r tdefilereplace System FileManager
%suse_update_desktop_file kmdr-editor Development GUIDesigner %suse_update_desktop_file kmdr-editor Development GUIDesigner
%suse_update_desktop_file kmdr-executor Development GUIDesigner %suse_update_desktop_file kmdr-executor Development GUIDesigner
%suse_update_desktop_file -r quanta Office WebDevelopment %suse_update_desktop_file -r quanta Office WebDevelopment

Loading…
Cancel
Save