1%define nam @PACKAGE@ 2%define ver @VERSION@ 3%define rel 1 4 5# Something's not quite right with libtool.... 6%define __libtoolize echo 7 8Summary: FCITX Input Method Engine for SCIM 9Name: %{nam} 10Version: %{ver} 11Release: %{rel} 12License: GPL 13Group: System Environment/Libraries 14URL: http://sourceforge.net:/projects/scim 15BuildRoot: %{_tmppath}/%{name}-%{version}-root 16 17Source0: %{name}-%{version}.tar.gz 18#NoSource: 0 19 20PreReq: /sbin/ldconfig, /bin/sh 21 22Requires: scim >= @SCIM_VERSION@ 23BuildRequires: scim-devel >= @SCIM_VERSION@ 24 25%description 26scim-fcitx is the fcitx chinese input method ported to the scim input method platform 27 28%changelog 29* Thu May 5 2005 Haojun Bao <baohaojun@yahoo.com> 30- first release of scim-fcitx. 31 32#-------------------------------------------------- 33 34%prep 35 36%setup -n %{name}-%{version} 37 38%build 39%configure --disable-static 40 41make 42 43%install 44[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT 45make DESTDIR=${RPM_BUILD_ROOT} install 46 47rm -f $RPM_BUILD_ROOT/@SCIM_MODULEDIR@/IMEngine/fcitx.{a,la} 48 49%clean 50[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT 51 52%files 53%defattr(-, root, root) 54%doc AUTHORS COPYING NEWS README ChangeLog 55@SCIM_MODULEDIR@/IMEngine/fcitx.so 56@SCIM_ICONDIR@/fcitx/* 57@SCIM_DATADIR@/fcitx/* 58