]> git.pld-linux.org Git - packages/xkeycaps.git/blob - xkeycaps.spec
- summarized %changelog,
[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
17 %description
18 xkeycaps is a graphical front-end to xmodmap.It opens a window that looks
19 like a keyboard; moving the mouse over a key shows what KeySyms and Modifier
20 bits that key generates. Clicking on a key simulates KeyPress/KeyRelease
21 events on the window of your choice. It is possible to change the KeySyms
22 and Modifiers generated by a key through a mouse-based interface. This
23 program can also write an input file for xmodmap to recreate your changes in
24 future sessions.
25
26 %description -l pl
27 xkeycaps jest graficzn± nak³adk± na xmodmap. xkeycaps otwiera okno, które
28 wygl±da jak klawiatura; przesuwaj±c mysz± ponad klawiszami uzyskujemy
29 informacjê na temat KeySyms oraz bitów Modifier jakie ten klawisz generuje.
30 Klikniêcie na klawiszu symuluje zdarzenia KeyPress/KeyRelease dla okna, które
31 wybierzesz. Mo¿na zmieniæ KeySyms i Modifiers wygenerowane przez klawisz przy
32 u¿yciu bazuj±cego na myszy interfejsu. Ten program mo¿e tak¿e zapisywaæ plik
33 konfiguracyjny dla xmodmapa.
34
35 %prep
36 %setup -q
37
38 %build
39 xmkmf -a
40 make \
41         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/*
67
68 %changelog
69 * Thu May 20 1999 Piotr Czerwiñski <pius@pld.org.pl> 
70   [2.44-2]
71 - package is FHS 2.0 compliant,
72 - based on spec file by John A. Martin <jam@jamux.com>,
73   modified for PLD use by me and Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>,
74 - pl translation by Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>.
This page took 0.080378 seconds and 4 git commands to generate.