1 Summary: xkeycaps - a keymap editor for the X window system
2 Summary(pl): xkeycaps - edytor mapy klawiatury dla X window
7 Group: X11/Applications
8 Group(pl): X11/Aplikacje
9 Source0: http://www.jwz.org/xkeycaps/%{name}-%{version}.tar.Z
10 Source1: xkeycaps.wmconfig
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
19 xkeycaps is a graphical front-end to xmodmap.It opens a window that looks
20 like a keyboard; moving the mouse over a key shows what KeySyms and Modifier
21 bits that key generates. Clicking on a key simulates KeyPress/KeyRelease
22 events on the window of your choice. It is possible to change the KeySyms
23 and Modifiers generated by a key through a mouse-based interface. This
24 program can also write an input file for xmodmap to recreate your changes in
28 xkeycaps jest graficzn± nak³adk± na xmodmap. xkeycaps otwiera okno, które
29 wygl±da jak klawiatura; przesuwaj±c mysz± ponad klawiszami uzyskujemy
30 informacjê na temat KeySyms oraz bitów Modifier jakie ten klawisz generuje.
31 Klikniêcie na klawiszu symuluje zdarzenia KeyPress/KeyRelease dla okna, które
32 wybierzesz. Mo¿na zmieniæ KeySyms i Modifiers wygenerowane przez klawisz przy
33 u¿yciu bazuj±cego na myszy interfejsu. Ten program mo¿e tak¿e zapisywaæ plik
34 konfiguracyjny dla xmodmapa.
41 make DEFAULT_KBD_NAME="L101" \
42 CDEBUGFLAGS="$RPM_OPT_FLAGS"
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT/etc/X11/wmconfig
48 make install install.man \
49 DESTDIR=$RPM_BUILD_ROOT \
50 MANDIR=%{_mandir}/man1 \
53 install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/%{name}
55 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
64 /etc/X11/wmconfig/%{name}
65 %attr(755,root,root) %{_bindir}/%{name}