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