]> git.pld-linux.org Git - packages/xkeycaps.git/blobdiff - xkeycaps.spec
- s/^Terminal=0/Terminal=false/ s/^Terminal=1/Terminal=true/ to conform
[packages/xkeycaps.git] / xkeycaps.spec
index 0fb86882926740294cab97bf585a111ed163325c..e31642992d8ff2b283f75357bdd1e6956004d9d3 100644 (file)
@@ -1,76 +1,90 @@
-Summary:   xkeycaps - a keymap editor for the X window system
-Name:      xkeycaps
-Version:   2.43
-Release:   1
-Copyright: BSD
-Group:     X11/Applications
-Source0:   http://www.jwz.org/xkeycaps/%{name}-%{version}.tar.Z
-Source1:   %{name}.wmconfig
-URL:       http://www.jwz.org/xkeycaps/
-Buildroot: /tmp/%{name}-%{version}-root
+Summary:       xkeycaps - a keymap editor for the X Window System
+Summary(es):   Un editor de mapas de teclado para X
+Summary(pl):   xkeycaps - edytor mapy klawiatury dla X Window System
+Summary(pt_BR):        Um editor de mapas de teclado para o X
+Name:          xkeycaps
+Version:       2.46
+Release:       5
+License:       BSD
+Group:         X11/Applications
+Source0:       http://www.jwz.org/xkeycaps/%{name}-%{version}.tar.Z
+# Source0-md5: 6792f828db6538f44f7696a8783b44ac
+Source1:       %{name}.desktop
+Source2:       %{name}.png
+URL:           http://www.jwz.org/xkeycaps/
+BuildRequires: XFree86-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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 es
+xkeycaps es una interfaz gráfica para xmodmap. Abre una ventana que
+parece un teclado; mover el ratón sobre una tecla muestra las KeySyms
+y los bits modificadores que la contraseña genera. Si se hace click en
+una tecla simula eventos KeyPress/KeyRelease en la ventana que se
+escoja. Se pueden cambiar los KeySyms y bits modificadores generados
+por una contraseña a través de una interfaz que se basa en el ratón.
+Este programa también puede escribir un archivo para que el xmodmap lo
+cargue las próximas veces que se use X. Para obtener más detalles se
+debe consultar la página del manual.
+
+%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.
+
+%description -l pt_BR
+xkeycaps é uma interface gráfica para o xmodmap. Ele abre uma janela
+que parece um teclado; mover o mouse sobre uma tecla mostra as KeySyms
+e os bits modificadores que a chave gera. Clicando em uma tecla simula
+eventos KeyPress/KeyRelease na janela de sua escolha. É possível mudar
+os KeySyms e bits modificadores gerados por uma chave através de uma
+interface baseada em mouse. Esse programa pode também escrever um
+arquivo para o xmodmap carregar nas próximas vezes que você usar o X.
+Veja a página do manual para maiores detalhes.
 
 %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,%{_pixmapsdir}}
 
-make install DESTDIR=$RPM_BUILD_ROOT
-make install.man DESTDIR=$RPM_BUILD_ROOT
+%{__make} install install.man \
+       DESTDIR=$RPM_BUILD_ROOT \
+        MANDIR=%{_mandir}/man1 \
+        BINDIR=%{_bindir}
 
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/xkeycaps
+install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Settings
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(644, root, root, 755)
+%defattr(644,root,root,755)
 %doc README defining.txt
-/etc/X11/wmconfig/xkeycaps
-%attr(755, root, root) /usr/X11R6/bin/xkeycaps
-%attr(644, root,  man) /usr/X11R6/man/man1/xkeycaps.1x
-
-%changelog
-* Thu Sep  8 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [2.43-1]
-- updated URL to http://www.jwz.org/xkeycaps/,
-- updated base Source Url to http://www.jwz.org/xkeycaps/
-
-* Sat May  3 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [2.42-1]
-- Copyright statment changed to BSD,
-- added %clean section,
-- added -q %setup parameter,
-- added URL,
-- added using $RPM_OPT_FLAGS on compile time,
-- removed paching default kbd name (now directly passed as make parameter),
-- rewrited Summary and %description,
-- removed Packager field from spec (if you want recompile package and
-  redistribute this package later put this in your private .rpmrc). 
-- changed to regular url,
-- added %%{version} to Source url,
-- added using %%{name} macro in Buildroot and Source fields,
-- added %defattr and %attr macros in %files (allows building package from
-  non-root account); %defattr requires rpm >= 2.4.99 on rebuild.
-
-* Fri Aug 22 1997 John A. Martin <jam@jamux.com>
-  [2.38-1]
-- not commented.
-
-* Fri Jan 17 1997 ??? <root@imp.redhat.com>
-  [2.32-1]
-- previouse not commented release in rpm package (powercd 4.2).
+%attr(755,root,root) %{_bindir}/*
+%{_applnkdir}/Settings/xkeycaps.desktop
+%{_pixmapsdir}/*.png
+%{_mandir}/man1/*
This page took 0.082061 seconds and 4 git commands to generate.