%define nam scim-input-pad %define ver 0.1.1 %define rel 1 Summary: An On Screen Input Pad for SCIM Name: %{nam} Version: %{ver} Release: %{rel} License: GPL Group: System Environment/Libraries URL: http://www.freedesktop.org/~suzhe BuildRoot: %{_tmppath}/%{name}-%{version}-root Source0: %{name}-%{version}.tar.gz #NoSource: 0 PreReq: /sbin/ldconfig, /bin/sh Requires: scim >= 1.2.0 BuildRequires: scim-devel >= 1.2.0 Requires: gtk2 >= 2.4.0 BuildRequires: gtk2-devel >= 2.4.0 %description SCIM is a developing platform to significant reduce the difficulty of input method development. %changelog * Sat Mar 5 2005 James Su - first release of scim-input-pad. #-------------------------------------------------- %prep %setup -n %{name}-%{version} %build %configure --disable-static make %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT make DESTDIR=${RPM_BUILD_ROOT} install rm -f $RPM_BUILD_ROOT//usr/lib/scim-1.0/Helper/input-pad.{a,la} rm -f $RPM_BUILD_ROOT/%{_libdir}/libscim-input-pad.{a,la,so} %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc AUTHORS COPYING NEWS README ChangeLog %{_bindir}/scim-input-pad %{_libdir}/libscim-input-pad.so.* %{_datadir}/locale/*/LC_MESSAGES/scim-input-pad.mo /usr/lib/scim-1.0/Helper/input-pad.so /usr/share/scim/icons/input-pad.png /usr/share/scim/input-pad/base.pad /usr/share/scim/input-pad/japanese.pad /usr/share/scim/input-pad/chinese.pad /usr/share/scim/input-pad/keyboard.pad