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