]> git.pld-linux.org Git - packages/xkeycaps.git/blob - xkeycaps.spec
- fix tor place correctly desktop file in Settings.
[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 System
3 Name:           xkeycaps
4 Version:        2.46
5 Release:        3
6 License:        BSD
7 Group:          X11/Applications
8 Group(de):      X11/Applikationen
9 Group(pl):      X11/Aplikacje
10 Source0:        http://www.jwz.org/xkeycaps/%{name}-%{version}.tar.Z
11 Source1:        %{name}.desktop
12 URL:            http://www.jwz.org/xkeycaps/
13 BuildRequires:  XFree86-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _prefix         /usr/X11R6
17 %define         _mandir         %{_prefix}/man
18
19 %description
20 xkeycaps is a graphical front-end to xmodmap.It opens a window that
21 looks like a keyboard; moving the mouse over a key shows what KeySyms
22 and Modifier bits that key generates. Clicking on a key simulates
23 KeyPress/KeyRelease events on the window of your choice. It is
24 possible to change the KeySyms and Modifiers generated by a key
25 through a mouse-based interface. This program can also write an input
26 file for xmodmap to recreate your changes in future sessions.
27
28 %description -l pl
29 xkeycaps jest graficzn± nak³adk± na xmodmap. xkeycaps otwiera okno,
30 które wygl±da jak klawiatura; przesuwaj±c mysz± ponad klawiszami
31 uzyskujemy informacjê na temat KeySyms oraz bitów Modifier jakie ten
32 klawisz generuje. Klikniêcie na klawiszu symuluje zdarzenia
33 KeyPress/KeyRelease dla okna, które wybierzesz. Mo¿na zmieniæ KeySyms
34 i Modifiers wygenerowane przez klawisz przy u¿yciu bazuj±cego na myszy
35 interfejsu. Ten program mo¿e tak¿e zapisywaæ plik konfiguracyjny dla
36 xmodmapa.
37
38 %prep
39 %setup -q
40
41 %build
42 xmkmf -a
43 %{__make} DEFAULT_KBD_NAME="L101" \
44         CDEBUGFLAGS="%{rpmcflags}"
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{_applnkdir}/Settings
49
50 %{__make} install install.man \
51         DESTDIR=$RPM_BUILD_ROOT \
52         MANDIR=%{_mandir}/man1 \
53         BINDIR=%{_bindir} 
54
55 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Settings
56
57 gzip -9nf README defining.txt
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc *.gz
65 %{_applnkdir}/Settings/xkeycaps.desktop
66 %attr(755,root,root) %{_bindir}/*
67 %{_mandir}/man1/*
This page took 0.043463 seconds and 4 git commands to generate.