Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37046090
en ru br
Репозитории ALT
S:4.1-alt1
5.1: 3.0-alt5
4.1: 2.9-alt1
4.0: 2.8-alt1
www.altlinux.org/Changes

Группа :: Система/X11
Пакет: xvkbd

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin