-# $Rev: 3382 $, $Date: 2005-08-15 12:17:57 $
-#
-Summary: xev application
-Summary(pl): Aplikacja xev
+Summary: xev application - printing contents of X events
+Summary(pl.UTF-8): Aplikacja xev wypisujaca zawartość zdarzeń X
Name: xorg-app-xev
-Version: 0.99.0
-Release: 0.02
+Version: 1.1.0
+Release: 1
License: MIT
Group: X11/Applications
-Source0: http://xorg.freedesktop.org/X11R7.0-RC0/app/xev-%{version}.tar.bz2
-# Source0-md5: 499907a7003c67f8817f72fd9c74f45f
-Patch0: xev-man.patch
+Source0: http://xorg.freedesktop.org/releases/individual/app/xev-%{version}.tar.bz2
+# Source0-md5: 515cfd1fe857b66abe43ec3343634954
URL: http://xorg.freedesktop.org/
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.60
BuildRequires: automake
+BuildRequires: pkgconfig >= 1:0.19
BuildRequires: xorg-lib-libX11-devel
-BuildRequires: xorg-util-util-macros
-BuildRequires: pkg-config
-BuildRoot: %{tmpdir}/xev-%{version}-root-%(id -u -n)
-
-%define _prefix /usr/X11R6
-%define _mandir %{_prefix}/man
+BuildRequires: xorg-util-util-macros >= 1.8
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-xev application.
-
-%description -l pl
-Aplikacja xev.
-
+xev application creates a window and then asks the X server to send it
+events whenever anything happens to the window (such as it being
+moved, resized, typed in, clicked in, etc.). You can also attach it to
+an existing window. It is useful for seeing what causes events to
+occur and to display the information that they contain; it is
+essentially a debugging and development tool, and should not be needed
+in normal usage.
+
+%description -l pl.UTF-8
+Aplikacja xev tworzy okno i żąda od serwera X przesyłania do siebie
+wszystkich zdarzeń występujących w tym oknie (takich jak przesunięcia,
+zmiana rozmiaru, naciśnięcia klawiszy, kliknięcia). Może także
+podłączyć się do istniejącego okna. Jest przydatna do sprawdzania co
+powoduje występowanie zdarzeń i wyświetlania zawartych w nich
+informacji; jest to zasadnicze narzędzie diagnostyczne i
+programistyczne, natomiast nie powinno być potrzebne przy zwykłym
+użytkowaniu systemu.
%prep
%setup -q -n xev-%{version}
-%patch0 -p1
-
%build
%{__aclocal}
%{__make}
-
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-
%clean
rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(644,root,root,755)
-%attr(755,root,wheel) %{_bindir}/*
-%{_mandir}/man1/*.1*
+%doc COPYING ChangeLog README
+%attr(755,root,root) %{_bindir}/xev
+%{_mandir}/man1/xev.1x*