commit
ede440450d
BIN
ibus-m17n-1.4.1.tar.gz
Normal file
BIN
ibus-m17n-1.4.1.tar.gz
Normal file
Binary file not shown.
56
ibus-m17n.spec
Normal file
56
ibus-m17n.spec
Normal file
@ -0,0 +1,56 @@
|
||||
%global debug_package %{nil}
|
||||
%global require_ibus_version 1.4.0
|
||||
|
||||
Name: ibus-m17n
|
||||
Version: 1.4.1
|
||||
Release: 2
|
||||
Summary: The m17n engine for IBus
|
||||
License: GPLv2+
|
||||
URL: https://github.com/ibus/ibus-m17n
|
||||
Source0: https://github.com/ibus/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: git gnome-common gettext-devel m17n-lib-devel ibus-devel >= %{require_ibus_version}
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: gtk3-devel
|
||||
|
||||
Requires: ibus >= %{require_ibus_version}
|
||||
Requires: m17n-lib
|
||||
|
||||
%description
|
||||
ibus-m17n is an IME that uses input methods and corresponding icons in the m17n database.\
|
||||
Unlike ibus-table which supports plain tables, m17n input methods also support states,\
|
||||
whose labels are displayed on the IBus panel (language bar). M17n input methods also support\
|
||||
surrounding text, consequently, languages such as Thai and IMs such as plain Zhuyin that\
|
||||
require this feature are supported through ibus-m17n.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1 -Sgit
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
|
||||
%build
|
||||
%configure --disable-static --with-gtk=3.0
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%find_lang %{name}
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
|
||||
desktop-file-validate ${RPM_BUILD_ROOT}%{_datadir}/applications/ibus-setup-m17n.desktop
|
||||
make check
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc README
|
||||
%license COPYING AUTHORS
|
||||
%{_datadir}/metainfo/m17n.appdata.xml
|
||||
%{_datadir}/ibus-m17n
|
||||
%{_libexecdir}/ibus-engine-m17n
|
||||
%{_libexecdir}/ibus-setup-m17n
|
||||
%{_datadir}/ibus/component/*
|
||||
%{_datadir}/applications/ibus-setup-m17n.desktop
|
||||
%{_datadir}/glib-2.0/schemas/org.freedesktop.ibus.engine.m17n.gschema.xml
|
||||
|
||||
%changelog
|
||||
* Fri Feb 14 2010 wangzhishun <wangzhishun1@huawei.com> - 1.4.1-2
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user