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: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 %define _prefix /usr/X11R6
16 %define _mandir %{_prefix}/man
19 xkeycaps is a graphical front-end to xmodmap.It opens a window that
20 looks like a keyboard; moving the mouse over a key shows what KeySyms
21 and Modifier bits that key generates. Clicking on a key simulates
22 KeyPress/KeyRelease events on the window of your choice. It is
23 possible to change the KeySyms and Modifiers generated by a key
24 through a mouse-based interface. This program can also write an input
25 file for xmodmap to recreate your changes in future sessions.
28 xkeycaps jest graficzn± nak³adk± na xmodmap. xkeycaps otwiera okno,
29 które wygl±da jak klawiatura; przesuwaj±c mysz± ponad klawiszami
30 uzyskujemy informacjê na temat KeySyms oraz bitów Modifier jakie ten
31 klawisz generuje. Klikniêcie na klawiszu symuluje zdarzenia
32 KeyPress/KeyRelease dla okna, które wybierzesz. Mo¿na zmieniæ KeySyms
33 i Modifiers wygenerowane przez klawisz przy u¿yciu bazuj±cego na myszy
34 interfejsu. Ten program mo¿e tak¿e zapisywaæ plik konfiguracyjny dla
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}/*