Name: xvkbd Summary: Virtual (on-screen) keyboard for X Version: 4.1 Release: 1 Source0: http://t-sato.in.coocan.jp/xvkbd/%{name}-%{version}.tar.gz URL: http://t-sato.in.coocan.jp/xvkbd/ License: GPL Group: System/X11 BuildRequires: Xaw3d-devel BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xmu) BuildRequires: pkgconfig(xt) BuildRequires: pkgconfig(xtst) BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(xaw7) BuildRequires: imagemagick BuildRequires: imake %description xvkbd is a virtual (graphical) keyboard program for X Window System which provides facility to enter characters onto other clients (softwares) by clicking on a keyboard displayed on the screen. This may be used for systems without a hardware keyboard such as kiosk terminals or handheld devices. This program also has facility to send characters specified as the command line option to another client, which can help when one wants to fully utilize some modern mice with multiple buttons. %prep %setup -q %build xmkmf %make CDEBUGFLAGS="%optflags" EXTRA_LDOPTIONS="%ldflags" %install mkdir -p %{buildroot}%{_datadir}/X11 %make_install install.man rm -f $RPM_BUILD_ROOT/%_prefix/lib/X11/app-defaults #menu mkdir -p %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/mandriva-%{name}.desktop <