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 Source0: http://www.jwz.org/xkeycaps/%{name}-%{version}.tar.Z
9 Source1: %{name}.desktop
10 URL: http://www.jwz.org/xkeycaps/
11 BuildRequires: XFree86-devel
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 %define _prefix /usr/X11R6
15 %define _mandir %{_prefix}/man
18 xkeycaps is a graphical front-end to xmodmap.It opens a window that
19 looks like a keyboard; moving the mouse over a key shows what KeySyms
20 and Modifier bits that key generates. Clicking on a key simulates
21 KeyPress/KeyRelease events on the window of your choice. It is
22 possible to change the KeySyms and Modifiers generated by a key
23 through a mouse-based interface. This program can also write an input
24 file for xmodmap to recreate your changes in future sessions.
27 xkeycaps jest graficzn± nak³adk± na xmodmap. xkeycaps otwiera okno,
28 które wygl±da jak klawiatura; przesuwaj±c mysz± ponad klawiszami
29 uzyskujemy informacjê na temat KeySyms oraz bitów Modifier jakie ten
30 klawisz generuje. Klikniêcie na klawiszu symuluje zdarzenia
31 KeyPress/KeyRelease dla okna, które wybierzesz. Mo¿na zmieniæ KeySyms
32 i Modifiers wygenerowane przez klawisz przy u¿yciu bazuj±cego na myszy
33 interfejsu. Ten program mo¿e tak¿e zapisywaæ plik konfiguracyjny dla
41 %{__make} DEFAULT_KBD_NAME="L101" \
42 CDEBUGFLAGS="%{rpmcflags}"
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{_applnkdir}/Settings
48 %{__make} install install.man \
49 DESTDIR=$RPM_BUILD_ROOT \
50 MANDIR=%{_mandir}/man1 \
53 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Settings
55 gzip -9nf README defining.txt
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
63 %{_applnkdir}/Settings/xkeycaps.desktop
64 %attr(755,root,root) %{_bindir}/*