-Summary: xwd application
-Summary(pl): Aplikacja xwd
+Summary: xwd application - dump an image of an X window
+Summary(pl.UTF-8): Aplikacja xwd - zrzut obrazu okna X
Name: xorg-app-xwd
-Version: 0.99.1
-Release: 0.1
+Version: 1.0.3
+Release: 1
License: MIT
Group: X11/Applications
-Source0: http://xorg.freedesktop.org/releases/X11R7.0-RC1/app/xwd-%{version}.tar.bz2
-# Source0-md5: d0d202707ccf9cdbf952833f992ebec2
+Source0: http://xorg.freedesktop.org/releases/individual/app/xwd-%{version}.tar.bz2
+# Source0-md5: 007cea1f389abde5c93162dcd5541351
+Source1: xwd.1x.pl
URL: http://xorg.freedesktop.org/
BuildRequires: autoconf >= 2.57
BuildRequires: automake
BuildRequires: pkgconfig >= 1:0.19
-BuildRequires: xorg-lib-libXmu-devel
-BuildRequires: xorg-util-util-macros >= 0.99.1
+BuildRequires: xorg-lib-libX11-devel
+BuildRequires: xorg-util-util-macros >= 1.3
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-xwd application.
-
-%description -l pl
-Aplikacja xwd.
+xwd application is an X Window System window dumping utility. It
+allows X users to store window images in a specially formatted dump
+file. This file can then be read by various other X utilities for
+redisplay, printing, editing, formatting, archiving, image processing,
+etc. The target window is selected by clicking the pointer in the
+desired window.
+
+%description -l pl.UTF-8
+Aplikacja xwd to narzędzie do wykonywania zrzutów okien X Window
+System. Umożliwia użytkownikom zapisywanie obrazów okien w plikach o
+specjalnym formacie, które później mogą być czytane przez różne inne
+narzędzia X do wyświetlania, drukowania, edycji, formatowania,
+archiwizacji, przetwarzania itp. Wyboru okna dokonuje się klikając na
+nim kursorem.
%prep
%setup -q -n xwd-%{version}
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT \
- appmandir=%{_mandir}/man1
+ DESTDIR=$RPM_BUILD_ROOT
+
+install -D %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/xwd.1x
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc ChangeLog
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*.1x*
+%doc COPYING ChangeLog README
+%attr(755,root,root) %{_bindir}/xwd
+%{_mandir}/man1/xwd.1x*
+%lang(pl) %{_mandir}/pl/man1/xwd.1x*