Commit e9729eaa authored by Alexandra Panyukova's avatar Alexandra Panyukova

menu subpackage added

parent 5ddf4296
...@@ -209,6 +209,17 @@ Simply Linux index.html welcome page. ...@@ -209,6 +209,17 @@ Simply Linux index.html welcome page.
В данном пакете содержится стартовая страница для дистрибутива В данном пакете содержится стартовая страница для дистрибутива
"Просто Линукс" (Simply Linux). "Просто Линукс" (Simply Linux).
%package menu
Summary: menu for Simply Linux
License: Distributable
Group: Graphical desktop/Other
Requires(pre): altlinux-freedesktop-menu-common altlinux-menus
Requires: altlinux-freedesktop-menu-common altlinux-menus
%description menu
Menu for Simply Linux
%prep %prep
%setup -q %setup -q
...@@ -257,7 +268,6 @@ pushd notes ...@@ -257,7 +268,6 @@ pushd notes
%makeinstall %makeinstall
popd popd
mkdir -p %buildroot/etc/skel/.local/share/applications
mkdir -p %buildroot/etc/skel/Документы/Музыка/mpd mkdir -p %buildroot/etc/skel/Документы/Музыка/mpd
mkdir -p %buildroot/etc/skel/Документы/Музыка/mpd/playlists mkdir -p %buildroot/etc/skel/Документы/Музыка/mpd/playlists
...@@ -265,7 +275,6 @@ cp -r xfce-settings/etcskel/* %buildroot/etc/skel/ ...@@ -265,7 +275,6 @@ cp -r xfce-settings/etcskel/* %buildroot/etc/skel/
cp -r xfce-settings/etcskel/.config %buildroot/etc/skel/ cp -r xfce-settings/etcskel/.config %buildroot/etc/skel/
cp -r xfce-settings/etcskel/.gconf %buildroot/etc/skel/ cp -r xfce-settings/etcskel/.gconf %buildroot/etc/skel/
install -m 644 xfce-settings/etcskel/.local/share/applications/* %buildroot/etc/skel/.local/share/applications
install -m 644 xfce-settings/etcskel/.wm-select %buildroot/etc/skel/ install -m 644 xfce-settings/etcskel/.wm-select %buildroot/etc/skel/
install -m 644 xfce-settings/etcskel/.fonts.conf %buildroot/etc/skel/ install -m 644 xfce-settings/etcskel/.fonts.conf %buildroot/etc/skel/
install -m 644 xfce-settings/etcskel/.mpdconf %buildroot/etc/skel/ install -m 644 xfce-settings/etcskel/.mpdconf %buildroot/etc/skel/
...@@ -292,6 +301,12 @@ mkdir -p %buildroot%_defaultdocdir/indexhtml/img ...@@ -292,6 +301,12 @@ mkdir -p %buildroot%_defaultdocdir/indexhtml/img
install components/indexhtml/img/* %buildroot%_defaultdocdir/indexhtml/img/ install components/indexhtml/img/* %buildroot%_defaultdocdir/indexhtml/img/
#install -m644 components/indexhtml.desktop %buildroot%_desktopdir/ #install -m644 components/indexhtml.desktop %buildroot%_desktopdir/
#menu
mkdir -p %buildroot/usr/share/slinux-style/applications
install menu/applications/* %buildroot/usr/share/slinux-style/applications/
mkdir -p %buildroot/etc/xdg/menus/applications-merged
cp menu/50-slinux-menu-style.menu %buildroot/etc/xdg/menus/applications-merged/
#bootloader #bootloader
%pre bootloader %pre bootloader
[ -s /usr/share/gfxboot/%theme ] && rm -fr /usr/share/gfxboot/%theme ||: [ -s /usr/share/gfxboot/%theme ] && rm -fr /usr/share/gfxboot/%theme ||:
...@@ -357,7 +372,6 @@ subst "s/Theme=.*/Theme=%theme/" /etc/plymouth/plymouthd.conf ...@@ -357,7 +372,6 @@ subst "s/Theme=.*/Theme=%theme/" /etc/plymouth/plymouthd.conf
/etc/skel/.fonts.conf /etc/skel/.fonts.conf
/etc/skel/.mpdconf /etc/skel/.mpdconf
/etc/skel/.config /etc/skel/.config
/etc/skel/.local
/etc/skel/.gconf /etc/skel/.gconf
/usr/share/xfce4/backdrops /usr/share/xfce4/backdrops
...@@ -377,6 +391,10 @@ subst "s/Theme=.*/Theme=%theme/" /etc/plymouth/plymouthd.conf ...@@ -377,6 +391,10 @@ subst "s/Theme=.*/Theme=%theme/" /etc/plymouth/plymouthd.conf
%indexhtmldir/img %indexhtmldir/img
%_desktopdir/indexhtml.desktop %_desktopdir/indexhtml.desktop
%files menu
/usr/share/slinux-style
/etc/xdg/menus/applications-merged/50-slinux-menu-style.menu
%changelog %changelog
* Fri May 27 2011 Mikhail Efremov <sem@altlinux.org> 6.0.0-alt10 * Fri May 27 2011 Mikhail Efremov <sem@altlinux.org> 6.0.0-alt10
- Tune desktop: show trash, don't show removable disks. - Tune desktop: show trash, don't show removable disks.
......
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
"http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd">
<Menu>
<AppDir>/usr/share/slinux-style/applications</AppDir>
</Menu>
\ No newline at end of file
...@@ -4,7 +4,6 @@ Type=Application ...@@ -4,7 +4,6 @@ Type=Application
Exec=xdg-open /usr/share/doc/indexhtml/index.html Exec=xdg-open /usr/share/doc/indexhtml/index.html
StartupNotify=false StartupNotify=false
Icon=altlinux Icon=altlinux
Hidden=true
Name=Simply Linux 5.0.2 : start page Name=Simply Linux 5.0.2 : start page
Categories=System;Documentation; Categories=System;Documentation;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment