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