https://bugzilla.redhat.com/show_bug.cgi?id=1197499



--- Comment #6 from gil cattaneo <[email protected]> ---
other question, the package provides a GUI, can you provides a desktop file?


BuildRequires: desktop-file-utils
BuildRequires: ImageMagick

mkdir -p %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/
convert etc/javaws/wakeonlan64x64.gif -geometry 64x64 %{name}-inspector.png \
 %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/

cat > %{name}.desktop _EOF
[Desktop Entry]
Name=%{name}
GenericName=%{name}
Comment=A wake on lan client
Exec=%{name}
Icon=%{name}
Terminal=false
Type=Application
Categories=Network;
_EOF

desktop-file-install --vendor="" --dir=%{buildroot}%{_datadir}/applications
%{name}.desktop
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to