diff --git a/khelpcenter.spec b/khelpcenter.spec index 9a6a1b5..96c8df4 100644 --- a/khelpcenter.spec +++ b/khelpcenter.spec @@ -28,6 +28,7 @@ BuildRequires: kf5-kdoctools-devel BuildRequires: kf5-khtml-devel BuildRequires: kf5-kinit-devel >= 5.10.0-3 BuildRequires: kf5-rpm-macros +BuildRequires: libappstream-glib BuildRequires: libxml2-devel BuildRequires: perl BuildRequires: perl-generators @@ -68,6 +69,7 @@ cp -alf \ %check +appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/org.kde.Help.appdata.xml ||: desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.Help.desktop @@ -82,6 +84,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.Help.desktop %{_kf5_libdir}/libkdeinit5_khelpcenter.so %{_kf5_datadir}/khelpcenter/ %{_kf5_datadir}/kxmlgui5/khelpcenter/khelpcenterui.rc +%{_datadir}/appdata/org.kde.Help.appdata.xml %{_datadir}/applications/org.kde.Help.desktop %{_datadir}/config.kcfg/khelpcenter.kcfg %{_datadir}/kservices5/khelpcenter.desktop