1 Summary: xkeycaps - a keymap editor for the X Window System
2 Summary(pl): xkeycaps - edytor mapy klawiatury dla X Window System
7 Group: X11/Applications
8 Group(pl): X11/Aplikacje
9 Source0: http://www.jwz.org/xkeycaps/%{name}-%{version}.tar.Z
10 Source1: xkeycaps.desktop
11 URL: http://www.jwz.org/xkeycaps/
12 BuildRequires: XFree86-devel
13 Buildroot: /tmp/%{name}-%{version}-root
15 %define _prefix /usr/X11R6
16 %define _mandir %{_prefix}/man
17 %define _applnkdir /usr/X11R6/share/applnk
20 xkeycaps is a graphical front-end to xmodmap.It opens a window that looks
21 like a keyboard; moving the mouse over a key shows what KeySyms and Modifier
22 bits that key generates. Clicking on a key simulates KeyPress/KeyRelease
23 events on the window of your choice. It is possible to change the KeySyms
24 and Modifiers generated by a key through a mouse-based interface. This
25 program can also write an input file for xmodmap to recreate your changes in
29 xkeycaps jest graficzn± nak³adk± na xmodmap. xkeycaps otwiera okno, które
30 wygl±da jak klawiatura; przesuwaj±c mysz± ponad klawiszami uzyskujemy
31 informacjê na temat KeySyms oraz bitów Modifier jakie ten klawisz generuje.
32 Klikniêcie na klawiszu symuluje zdarzenia KeyPress/KeyRelease dla okna, które
33 wybierzesz. Mo¿na zmieniæ KeySyms i Modifiers wygenerowane przez klawisz przy
34 u¿yciu bazuj±cego na myszy interfejsu. Ten program mo¿e tak¿e zapisywaæ plik
35 konfiguracyjny dla xmodmapa.
42 make DEFAULT_KBD_NAME="L101" \
43 CDEBUGFLAGS="$RPM_OPT_FLAGS"
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{_applnkdir}/Utilities
49 make install install.man \
50 DESTDIR=$RPM_BUILD_ROOT \
51 MANDIR=%{_mandir}/man1 \
54 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities
56 strip $RPM_BUILD_ROOT%{_bindir}/*
58 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
67 %{_applnkdir}/Utilities/xkeycaps.desktop
68 %attr(755,root,root) %{_bindir}/*