Dne 20.8.2011 00:48, Ben Pfaff napsal(a):
But I can not compile for openSUSE:
WARNING: file extension in Icon line:
/usr/src/packages/BUILDROOT/pspp-0.7.8-26.1.x86_64//usr/share/applications/pspp.desktop
ERROR: Icon file not installed:
/usr/src/packages/BUILDROOT/pspp-0.7.8-26.1.x86_64//usr/share/applications/pspp.desktop
(psppicon.png)
I don't know anything about .desktop files. Do you? Can you
supply a fixed version?
And of course I forgot to add: this is not a bug in the .desktop file
(all my suggested changes were mostly cosmetic), but the rpmbuild
objects that it cannot find the icon file in the location it was
supposed to be.
Hint: $RPM_BUILD_ROOT% already ends with slash, so in %install you
should have
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
and not
$RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
which is what I think you have.
Best,
Matěj
_______________________________________________
pspp-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/pspp-dev