From 6a050a222ab3ca22f512e60b9b63039b5e2627d4 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Mon, 8 Oct 2012 09:54:24 +0900 Subject: [PATCH] Install desktop file. --- ibus-m17n.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ibus-m17n.spec b/ibus-m17n.spec index fc2812b..9d3ffa5 100644 --- a/ibus-m17n.spec +++ b/ibus-m17n.spec @@ -51,6 +51,7 @@ BuildRequires: gtk2-devel %endif BuildRequires: ibus-devel >= %{require_ibus_version} BuildRequires: eekboard-devel >= %{require_eekboard_version} +BuildRequires: desktop-file-utils Requires: ibus >= %{require_ibus_version} Requires: m17n-lib @@ -84,6 +85,8 @@ make %{?_smp_mflags} %install make DESTDIR=${RPM_BUILD_ROOT} install +desktop-file-validate %{RPM_BUILD_ROOT}/%{_datadir}/applications/ibus-setup-m17n.desktop + %find_lang %{name} %files -f %{name}.lang @@ -92,6 +95,7 @@ make DESTDIR=${RPM_BUILD_ROOT} install %{_libexecdir}/ibus-engine-m17n %{_libexecdir}/ibus-setup-m17n %{_datadir}/ibus/component/* +%{_datadir}/applications/ibus-setup-m17n.desktop %changelog * Mon Oct 8 2012 Daiki Ueno - 1.3.4-6