]> git.pld-linux.org Git - packages/xkeycaps.git/blobdiff - xkeycaps.spec
- fix tor place correctly desktop file in Settings.
[packages/xkeycaps.git] / xkeycaps.spec
index 125abca28cfe5f10b36151a4737fce6c2cd49edf..24b06a3aab54edf4fc5f08f5656b80c6bd305df8 100644 (file)
@@ -1,60 +1,60 @@
-Summary:       xkeycaps - a keymap editor for the X window system
-Summary(pl):   xkeycaps - edytor mapy klawiatury dla X window
+Summary:       xkeycaps - a keymap editor for the X Window System
+Summary(pl):   xkeycaps - edytor mapy klawiatury dla X Window System
 Name:          xkeycaps
-Version:       2.44
-Release:       2
-Copyright:     BSD
+Version:       2.46
+Release:       3
+License:       BSD
 Group:         X11/Applications
+Group(de):     X11/Applikationen
 Group(pl):     X11/Aplikacje
 Source0:       http://www.jwz.org/xkeycaps/%{name}-%{version}.tar.Z
-Source1:       xkeycaps.wmconfig
+Source1:       %{name}.desktop
 URL:           http://www.jwz.org/xkeycaps/
-BuildPrereq:   XFree86-devel
-Buildroot:     /tmp/%{name}-%{version}-root
+BuildRequires: XFree86-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define _prefix        /usr/X11R6
-%define _mandir %{_prefix}/man
+%define        _prefix         /usr/X11R6
+%define        _mandir         %{_prefix}/man
 
 %description
-xkeycaps is a graphical front-end to xmodmap.It opens a window that looks
-like a keyboard; moving the mouse over a key shows what KeySyms and Modifier
-bits that key generates. Clicking on a key simulates KeyPress/KeyRelease
-events on the window of your choice. It is possible to change the KeySyms
-and Modifiers generated by a key through a mouse-based interface. This
-program can also write an input file for xmodmap to recreate your changes in
-future sessions.
+xkeycaps is a graphical front-end to xmodmap.It opens a window that
+looks like a keyboard; moving the mouse over a key shows what KeySyms
+and Modifier bits that key generates. Clicking on a key simulates
+KeyPress/KeyRelease events on the window of your choice. It is
+possible to change the KeySyms and Modifiers generated by a key
+through a mouse-based interface. This program can also write an input
+file for xmodmap to recreate your changes in future sessions.
 
 %description -l pl
-xkeycaps jest graficzn± nak³adk± na xmodmap. xkeycaps otwiera okno, które
-wygl±da jak klawiatura; przesuwaj±c mysz± ponad klawiszami uzyskujemy
-informacjê na temat KeySyms oraz bitów Modifier jakie ten klawisz generuje.
-Klikniêcie na klawiszu symuluje zdarzenia KeyPress/KeyRelease dla okna, które
-wybierzesz. Mo¿na zmieniæ KeySyms i Modifiers wygenerowane przez klawisz przy
-u¿yciu bazuj±cego na myszy interfejsu. Ten program mo¿e tak¿e zapisywaæ plik
-konfiguracyjny dla xmodmapa.
+xkeycaps jest graficzn± nak³adk± na xmodmap. xkeycaps otwiera okno,
+które wygl±da jak klawiatura; przesuwaj±c mysz± ponad klawiszami
+uzyskujemy informacjê na temat KeySyms oraz bitów Modifier jakie ten
+klawisz generuje. Klikniêcie na klawiszu symuluje zdarzenia
+KeyPress/KeyRelease dla okna, które wybierzesz. Mo¿na zmieniæ KeySyms
+i Modifiers wygenerowane przez klawisz przy u¿yciu bazuj±cego na myszy
+interfejsu. Ten program mo¿e tak¿e zapisywaæ plik konfiguracyjny dla
+xmodmapa.
 
 %prep
 %setup -q
 
 %build
 xmkmf -a
-make \
-       DEFAULT_KBD_NAME="L101" \
-       CDEBUGFLAGS="$RPM_OPT_FLAGS"
+%{__make} DEFAULT_KBD_NAME="L101" \
+       CDEBUGFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc/X11/wmconfig
+install -d $RPM_BUILD_ROOT%{_applnkdir}/Settings
 
-make install install.man \
+%{__make} install install.man \
        DESTDIR=$RPM_BUILD_ROOT \
         MANDIR=%{_mandir}/man1 \
         BINDIR=%{_bindir} 
 
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/%{name}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Settings
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
-       README defining.txt
+gzip -9nf README defining.txt
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -62,14 +62,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc *.gz
-/etc/X11/wmconfig/%{name}
-%attr(755,root,root) %{_bindir}/%{name}
+%{_applnkdir}/Settings/xkeycaps.desktop
+%attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
-
-%changelog
-* Thu May 20 1999 Piotr Czerwiñski <pius@pld.org.pl> 
-  [2.44-2]
-- package is FHS 2.0 compliant,
-- based on spec file by John A. Martin <jam@jamux.com>,
-  modified for PLD use by me and Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>,
-- pl translation by Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>.
This page took 0.058874 seconds and 4 git commands to generate.