]> git.pld-linux.org Git - packages/xkeycaps.git/blob - xkeycaps.spec
db55cfea669bcb73e2d76ba56150073c16c60527
[packages/xkeycaps.git] / xkeycaps.spec
1 Summary:     xkeycaps - a keymap editor for the X window system
2 Name:        xkeycaps
3 Version:     2.43
4 Release:     1
5 Copyright:   BSD
6 Group:       X11/Applications
7 Source0:     http://www.jwz.org/xkeycaps/%{name}-%{version}.tar.Z
8 Source1:     %{name}.wmconfig
9 URL:         http://www.jwz.org/xkeycaps/
10 Buildroot:   /tmp/%{name}-%{version}-root
11 Summary(pl): xkeycaps - edytor mapy klawiatury dla X window
12
13 %description
14 xkeycaps is a graphical front-end to xmodmap.It opens a window that looks
15 like a keyboard; moving the mouse over a key shows what KeySyms and Modifier
16 bits that key generates. Clicking on a key simulates KeyPress/KeyRelease
17 events on the window of your choice. It is possible to change the KeySyms
18 and Modifiers generated by a key through a mouse-based interface. This
19 program can also write an input file for xmodmap to recreate your changes in
20 future sessions.
21
22 %description -l pl
23 xkeycaps jest graficzn± nak³adk± na xmodmap. xkeycaps otwiera okno, które
24 wygl±da jak klawiatura; przesuwaj±c mysz± ponad klawiszami uzyskujemy
25 informacjê na temat KeySyms oraz bitów Modifier jakie ten klawisz generuje.
26 Klikniêcie na klawiszu symuluje zdarzenia KeyPress/KeyRelease dla okna, które
27 wybierzesz. Mo¿na zmieniæ KeySyms i Modifiers wygenerowane przez klawisz przy
28 u¿yciu bazuj±cego na myszy interfejsu. Ten program mo¿e tak¿e zapisywaæ plik
29 konfiguracyjny dla xmodmapa.
30
31 %prep
32 %setup -q
33
34 %build
35 xmkmf -a
36 make DEFAULT_KBD_NAME="L101" CDEBUGFLAGS="$RPM_OPT_FLAGS"
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT/etc/X11/wmconfig
41
42 make install DESTDIR=$RPM_BUILD_ROOT
43 make install.man DESTDIR=$RPM_BUILD_ROOT
44
45 install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/xkeycaps
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644, root, root, 755)
52 %doc README defining.txt
53 /etc/X11/wmconfig/xkeycaps
54 %attr(755, root, root) /usr/X11R6/bin/xkeycaps
55 %attr(644, root,  man) /usr/X11R6/man/man1/xkeycaps.1x
56
57 %changelog
58 * Mon Jan 11 1999 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
59 - added pl translations
60
61 * Thu Sep  8 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
62   [2.43-1]
63 - updated URL to http://www.jwz.org/xkeycaps/,
64 - updated base Source Url to http://www.jwz.org/xkeycaps/
65
66 * Sat May  3 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
67   [2.42-1]
68 - Copyright statment changed to BSD,
69 - added %clean section,
70 - added -q %setup parameter,
71 - added URL,
72 - added using $RPM_OPT_FLAGS on compile time,
73 - removed paching default kbd name (now directly passed as make parameter),
74 - rewrited Summary and %description,
75 - removed Packager field from spec (if you want recompile package and
76   redistribute this package later put this in your private .rpmrc). 
77 - changed to regular url,
78 - added %%{version} to Source url,
79 - added using %%{name} macro in Buildroot and Source fields,
80 - added %defattr and %attr macros in %files (allows building package from
81   non-root account); %defattr requires rpm >= 2.4.99 on rebuild.
82
83 * Fri Aug 22 1997 John A. Martin <jam@jamux.com>
84   [2.38-1]
85 - not commented.
86
87 * Fri Jan 17 1997 ??? <root@imp.redhat.com>
88   [2.32-1]
89 - previouse not commented release in rpm package (powercd 4.2).
This page took 0.049063 seconds and 2 git commands to generate.