2 Version: @PACKAGE_VERSION@
4 Summary: Vietnamese Input Method Engine for SCIM using Unikey Engine
8 URL: http://code.google.com/p/scim-unikey/
9 Source: http://scim-unikey.googlecode.com/files/%{name}-%{version}.tar.gz
12 Smart Common Input Method (SCIM) is an input method (IM) platform.
13 Scim-Unikey is a Vietnamese input method for SCIM
14 Use Unikey engine to process keyevent
16 BuildRequires: scim-devel >= 1.4.7
17 BuildRequires: glib2-devel >= 2.16
18 BuildRequires: gtk2-devel >= 2.12
25 if [ -x ./configure ]; then
26 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix}
28 CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{_prefix}
33 rm -rf $RPM_BUILD_ROOT
34 make DESTDIR=$RPM_BUILD_ROOT install-strip
35 find $RPM_BUILD_ROOT -name *.la -exec rm '{}' +
38 rm -rf $RPM_BUILD_ROOT
40 %post -p /sbin/ldconfig
42 %postun -p /sbin/ldconfig
46 %doc AUTHORS ChangeLog COPYING INSTALL NEWS README
47 %{_prefix}/lib/libunikey-scim.*
48 %{_prefix}/lib/scim-1.0/1.4.0/IMEngine/unikey.*
49 %{_prefix}/lib/scim-1.0/1.4.0/Helper/unikey-helper.so
50 %{_prefix}/libexec/scim-setup-unikey
51 %{_prefix}/share/scim-unikey/setup/setup-macro.glade
52 %{_prefix}/share/scim-unikey/setup/setup-main.glade
53 %{_prefix}/share/scim/icons/scim-unikey*.png
54 %{_prefix}/share/locale/*/LC_MESSAGES/scim-unikey.mo