-Summary: xmessage application
-Summary(pl.UTF-8): Aplikacja xmessage
+Summary: xmessage application - display a message or query in a window
+Summary(pl.UTF-8): Aplikacja xmessage - wyświetlanie komunikatu lub zapytania w oknie
Name: xorg-app-xmessage
-Version: 1.0.1
+Version: 1.0.7
Release: 1
License: MIT
Group: X11/Applications
-Source0: http://xorg.freedesktop.org/releases/individual/app/xmessage-%{version}.tar.bz2
-# Source0-md5: b3674c3a00a089764d86aa94e257ccec
-URL: http://xorg.freedesktop.org/
-BuildRequires: autoconf >= 2.57
+Source0: https://xorg.freedesktop.org/releases/individual/app/xmessage-%{version}.tar.xz
+# Source0-md5: ba2dd3db3361e374fefe2b1c797c46eb
+URL: https://xorg.freedesktop.org/
+BuildRequires: autoconf >= 2.60
BuildRequires: automake
BuildRequires: pkgconfig >= 1:0.19
+BuildRequires: tar >= 1:1.22
BuildRequires: xorg-lib-libXaw-devel
BuildRequires: xorg-lib-libXt-devel >= 1.0.0
-BuildRequires: xorg-util-util-macros >= 0.99.2
+BuildRequires: xorg-util-util-macros >= 1.8
+BuildRequires: xz
Requires: xorg-lib-libXt >= 1.0.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-xmessage application.
+The xmessage program displays a window containing a message from the
+command line, a file, or standard input. Along the lower edge of the
+message is row of buttons; clicking the left mouse button on any of
+these buttons will cause xmessage to exit. Which button was pressed is
+returned in the exit status and, optionally, by writing the label of
+the button to standard output.
%description -l pl.UTF-8
-Aplikacja xmessage.
+Program xmessage wyświetla okienko zawierające komunikat z linii
+poleceń, pliku lub standardowego wejścia. Wzdłuż dolnej krawędzi
+komunikatu znajduje się wiersz przycisków; kliknięcie lewym klawiszem
+myszy na dowolnym z przycisków powoduje zakończenie xmessage, To,
+który przycisk został wciśnięty, jest zwracane w kodzie wyjścia oraz,
+opcjonalnie, poprzez wypisanie etykiety przycisku na standardowym
+wyjściu.
%prep
%setup -q -n xmessage-%{version}
%doc COPYING ChangeLog README
%attr(755,root,root) %{_bindir}/xmessage
%{_datadir}/X11/app-defaults/Xmessage*
-%{_mandir}/man1/xmessage.1x*
+%{_mandir}/man1/xmessage.1*