srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
-PKG_NAME="ibus-pinyin"
+PKG_NAME="ibus-libpinyin"
(test -f $srcdir/configure.ac \
&& test -f $srcdir/README ) || {
BuildRequires: pkgconfig
BuildRequires: sqlite-devel
BuildRequires: libuuid-devel
-BuildRequires: boost-devel >= 1.39
BuildRequires: ibus-devel >= 1.3
BuildRequires: libpinyin-devel >= 0.6.0
%setup -q
%build
-%configure --disable-static
+%configure --disable-static \
+ --enable-opencc \
+ --disable-boost
+
# make -C po update-gmo
make %{?_smp_mflags}
%{_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
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-setup_pinyin_PYTHON = \
+setup_libpinyin_PYTHON = \
main2.py \
version.py \
ibus-libpinyin-preferences.ui \
$(NULL)
-setup_pinyindir = $(datadir)/ibus-pinyin/setup
+setup_libpinyindir = $(datadir)/ibus-libpinyin/setup
libexec_SCRIPTS = \
ibus-setup-libpinyin \