From d7e90b0777a63a70d665588009a20c8db4c4ab36 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Apr 19 2018 17:04:44 +0000 Subject: cleanup, +appdata --- diff --git a/.gitignore b/.gitignore index 70d101e..3e746be 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1 @@ -/kmouth-17.04.1.tar.xz -/kmouth-17.04.3.tar.xz -/kmouth-17.08.0.tar.xz -/kmouth-17.08.1.tar.xz -/kmouth-17.08.2.tar.xz -/kmouth-17.08.3.tar.xz -/kmouth-17.12.0.tar.xz -/kmouth-17.12.1.tar.xz -/kmouth-17.12.2.tar.xz -/kmouth-17.12.3.tar.xz /kmouth-18.04.0.tar.xz diff --git a/kmouth.spec b/kmouth.spec index 67c0d8d..75a6054 100644 --- a/kmouth.spec +++ b/kmouth.spec @@ -14,6 +14,7 @@ URL: http://accessibility.kde.org/ Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-%{version}.tar.xz BuildRequires: desktop-file-utils +BuildRequires: libappstream-glib BuildRequires: extra-cmake-modules BuildRequires: cmake(KF5Crash) @@ -52,7 +53,7 @@ pushd %{_target_platform} %{cmake_kf5} .. popd -make %{?_smp_mflags} -C %{_target_platform} +%make_build -C %{_target_platform} %install @@ -62,6 +63,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %check +appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.%{name}.appdata.xml desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.kmouth.desktop @@ -70,8 +72,8 @@ desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.kmouth.de %{_kf5_sysconfdir}/xdg/kmouthrc %{_kf5_bindir}/kmouth %{_kf5_datadir}/kmouth/ -#{_kde4_configdir}/*rc %{_kf5_datadir}/applications/org.kde.kmouth.desktop +%{_kf5_metainfodir}/org.kde.kmouth.appdata.xml %{_kf5_datadir}/icons/hicolor/*/*/* %{_kf5_datadir}/kxmlgui5/kmouth/ %{_mandir}/man1/*.1*