diff options
-rw-r--r-- | redhat/applications/kxmleditor/kxmleditor.spec | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/redhat/applications/kxmleditor/kxmleditor.spec b/redhat/applications/kxmleditor/kxmleditor.spec index edb69dbf9..cf0447a98 100644 --- a/redhat/applications/kxmleditor/kxmleditor.spec +++ b/redhat/applications/kxmleditor/kxmleditor.spec @@ -135,9 +135,13 @@ export PATH="%{tde_bindir}:${PATH}" %find_lang %{tde_pkg} +# Move desktop icon to correct location +%__mkdir_p "%{?buildroot}%{tde_tdeappdir}" +%__mv -f "%{?buildroot}%{tde_datadir}/applnk/"*"/%{tde_pkg}.desktop" "%{?buildroot}%{tde_tdeappdir}" + # Updates applications categories for openSUSE %if 0%{?suse_version} -%suse_update_desktop_file -G "XML Editor" -r "%{buildroot}%{tde_datadir}/applnk/Applications/kxmleditor.desktop" Utility Editor +%suse_update_desktop_file -G "XML Editor" -r "%{tde_pkg}" Utility Editor %endif @@ -152,7 +156,7 @@ export PATH="%{tde_bindir}:${PATH}" %{tde_tdelibdir}/libkxmleditorpart.so %{tde_tdelibdir}/libkxmleditorpart.so.1 %{tde_tdelibdir}/libkxmleditorpart.so.1.0.0 -%{tde_datadir}/applnk/Applications/kxmleditor.desktop +%{tde_tdeappdir}/kxmleditor.desktop %{tde_datadir}/apps/kxmleditor/ %{tde_tdedocdir}/HTML/en/kxmleditor/ %{tde_datadir}/icons/hicolor/*/apps/kxmleditor.png |