diff --git a/alacarte.spec b/alacarte.spec index d2bdff4..f7733be 100644 --- a/alacarte.spec +++ b/alacarte.spec @@ -2,7 +2,7 @@ Name: alacarte Version: 0.11.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Menu editor for the GNOME desktop Group: Applications/System @@ -17,6 +17,7 @@ BuildRequires: pygtk2-devel BuildRequires: pkgconfig BuildRequires: gnome-menus-devel >= 2.15.4 BuildRequires: intltool +BuildRequires: desktop-file-utils Requires: pygtk2, gnome-python2-gconf Requires: gnome-menus >= 2.15.4 @@ -39,6 +40,12 @@ make rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT +desktop-file-install --vendor='' --delete-original \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications \ + --add-only-show-in GNOME \ + $RPM_BUILD_ROOT%{_datadir}/applications/alacarte.desktop + + %find_lang %{name} %clean @@ -60,8 +67,8 @@ fi %defattr(-,root,root,-) %doc README AUTHORS COPYING %{python_sitelib}/Alacarte -%{_bindir}/* -%{_datadir}/applications/* +%{_bindir}/alacarte +%{_datadir}/applications/alacarte.desktop %{_datadir}/alacarte %{_datadir}/icons/hicolor/16x16/apps/alacarte.png %{_datadir}/icons/hicolor/22x22/apps/alacarte.png @@ -71,6 +78,9 @@ fi %{_datadir}/icons/hicolor/256x256/apps/alacarte.png %changelog +* Mon Feb 23 2009 Matthias Clasen - 0.11.9-2 +- Only show in GNOME (#486887) + * Tue Feb 17 2009 Matthias Clasen - 0.11.9-1 - Update to 0.11.9