]> git.pld-linux.org Git - packages/xkeycaps.git/blob - xkeycaps.spec
- fixed mandir.
[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 BuildPrereq:    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 \
42         DEFAULT_KBD_NAME="L101" \
43         CDEBUGFLAGS="$RPM_OPT_FLAGS"
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT/etc/X11/wmconfig
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/etc/X11/wmconfig/%{name}
55
56 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
57         README defining.txt
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc *.gz
65 /etc/X11/wmconfig/%{name}
66 %attr(755,root,root) %{_bindir}/%{name}
67 %{_mandir}/man1/*
68
69 %changelog
70 * Thu May 20 1999 Piotr Czerwiñski <pius@pld.org.pl> 
71   [2.44-2]
72 - package is FHS 2.0 compliant,
73 - based on spec file by John A. Martin <jam@jamux.com>,
74   modified for PLD use by me and Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>,
75 - pl translation by Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>.
This page took 0.273109 seconds and 4 git commands to generate.