Yo,
i guess the menu entry stuff should go into the mdk-howto ...
people would have a hard time adding the menus back when doing sanity
checking just because others didn't know about it. ...
>
> Yes, and if you want to add menu entry create it from the spec file,
> something like that (example gdb and icons add):
>
> mkdir -p $RPM_BUILD_ROOT/usr/lib/menu/
> cat << EOF > $RPM_BUILD_ROOT/usr/lib/menu/%{name}
> ?package(%{name}):\
> needs="text"\
> section="Applications/Development/Tools"\
> title="Gdb"\
> longtitle="The GNU debugger"\
> command="gdb"\
> icon=%{name}.xpm
> EOF
> mkdir -p $RPM_BUILD_ROOT/usr/share/icons/mini/
> install -m644 %{SOURCE1} $RPM_BUILD_ROOT/usr/share/icons/mini/%{name}.xpm
>
> %post
> if [ -x /usr/sbin/install-menu ];then
> /usr/sbin/install-menu
> fi
>
> %postun
> if [ -x /usr/sbin/install-menu ];then
> /usr/sbin/install-menu
> fi
>
> %files
> /usr/lib/menu/%{name}
> /usr/share/icons/mini/%{name}.xpm
>
>
> --
> MandrakeSoft Inc http://www.mandrakesoft.com
> San-Diego, CA USA. --Chmouel
>