summaryrefslogtreecommitdiffstats
path: root/redhat/applications/ktechlab/ktechlab-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/ktechlab/ktechlab-14.0.0.spec')
-rw-r--r--redhat/applications/ktechlab/ktechlab-14.0.0.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/redhat/applications/ktechlab/ktechlab-14.0.0.spec b/redhat/applications/ktechlab/ktechlab-14.0.0.spec
index 4cdac7bdb..10a4e26c1 100644
--- a/redhat/applications/ktechlab/ktechlab-14.0.0.spec
+++ b/redhat/applications/ktechlab/ktechlab-14.0.0.spec
@@ -134,6 +134,10 @@ export PATH="%{tde_bindir}:${PATH}"
%find_lang %{tde_pkg}
+%__mkdir_p "%{?buildroot}%{tde_tdeappdir}"
+%__mv -f "%{?buildroot}%{tde_datadir}/applnk/Development/ktechlab.desktop" "%{?buildroot}%{tde_tdeappdir}"
+%__rm -rf "%{?buildroot}%{tde_datadir}/applnk"
+
# Updates applications categories for openSUSE
%if 0%{?suse_version}
%suse_update_desktop_file -r -n ktechlab Science Math
@@ -158,7 +162,7 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%defattr(-,root,root,-)
%{tde_bindir}/ktechlab
%{tde_bindir}/microbe
-%{tde_datadir}/applnk/Development/ktechlab.desktop
+%{tde_tdeappdir}/ktechlab.desktop
%{tde_datadir}/apps/katepart/syntax/microbe.xml
%{tde_datadir}/apps/ktechlab
%{tde_datadir}/config.kcfg/ktechlab.kcfg