]> git.pld-linux.org Git - packages/xkeycaps.git/blame - xkeycaps.spec
- added quotes aroud passed variables (for bash 2.0.x).
[packages/xkeycaps.git] / xkeycaps.spec
CommitLineData
15216d40 1Summary: xkeycaps - a keymap editor for the X window system
2Name: xkeycaps
3Version: 2.43
4Release: 1
5Copyright: BSD
6Group: X11/Applications
7Source0: http://www.jwz.org/xkeycaps/%{name}-%{version}.tar.Z
8Source1: %{name}.wmconfig
9URL: http://www.jwz.org/xkeycaps/
10Buildroot: /tmp/%{name}-%{version}-root
11
12%description
13xkeycaps is a graphical front-end to xmodmap.It opens a window that looks
14like a keyboard; moving the mouse over a key shows what KeySyms and Modifier
a62c1593 15bits that key generates. Clicking on a key simulates KeyPress/KeyRelease
15216d40 16events on the window of your choice. It is possible to change the KeySyms
17and Modifiers generated by a key through a mouse-based interface. This
a62c1593 18program can also write an input file for xmodmap to recreate your changes in
19future sessions.
15216d40 20
21%prep
22%setup -q
23
24%build
25xmkmf -a
9a730fe4 26make DEFAULT_KBD_NAME="L101" CDEBUGFLAGS="$RPM_OPT_FLAGS"
15216d40 27
28%install
29rm -rf $RPM_BUILD_ROOT
30install -d $RPM_BUILD_ROOT/etc/X11/wmconfig
31
32make install DESTDIR=$RPM_BUILD_ROOT
33make install.man DESTDIR=$RPM_BUILD_ROOT
34
35install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/xkeycaps
36
37%clean
38rm -rf $RPM_BUILD_ROOT
39
40%files
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
46
47%changelog
48