Name: @PACKAGE_NAME@ Version: @PACKAGE_VERSION@ Release: 1%{?dist} Summary: The Chinese Pinyin and Bopomofo engines for IBus input platform License: GPLv2+ Group: System Environment/Libraries URL: http://code.google.com/p/ibus Source0: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz BuildRequires: gettext-devel BuildRequires: intltool BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: sqlite-devel BuildRequires: libuuid-devel BuildRequires: ibus-devel >= 1.3 BuildRequires: libpinyin-devel >= 0.6.0 # Requires(post): sqlite Requires: ibus >= 1.2.0 Requires: libpinyin-data > 0.6.90 %description The Chinese Pinyin and Bopomof input methods for IBus platform. %prep %setup -q %build %configure --disable-static \ --enable-opencc \ --disable-boost # make -C po update-gmo make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make DESTDIR=${RPM_BUILD_ROOT} install %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS COPYING README %{_libexecdir}/ibus-engine-libpinyin %{_libexecdir}/ibus-setup-libpinyin %{_datadir}/@PACKAGE@/phrases.txt %{_datadir}/@PACKAGE@/icons %{_datadir}/@PACKAGE@/setup %{_datadir}/@PACKAGE@/base.lua %{_datadir}/@PACKAGE@/db/english.db %dir %{_datadir}/@PACKAGE@ %dir %{_datadir}/@PACKAGE@/db %{_datadir}/ibus/component/* %changelog * Fri Jun 01 2012 Peng Wu - @VERSION@-1 - The first version.