From f86fe0a07f245081a2e758f09cc5653053864dfb Mon Sep 17 00:00:00 2001 From: Martin Sivak Date: Mon, 24 May 2010 10:23:29 +0200 Subject: Add icon to menu --- firstaidkit.desktop | 2 +- firstaidkit.spec | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/firstaidkit.desktop b/firstaidkit.desktop index 1cbea73..7e5cdbc 100644 --- a/firstaidkit.desktop +++ b/firstaidkit.desktop @@ -7,4 +7,4 @@ Exec=firstaidkit -g gtk Comment=System rescue and recovery tool Categories=System; Terminal=false - +Icon=firstaidkit diff --git a/firstaidkit.spec b/firstaidkit.spec index b88f919..50b949d 100644 --- a/firstaidkit.spec +++ b/firstaidkit.spec @@ -5,7 +5,7 @@ Name: firstaidkit Version: 0.2.10 -Release: 3%{?dist} +Release: 4%{?dist} Summary: System Rescue Tool Group: Applications/System @@ -172,6 +172,8 @@ packet. %{__install} -p frontend/*.py $RPM_BUILD_ROOT/usr/share/firstaidkit/frontend/ %{__install} -p frontend/*.glade $RPM_BUILD_ROOT/usr/share/firstaidkit/frontend/ %{__install} -p frontend/*.gladep $RPM_BUILD_ROOT/usr/share/firstaidkit/frontend/ +%{__install} -d $RPM_BUILD_ROOT/usr/share/icons +%{__install} -p images/FAK-bandaid.png $RPM_BUILD_ROOT/usr/share/icons/firstaidkit.png desktop-file-install --vendor="fedora" --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE3} #examples @@ -218,6 +220,7 @@ desktop-file-install --vendor="fedora" --dir=${RPM_BUILD_ROOT}%{_datadir}/applic /usr/share/firstaidkit/frontend/*.py* /usr/share/firstaidkit/frontend/*.glade /usr/share/firstaidkit/frontend/*.gladep +/usr/share/icons/*.png %{_datadir}/applications/*.desktop %dir /usr/share/firstaidkit/frontend @@ -254,6 +257,10 @@ desktop-file-install --vendor="fedora" --dir=${RPM_BUILD_ROOT}%{_datadir}/applic %changelog +* Mon May 22 2010 Martin Sivak - 0.2.10-4 +- Add menu icon + Resolves: rhbz#587903 + * Mon Apr 27 2010 Martin Sivak - 0.2.10-3 - Do not build debuginfo Related: rhbz#564482 -- cgit