diff --git a/gnome-music.spec b/gnome-music.spec index 0a71bd7..408b7cf 100644 --- a/gnome-music.spec +++ b/gnome-music.spec @@ -12,6 +12,7 @@ License: (GPLv2+ with exceptions) and LGPLv2+ and CC-BY-SA URL: http://wiki.gnome.org/Apps/Music Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.9/%{name}-%{version}.tar.xz +BuildRequires: desktop-file-utils BuildRequires: intltool BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.35.9 @@ -59,6 +60,8 @@ find %{buildroot} -name '*.la' -exec rm -f '{}' \; %find_lang %{name} +desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop + %post /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : @@ -89,6 +92,7 @@ fi %changelog - Fix the upstream URL - Fix the license tag + - Validate the desktop file * Wed Aug 21 2013 Mathieu Bridon - 3.9.90-1 - Initial package for Fedora.