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