RPM packaging: fix kxmleditor on OBS (again)

pull/3/head
François Andriot 8 years ago
parent 23482ea628
commit fb886039f6

@ -135,9 +135,13 @@ export PATH="%{tde_bindir}:${PATH}"
%find_lang %{tde_pkg} %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 # Updates applications categories for openSUSE
%if 0%{?suse_version} %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 %endif
@ -152,7 +156,7 @@ export PATH="%{tde_bindir}:${PATH}"
%{tde_tdelibdir}/libkxmleditorpart.so %{tde_tdelibdir}/libkxmleditorpart.so
%{tde_tdelibdir}/libkxmleditorpart.so.1 %{tde_tdelibdir}/libkxmleditorpart.so.1
%{tde_tdelibdir}/libkxmleditorpart.so.1.0.0 %{tde_tdelibdir}/libkxmleditorpart.so.1.0.0
%{tde_datadir}/applnk/Applications/kxmleditor.desktop %{tde_tdeappdir}/kxmleditor.desktop
%{tde_datadir}/apps/kxmleditor/ %{tde_datadir}/apps/kxmleditor/
%{tde_tdedocdir}/HTML/en/kxmleditor/ %{tde_tdedocdir}/HTML/en/kxmleditor/
%{tde_datadir}/icons/hicolor/*/apps/kxmleditor.png %{tde_datadir}/icons/hicolor/*/apps/kxmleditor.png

Loading…
Cancel
Save