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



--- Comment #2 from Zbigniew JÄ™drzejewski-Szmek <[email protected]> ---
%build
cat >molequeue.desktop <<EOF
[Desktop Entry]
Name=HPC queuing system 
Exec=molequeue
Terminal=false
Type=Application
Icon=molequeue
EOF

convert molequeue/app/icons/molequeue.ico molequeue/app/icons/molequeue.png

%install
for i in molequeue/app/icons/molequeue-*.png; do
    size="$(identify $i|cut -d' ' -f3)"
    echo install -Dpm0644 $i
%{buildroot}%{_datadir}/icons/hicolor/$size/apps/molequeue.png
done

desktop-file-install --dir %{buildroot}%{_datadir}/applications/
molequeue.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]
To unsubscribe send an email to [email protected]

Reply via email to