Install desktop file.
This commit is contained in:
parent
dabf10cf7a
commit
6a050a222a
@ -51,6 +51,7 @@ BuildRequires: gtk2-devel
|
|||||||
%endif
|
%endif
|
||||||
BuildRequires: ibus-devel >= %{require_ibus_version}
|
BuildRequires: ibus-devel >= %{require_ibus_version}
|
||||||
BuildRequires: eekboard-devel >= %{require_eekboard_version}
|
BuildRequires: eekboard-devel >= %{require_eekboard_version}
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
|
|
||||||
Requires: ibus >= %{require_ibus_version}
|
Requires: ibus >= %{require_ibus_version}
|
||||||
Requires: m17n-lib
|
Requires: m17n-lib
|
||||||
@ -84,6 +85,8 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
make DESTDIR=${RPM_BUILD_ROOT} install
|
make DESTDIR=${RPM_BUILD_ROOT} install
|
||||||
|
|
||||||
|
desktop-file-validate %{RPM_BUILD_ROOT}/%{_datadir}/applications/ibus-setup-m17n.desktop
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
@ -92,6 +95,7 @@ make DESTDIR=${RPM_BUILD_ROOT} install
|
|||||||
%{_libexecdir}/ibus-engine-m17n
|
%{_libexecdir}/ibus-engine-m17n
|
||||||
%{_libexecdir}/ibus-setup-m17n
|
%{_libexecdir}/ibus-setup-m17n
|
||||||
%{_datadir}/ibus/component/*
|
%{_datadir}/ibus/component/*
|
||||||
|
%{_datadir}/applications/ibus-setup-m17n.desktop
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Oct 8 2012 Daiki Ueno <dueno@redhat.com> - 1.3.4-6
|
* Mon Oct 8 2012 Daiki Ueno <dueno@redhat.com> - 1.3.4-6
|
||||||
|
Loading…
Reference in New Issue
Block a user