--- /dev/null
+# $Rev: 3401 $, $Date: 2005-08-15 12:17:57 $
+#
+Summary: xlsatoms application
+Summary(pl): Aplikacja xlsatoms
+Name: xorg-app-xlsatoms
+Version: 0.99.0
+Release: 0.02
+License: MIT
+Group: X11/Applications
+Source0: http://xorg.freedesktop.org/X11R7.0-RC0/app/xlsatoms-%{version}.tar.bz2
+# Source0-md5: 73c75609cdfe1f18db3e1cd037245a9c
+Patch0: xlsatoms-man.patch
+URL: http://xorg.freedesktop.org/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: xorg-lib-libXmu-devel
+BuildRequires: xorg-util-util-macros
+BuildRequires: pkg-config
+BuildRoot: %{tmpdir}/xlsatoms-%{version}-root-%(id -u -n)
+
+%define _prefix /usr/X11R6
+%define _mandir %{_prefix}/man
+
+%description
+xlsatoms application.
+
+%description -l pl
+Aplikacja xlsatoms.
+
+
+%prep
+%setup -q -n xlsatoms-%{version}
+%patch0 -p1
+
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+
+%{__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*