From 5c9464b709bb5e09ece113075a9a9a9858f9baa8 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Fri, 29 Jul 2016 15:33:37 -0500 Subject: [PATCH] new appdata --- khelpcenter.spec | 3 +++ 1 file changed, 3 insertions(+) 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