--- cauldron/fcitx/current/SPECS/fcitx.spec 2011/10/12 00:32:20 154004 +++ cauldron/fcitx/current/SPECS/fcitx.spec 2011/10/12 00:56:55 154008 @@ -21,6 +21,7 @@ BuildRequires: pango-devel BuildRequires: intltool BuildRequires: chrpath +BuildRequires: desktop-file-utils Requires: locales-zh %description @@ -79,6 +80,8 @@ %makeinstall_std -C build chrpath -d %{buildroot}%{_libdir}/*.so +desktop-file-install --dir %{buildroot}{_datadir}/applications \ + %{buildroot}{_datadir}/applications/*.desktop %find_lang %name