söndagen den 16 februari 2003 13.23 skrev Tibor Pittich:
> On 16. feb 2003 10:37, Oden Eriksson wrote:
> > I'm finalizing the VOCP package and I'm about to add menu entries and
> > icons, but haven't the slightest clue how to do this. Is this documented
> > somewhere? Can someone recommend a representive package I could use as a
> > template?
>
> there is a excellent spec-skeleten from Han:
> http://www.xs4all.nl/~hanb/software/rpms/skel.spec
Thank you. However I'm having problems with this... The menu item never shows
up in my menu... What's wrong with this:
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
--
Regards // Oden Eriksson, Deserve-IT.com