diff --git a/spectacle.spec b/spectacle.spec index 722f660..f4b45fc 100644 --- a/spectacle.spec +++ b/spectacle.spec @@ -33,6 +33,7 @@ BuildRequires: kf5-kio-devel BuildRequires: kf5-kxmlgui-devel BuildRequires: kf5-kwindowsystem-devel BuildRequires: kf5-kdoctools-devel +BuildRequires: libappstream-glib BuildRequires: libkscreen-qt5-devel BuildRequires: kf5-libkipi-devel >= %{majmin_ver} BuildRequires: pkgconfig(Qt5DBus) @@ -66,6 +67,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %check +appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/org.kde.spectacle.appdata.xml ||: desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.spectacle.desktop @@ -84,6 +86,7 @@ fi %files %license COPYING %{_kf5_bindir}/spectacle +%{_kf5_datadir}/appdata/org.kde.spectacle.appdata.xml %{_kf5_datadir}/applications/org.kde.spectacle.desktop %{_kf5_datadir}/dbus-1/interfaces/org.kde.Spectacle.xml %{_kf5_datadir}/dbus-1/services/org.kde.Spectacle.service