Группа :: Система/X11
Пакет: xvkbd
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: xvkbd
Version: 2.9
Release: alt1
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.bz2
URL: http://homepage3.nifty.com/tsato/%name/
License: %gpl2plus
Group: System/X11
# Automatically added by buildreq on Mon Mar 31 2008
BuildRequires: ImageMagick imake libXaw-devel libXaw3d-devel
BuildRequires: libXtst-devel xorg-cf-files
BuildRequires: rpm-build-licenses
%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 32 24 22 16; do
convert %{name}_icon.xbm -resize ${s}x$s -depth 8 %{name}_$s.png
done
%install
%make_install DESTDIR=%buildroot install install.man
for s in 48 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
Encoding=UTF-8
Name=%name
Exec=%name
Icon=%name.png
Categories=Utility;Accessibility;
Type=Application
X-MultipleArgs=true
Terminal=false
StartupNotify=true
Comment=On-screen keyboard for X
Comment[uk]=бХПРСЮКЭМЮЪ (ЩЙПЮММЮЪ) ЙКЮБХЮРСПЮ ДКЪ X
Comment[uk]=бЁПРСЮКЭМЮ (ЕЙПЮММЮ) ЙКЮБЁЮРСПЮ ДКЪ X
__MENU__
%post
%update_menus
%postun
%clean_menus
%files
%_bindir/*
%_sysconfdir/X11/app-defaults/*
%_man1dir/*
%_desktopdir/*
%_iconsdir/hicolor/*/apps/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 2.9
Release: alt1
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.bz2
URL: http://homepage3.nifty.com/tsato/%name/
License: %gpl2plus
Group: System/X11
# Automatically added by buildreq on Mon Mar 31 2008
BuildRequires: ImageMagick imake libXaw-devel libXaw3d-devel
BuildRequires: libXtst-devel xorg-cf-files
BuildRequires: rpm-build-licenses
%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 32 24 22 16; do
convert %{name}_icon.xbm -resize ${s}x$s -depth 8 %{name}_$s.png
done
%install
%make_install DESTDIR=%buildroot install install.man
for s in 48 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
Encoding=UTF-8
Name=%name
Exec=%name
Icon=%name.png
Categories=Utility;Accessibility;
Type=Application
X-MultipleArgs=true
Terminal=false
StartupNotify=true
Comment=On-screen keyboard for X
Comment[uk]=бХПРСЮКЭМЮЪ (ЩЙПЮММЮЪ) ЙКЮБХЮРСПЮ ДКЪ X
Comment[uk]=бЁПРСЮКЭМЮ (ЕЙПЮММЮ) ЙКЮБЁЮРСПЮ ДКЪ X
__MENU__
%post
%update_menus
%postun
%clean_menus
%files
%_bindir/*
%_sysconfdir/X11/app-defaults/*
%_man1dir/*
%_desktopdir/*
%_iconsdir/hicolor/*/apps/*
%changelog
…
Полный changelog можно просмотреть здесь