Use shared-desktop-icons to put indexhtml icon to localized Desktop folder

This commit is contained in:
Andrey Cherepanov 2019-01-31 12:54:20 +03:00
parent cca2162fff
commit bdb0f5c58b

View File

@ -249,6 +249,7 @@ Obsoletes: indexhtml-desktop indexhtml-Desktop
Requires: xdg-utils
Requires: docs-alt-education
Requires: docs-linux_intro
Requires: shared-desktop-icons
Requires(post): indexhtml-common
%description indexhtml
@ -403,7 +404,7 @@ mkdir -p %buildroot%_defaultdocdir/indexhtml/images
install components/indexhtml/images/* %buildroot%_defaultdocdir/indexhtml/images/
install -Dm755 components/indexhtml/indexhtml.desktop %buildroot%_datadir/kde4/apps/kio_desktop/DesktopLinks/indexhtml.desktop
install -Dm755 components/indexhtml/indexhtml.desktop %buildroot%_datadir/kf5/kio_desktop/DesktopLinks/indexhtml.desktop
install -Dm755 components/indexhtml/indexhtml.desktop %buildroot%_sysconfdir/skel/Desktop/indexhtml.desktop
install -Dm755 components/indexhtml/indexhtml.desktop %buildroot%_datadir/Desktop/indexhtml.desktop
#menu
mkdir -p %buildroot/usr/share/slinux-style/applications
@ -526,7 +527,7 @@ subst 's/#theme-name=/theme-name=Clearlooks-Phenix/' /etc/lightdm/lightdm-gtk-gr
%_desktopdir/*
%_datadir/kde4/apps/kio_desktop/DesktopLinks/indexhtml.desktop
%_datadir/kf5/kio_desktop/DesktopLinks/indexhtml.desktop
%attr(0755,root,root) %_sysconfdir/skel/Desktop/indexhtml.desktop
%attr(0755,root,root) %_datadir/Desktop/indexhtml.desktop
%files menu
/usr/share/slinux-style