]> git.pld-linux.org Git - packages/xkeycaps.git/blob - xkeycaps.spec
- desktop file for xkeycaps.
[packages/xkeycaps.git] / xkeycaps.spec
1 Summary:        xkeycaps - a keymap editor for the X window system
2 Summary(pl):    xkeycaps - edytor mapy klawiatury dla X window
3 Name:           xkeycaps
4 Version:        2.44
5 Release:        2
6 Copyright:      BSD
7 Group:          X11/Applications
8 Group(pl):      X11/Aplikacje
9 Source0:        http://www.jwz.org/xkeycaps/%{name}-%{version}.tar.Z
10 Source1:        xkeycaps.wmconfig
11 URL:            http://www.jwz.org/xkeycaps/
12 BuildRequires:  XFree86-devel
13 Buildroot:      /tmp/%{name}-%{version}-root
14
15 %define _prefix /usr/X11R6
16 %define _mandir %{_prefix}/man
17
18 %description
19 xkeycaps is a graphical front-end to xmodmap.It opens a window that looks
20 like a keyboard; moving the mouse over a key shows what KeySyms and Modifier
21 bits that key generates. Clicking on a key simulates KeyPress/KeyRelease
22 events on the window of your choice. It is possible to change the KeySyms
23 and Modifiers generated by a key through a mouse-based interface. This
24 program can also write an input file for xmodmap to recreate your changes in
25 future sessions.
26
27 %description -l pl
28 xkeycaps jest graficzn± nak³adk± na xmodmap. xkeycaps otwiera okno, które
29 wygl±da jak klawiatura; przesuwaj±c mysz± ponad klawiszami uzyskujemy
30 informacjê na temat KeySyms oraz bitów Modifier jakie ten klawisz generuje.
31 Klikniêcie na klawiszu symuluje zdarzenia KeyPress/KeyRelease dla okna, które
32 wybierzesz. Mo¿na zmieniæ KeySyms i Modifiers wygenerowane przez klawisz przy
33 u¿yciu bazuj±cego na myszy interfejsu. Ten program mo¿e tak¿e zapisywaæ plik
34 konfiguracyjny dla xmodmapa.
35
36 %prep
37 %setup -q
38
39 %build
40 xmkmf -a
41 make    DEFAULT_KBD_NAME="L101" \
42         CDEBUGFLAGS="$RPM_OPT_FLAGS"
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT/etc/X11/wmconfig
47
48 make install install.man \
49         DESTDIR=$RPM_BUILD_ROOT \
50         MANDIR=%{_mandir}/man1 \
51         BINDIR=%{_bindir} 
52
53 install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/%{name}
54
55 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
56         README defining.txt
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc *.gz
64 /etc/X11/wmconfig/%{name}
65 %attr(755,root,root) %{_bindir}/%{name}
66 %{_mandir}/man1/*
This page took 0.071761 seconds and 3 git commands to generate.