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