On Sun, 2003-02-16 at 09:53, Oden Eriksson wrote:
> cat > %{buildroot}/%{_menudir}/xvocp << EOF
> ?package(xVOCP): \
> command="%{_bindir}/xvocp" \
> needs="X11" \
> icon="vocp.png" \
> section="Applications/Communications" \
> title="xVOCP" \
> longtitle="xVOCP presents a graphical user interface to the contents of voice
> mail boxes."
> EOF
>
> bzcat %{SOURCE4} > %{buildroot}/%{_miconsdir}/vocp.png
> bzcat %{SOURCE5} > %{buildroot}/%{_iconsdir}/vocp.png
> bzcat %{SOURCE6} > %{buildroot}/%{_liconsdir}/vocp.png
Should work. Make sure
%_menudir/xvcop
is in your files list, and try changing second like to
?package(%name)
Run
update-menus -v
and look for errors.
If you see an error you know it's probably a syntax problem.
Also I think 'longtitle' has a length limit, and your's looks quite
long. See:
http://www.linux-mandrake.com/en/howtos/mdk-rpm/
Austin
--
Austin Acton Hon.B.Sc.
Synthetic Organic Chemist, Teaching Assistant
Department of Chemistry, York University, Toronto
MandrakeClub Volunteer (www.mandrakeclub.com)
homepage: www.groundstate.ca