1 Summary: Battleships against the computer (character-cell graphics)
2 Summary(pl.UTF-8): Gra w statki przeciwko komputerowi
7 Group: Applications/Games
8 Source0: http://www.catb.org/~esr/bs/bs-%{version}.tar.gz
9 # Source0-md5: 4d4eec59c1789cffacf367d993e724f4
10 Patch0: %{name}-ldflags.patch
11 URL: http://www.catb.org/~esr/bs/
12 BuildRequires: ncurses-devel
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 The classic game of Battleships against the computer. Uses
18 character-cell graphics with a visual point-and-shoot interface.
20 If you're using an xterm the mouse will work.
22 %description -l pl.UTF-8
23 Klasyczna gra w statki, tym razem przeciwko komputerowi. Posiada
24 wizualny interfejs "wskaż i strzel" (ang. "point and shoot").
26 Jeśli używasz xterm, mysz nie będzie działać.
29 %setup -q -n bs-%{version}
34 TERMLIB="-lncurses -ltinfo" \
36 CFLAGS="%{rpmcflags} -I /usr/include/ncurses" \
37 LDFLAGS="%{rpmldflags}"
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6}
44 DESTDIR=$RPM_BUILD_ROOT
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
52 %attr(755,root,root) %{_bindir}/bs