Группа :: Система/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 можно просмотреть здесь
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 можно просмотреть здесь