rpms/alacarte/devel alacarte.spec,1.50,1.51

Matthias Clasen mclasen at fedoraproject.org
Mon Feb 23 07:25:30 UTC 2009


Author: mclasen

Update of /cvs/pkgs/rpms/alacarte/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31381

Modified Files:
	alacarte.spec 
Log Message:
Only show in GNOME



Index: alacarte.spec
===================================================================
RCS file: /cvs/pkgs/rpms/alacarte/devel/alacarte.spec,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- alacarte.spec	18 Feb 2009 03:08:30 -0000	1.50
+++ alacarte.spec	23 Feb 2009 07:24:59 -0000	1.51
@@ -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:  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 @@
 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 @@
 %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 @@
 %{_datadir}/icons/hicolor/256x256/apps/alacarte.png
 
 %changelog
+* Mon Feb 23 2009 Matthias Clasen <mclasen at redhat.com> - 0.11.9-2
+- Only show in GNOME (#486887)
+
 * Tue Feb 17 2009 Matthias Clasen <mclasen at redhat.com> - 0.11.9-1
 - Update to 0.11.9
 




More information about the fedora-extras-commits mailing list