Name: @PACKAGE_NAME@ Version: @PACKAGE_VERSION@ Release: 1%{?dist} Summary: Vietnamese Input Method Engine for SCIM using Unikey Engine Vendor: Ubuntu-VN License: GPL 2 Group: Localization URL: http://code.google.com/p/scim-unikey/ Source: http://scim-unikey.googlecode.com/files/%{name}-%{version}.tar.gz %description SCIM (Smart Common Input Method) is an input method (IM) platform. scim-unikey is a IME for scim. Use for type Vietnamese Support via forum at: http://forum.ubuntu-vn.com/viewforum.php?f=85 BuildRequires: scim-devel >= 1.4.7 Requires: scim %prep %setup -q %build if [ -x ./configure ]; then CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} else CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{_prefix} fi make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install-strip find $RPM_BUILD_ROOT -name *.la -exec rm '{}' + %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING INSTALL NEWS README %{_prefix}/lib/libunikey-scim.* %{_prefix}/lib/scim-1.0/1.4.0/IMEngine/unikey.* %{_prefix}/lib/scim-1.0/1.4.0/Helper/unikey-helper.so %{_prefix}/libexec/scim-setup-unikey %{_prefix}/share/scim-unikey/setup/setup-macro.glade %{_prefix}/share/scim-unikey/setup/setup-main.glade %{_prefix}/share/scim/icons/scim-unikey*.png %{_prefix}/share/locale/*/LC_MESSAGES/scim-unikey.mo