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