Hi all,
I’m writing .spec file now and I have problem. In src package, author prepared .desktop file. Problem is that he wrote “Icon=computer”. There is no problem using this file, most distros have computer.png icon. My suse (11.1) takes icon from oxygen theme, but problem is with build sevice:
...]
WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist
WARNING: '/usr/lib/rpm/brp-desktop.data/preferences-gnome.menu' does not exist
WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist
ERROR: Icon file not installed: /var/tmp/ssvnc-1.0.23-build//usr/share/applications/ssvnc.desktop
WARNING: Empty GenericName: /var/tmp/ssvnc-1.0.23-build//usr/share/applications/ssvnc.desktop
Errors in installed desktop file detected. Please mail stbinner@suse.de, if you think this is wrong.
error: Bad exit status from /var/tmp/rpm-tmp.30428 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.30428 (%install)
Ok, there is no warning regarding GenericName, but building fails on icon error. So what to do? Add icons to package or add requires to install theme with computer.png?
Hi
looks like the author only did a manual install… If you find an icon
and bz2 it up an add a SOURCE1 to your spec file, then after the first
%setup run tar -xj %{SOURCE1} and install from there.