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