--- /dev/null
+Summary: Battleships against the computer (character-cell graphics)
+Summary(pl): Gra w statki przeciwko komputerowi
+Name: battleships
+Version: 2.5
+Release: 1
+License: GPL
+Group: Applcations/Games
+Vendor: Eric S. Raymond <esr@snark.thyrsus.com>
+Source0: http://www.catb.org/~esr/bs/bs-%{version}.tar.gz
+# Source0-md5: 99ac7fad07623a86d3b3f155e11e72a6
+Patch0: %{name}-DESTDIR.patch
+URL: http://www.catb.org/~esr/bs/
+BuildRequires: ncurses-devel
+BuildRequires: xmlto
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The classic game of Battleships against the computer.
+Uses character-cell graphics with a visual point-and-shoot interface.
+
+If you're using an xterm the mouse will work.
+
+%description -l pl
+Klasyczna gra w statki, tym razem przeciwko komputerowi. Posiada
+wizualny interfejs "wska¿ i strzel" (ang. "point and shoot").
+
+Je¶li u¿ywasz xterm, mysz nie bêdzie dzia³aæ.
+
+%prep
+%setup -q -n bs-%{version}
+%patch0 -p1
+
+%build
+%{__make} \
+ CFLAGS="-I /usr/include/ncurses"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6}
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc READ.ME
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man6/bs.6*