]>
Commit | Line | Data |
---|---|---|
5b44cfd1 | 1 | Summary: xkeycaps - a keymap editor for the X Window System |
7d05fd2f ER |
2 | Summary(es.UTF-8): Un editor de mapas de teclado para X |
3 | Summary(pl.UTF-8): xkeycaps - edytor mapy klawiatury dla X Window System | |
4 | Summary(pt_BR.UTF-8): Um editor de mapas de teclado para o X | |
e8c1a2e5 | 5 | Name: xkeycaps |
4090be33 | 6 | Version: 2.46 |
9acbbc13 | 7 | Release: 7 |
5ca968ef | 8 | License: BSD |
e8c1a2e5 | 9 | Group: X11/Applications |
10 | Source0: http://www.jwz.org/xkeycaps/%{name}-%{version}.tar.Z | |
e613ae34 | 11 | # Source0-md5: 6792f828db6538f44f7696a8783b44ac |
30dd04c7 | 12 | Source1: %{name}.desktop |
1afe6934 | 13 | Source2: %{name}.png |
e8c1a2e5 | 14 | URL: http://www.jwz.org/xkeycaps/ |
e961bad6 | 15 | BuildRequires: XFree86-devel |
05ea600a | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15216d40 | 17 | |
645668d9 | 18 | %define _prefix /usr/X11R6 |
19 | %define _mandir %{_prefix}/man | |
9d61b1b0 | 20 | |
15216d40 | 21 | %description |
5ca968ef | 22 | xkeycaps is a graphical front-end to xmodmap.It opens a window that |
23 | looks like a keyboard; moving the mouse over a key shows what KeySyms | |
24 | and Modifier bits that key generates. Clicking on a key simulates | |
25 | KeyPress/KeyRelease events on the window of your choice. It is | |
26 | possible to change the KeySyms and Modifiers generated by a key | |
27 | through a mouse-based interface. This program can also write an input | |
28 | file for xmodmap to recreate your changes in future sessions. | |
15216d40 | 29 | |
1a5ddaa5 JR |
30 | %description -l es.UTF-8 |
31 | xkeycaps es una interfaz gráfica para xmodmap. Abre una ventana que | |
32 | parece un teclado; mover el ratón sobre una tecla muestra las KeySyms | |
33 | y los bits modificadores que la contraseña genera. Si se hace click en | |
398dbcbb | 34 | una tecla simula eventos KeyPress/KeyRelease en la ventana que se |
35 | escoja. Se pueden cambiar los KeySyms y bits modificadores generados | |
1a5ddaa5 JR |
36 | por una contraseña a través de una interfaz que se basa en el ratón. |
37 | Este programa también puede escribir un archivo para que el xmodmap lo | |
38 | cargue las próximas veces que se use X. Para obtener más detalles se | |
39 | debe consultar la página del manual. | |
398dbcbb | 40 | |
1a5ddaa5 JR |
41 | %description -l pl.UTF-8 |
42 | xkeycaps jest graficzną nakładką na xmodmap. xkeycaps otwiera okno, | |
43 | które wygląda jak klawiatura; przesuwając myszą ponad klawiszami | |
44 | uzyskujemy informację na temat KeySyms oraz bitów Modifier jakie ten | |
45 | klawisz generuje. Kliknięcie na klawiszu symuluje zdarzenia | |
46 | KeyPress/KeyRelease dla okna, które wybierzesz. Można zmienić KeySyms | |
47 | i Modifiers wygenerowane przez klawisz przy użyciu bazującego na myszy | |
48 | interfejsu. Ten program może także zapisywać plik konfiguracyjny dla | |
5ca968ef | 49 | xmodmapa. |
e4a28034 | 50 | |
1a5ddaa5 JR |
51 | %description -l pt_BR.UTF-8 |
52 | xkeycaps é uma interface gráfica para o xmodmap. Ele abre uma janela | |
398dbcbb | 53 | que parece um teclado; mover o mouse sobre uma tecla mostra as KeySyms |
54 | e os bits modificadores que a chave gera. Clicando em uma tecla simula | |
1a5ddaa5 JR |
55 | eventos KeyPress/KeyRelease na janela de sua escolha. É possível mudar |
56 | os KeySyms e bits modificadores gerados por uma chave através de uma | |
57 | interface baseada em mouse. Esse programa pode também escrever um | |
58 | arquivo para o xmodmap carregar nas próximas vezes que você usar o X. | |
59 | Veja a página do manual para maiores detalhes. | |
398dbcbb | 60 | |
15216d40 | 61 | %prep |
62 | %setup -q | |
63 | ||
64 | %build | |
65 | xmkmf -a | |
30dd04c7 JB |
66 | %{__make} DEFAULT_KBD_NAME="L101" \ |
67 | CDEBUGFLAGS="%{rpmcflags}" | |
15216d40 | 68 | |
69 | %install | |
70 | rm -rf $RPM_BUILD_ROOT | |
511782c7 | 71 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
15216d40 | 72 | |
22e092f5 | 73 | %{__make} install install.man \ |
62a5b409 | 74 | DESTDIR=$RPM_BUILD_ROOT \ |
90968533 | 75 | MANDIR=%{_mandir}/man1 \ |
76 | BINDIR=%{_bindir} | |
15216d40 | 77 | |
511782c7 | 78 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
1afe6934 | 79 | install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} |
e8c1a2e5 | 80 | |
15216d40 | 81 | %clean |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
84 | %files | |
e8c1a2e5 | 85 | %defattr(644,root,root,755) |
1afe6934 | 86 | %doc README defining.txt |
5b44cfd1 | 87 | %attr(755,root,root) %{_bindir}/* |
511782c7 | 88 | %{_desktopdir}/xkeycaps.desktop |
1afe6934 | 89 | %{_pixmapsdir}/*.png |
9d61b1b0 | 90 | %{_mandir}/man1/* |