1 Summary: xkeycaps - a keymap editor for the X window system
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
13 xkeycaps is a graphical front-end to xmodmap.It opens a window that looks
14 like a keyboard; moving the mouse over a key shows what KeySyms and Modifier
15 bits that key generates. Clicking on a key simulates KeyPress/KeyRelease
16 events on the window of your choice. It is possible to change the KeySyms
17 and Modifiers generated by a key through a mouse-based interface. This
18 program can also write an input file for xmodmap to recreate your changes
26 make DEFAULT_KBD_NAME="L101" CDEBUGFLAGS=$RPM_OPT_FLAGS
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT/etc/X11/wmconfig
32 make install DESTDIR=$RPM_BUILD_ROOT
33 make install.man DESTDIR=$RPM_BUILD_ROOT
35 install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/xkeycaps
38 rm -rf $RPM_BUILD_ROOT
41 %defattr(644, root, root, 755)
42 %doc README defining.txt
43 /etc/X11/wmconfig/xkeycaps
44 %attr(755, root, root) /usr/X11R6/bin/xkeycaps
45 %attr(644, root, man) /usr/X11R6/man/man1/xkeycaps.1x
48 * Thu Sep 8 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
50 - updated URL to http://www.jwz.org/xkeycaps/,
51 - updated base Source Url to http://www.jwz.org/xkeycaps/
53 * Sat May 3 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
55 - Copyright statment changed to BSD,
56 - added %clean section,
57 - added -q %setup parameter,
59 - added using $RPM_OPT_FLAGS on compile time,
60 - removed paching default kbd name (now directly passed as make parameter),
61 - rewrited Summary and %description,
62 - removed Packager field from spec (if you want recompile package and
63 redistribute this package later put this in your private .rpmrc).
64 - changed to regular url,
65 - added %%{version} to Source url,
66 - added using %%{name} macro in Buildroot and Source fields,
67 - added %defattr and %attr macros in %files (allows building package from
68 non-root account); %defattr requires rpm >= 2.4.99 on rebuild.
70 * Fri Aug 22 1997 John A. Martin <jam@jamux.com>
74 * Fri Jan 17 1997 ??? <root@imp.redhat.com>
76 - previouse not commented release in rpm package (powercd 4.2).