aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Menu config file missing from the rpm  (Read 2384 times)

DLH

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 52
Menu config file missing from the rpm
« on: November 28, 2006, 09:02:27 PM »

I built aMule rpm recently, but I can't get it to write amule in /usr/lib/menu, so it's desktop menu entry could be automatically added by Mandriva's internal routines. I followed advice from Mandrake RPM Howto and added these commands to the spec file:

%install
mkdir -p $RPM_BUILD_ROOT/%{_menudir}
cat << EOF > $RPM_BUILD_ROOT/%{_menudir}/amule
?package(aMule): needs="x11" kde_filename="amule" section="Internet/File Transfer" title="aMule" icon="amule.xpm" command="/usr/bin/amule" longtitle="eD2k Client" kde_opt="\\nEncoding=UTF-8\\nTerminal=false" xdg="true"
EOF

I installed the .rpm but there's no menu file for amule on the target system. If I run the same cat command above in a terminal it works flawlessly. What gives ?  ?(
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: Menu config file missing from the rpm
« Reply #1 on: November 28, 2006, 09:25:03 PM »

Didn't Mandriva recently switch to the standard freedesktop.org menu system?
Logged

DLH

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 52
Re: Menu config file missing from the rpm
« Reply #2 on: November 29, 2006, 09:56:28 AM »

Could you elaborate on how is that different and what do you need to do to comply ?
Logged