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