Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37838467
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.0
Release: alt5
Summary: Virtual (on-screen) keyboard for X
Summary(uk_UA.CP1251): Виртуальная (экранная) клавяатура для X
Summary(uk_UA.CP1251): Віртуальна (екранна) клавіатура для X
Source: http://homepage3.nifty.com/tsato/%name/%name-%version.tar
Patch: %name-%version-%release.patch
URL: http://homepage3.nifty.com/tsato/%name/
License: %gpl2plus
Group: System/X11
Packager: Led <led at altlinux.ru>

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

%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
%patch -p1


%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
%make_install DESTDIR=%buildroot install install.man
for s in 48 36 32 24 22 16; do
   install -D -m 0644 {%name-$s,%buildroot%_iconsdir/hicolor/${s}x$s/apps/%name}.png
done
rm -rf %buildroot/%_datadir/X11

#menu

install -d -m 0755 %buildroot%_desktopdir
iconv -f cp1251 -t utf-8 > %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