-Summary: xmessage application
-Summary(pl): 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: 0.99.0
-Release: 0.02
+Version: 1.0.7
+Release: 1
License: MIT
Group: X11/Applications
-Source0: http://xorg.freedesktop.org/X11R7.0-RC0/app/xmessage-%{version}.tar.bz2
-# Source0-md5: 2b80d0b95e2928cab77f04ec59f64f17
-Patch0: xmessage-man.patch
-URL: http://xorg.freedesktop.org/
-BuildRequires: autoconf
+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-util-util-macros
-BuildRequires: pkgconfig >= 0.19
+BuildRequires: xorg-lib-libXt-devel >= 1.0.0
+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
-Aplikacja xmessage.
+%description -l pl.UTF-8
+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}
-%patch0 -p1
%build
%{__aclocal}
%files
%defattr(644,root,root,755)
-%{_sysconfdir}/X11/app-defaults/*
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*.1*
+%doc COPYING ChangeLog README
+%attr(755,root,root) %{_bindir}/xmessage
+%{_datadir}/X11/app-defaults/Xmessage*
+%{_mandir}/man1/xmessage.1*