Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37570089
en ru br
ALT Linux repos
S:4.1-alt1
5.0: 3.0-alt5
4.1: 2.9-alt1
4.0: 2.8-alt1

Group :: System/X11
RPM: xvkbd

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: xvkbd
Version: 3.9
Release: alt1

Summary: Virtual (on-screen) keyboard for X
License: %gpl2plus
Group: System/X11

Url: http://homepage3.nifty.com/tsato/xvkbd/
Source: %url/%name-%version.tar.gz
Source100: xvkbd.watch
Packager: Michael Shigorin <mike at altlinux.org>

BuildRequires(pre): rpm-build-licenses
BuildRequires: ImageMagick-tools imake libXaw-devel libXaw3d-devel
BuildRequires: libXext-devel libXp-devel libXpm-devel libXtst-devel
BuildRequires: xorg-cf-files xorg-sdk

Summary(ru_RU.UTF-8): Виртуальная (экранная) клавиатура для X
Summary(uk_UA.UTF-8): Віртуальна (екранна) клавіатура для X

%description
%name 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

%build
xmkmf
%make_build CFLAGS="%optflags"
for s in 48 36 32 24 22 16; do
convert %{name}_icon.xbm \
-resize ${s}x$s \
-monochrome \
-depth 8 \
%name-$s.png
done

%install
%makeinstall_std install.man
for s in 48 36 32 24 22 16; do
install -pDm644 %name-$s.png \
%buildroot%_iconsdir/hicolor/${s}x$s/apps/%name.png
done
rm -rf %buildroot/%_datadir/X11

install -d -m 0755 %buildroot%_desktopdir
cat > %buildroot%_desktopdir/%name.desktop <<__MENU__
[Desktop Entry]
Version=1.0
Name=%name
Exec=%name
Icon=%name
Categories=Utility;Accessibility;
Type=Application
X-MultipleArgs=true
Terminal=false
StartupNotify=true
Comment=On-screen keyboard for X
Comment[ru]=Виртуальная (экранная) клавиатура для X
Comment[uk]=Віртуальна (екранна) клавіатура для X
__MENU__

%files
%_bindir/*
%_sysconfdir/X11/app-defaults/*
%_man1dir/*
%_desktopdir/*
%_iconsdir/hicolor/*/apps/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin