]> git.pld-linux.org Git - packages/battleships.git/blame - battleships.spec
- ncurses rebuild
[packages/battleships.git] / battleships.spec
CommitLineData
23eb9ce6 1Summary: Battleships against the computer (character-cell graphics)
4abc375e 2Summary(pl.UTF-8): Gra w statki przeciwko komputerowi
23eb9ce6 3Name: battleships
bd68e8bd 4Version: 2.9
75441a87 5Release: 2
600cd3af
AG
6License: GPL
7Group: Applications/Games
23eb9ce6 8Source0: http://www.catb.org/~esr/bs/bs-%{version}.tar.gz
bd68e8bd 9# Source0-md5: 4d4eec59c1789cffacf367d993e724f4
9cee7738 10Patch0: %{name}-ldflags.patch
23eb9ce6
AG
11URL: http://www.catb.org/~esr/bs/
12BuildRequires: ncurses-devel
13BuildRequires: xmlto
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
600cd3af
AG
17The classic game of Battleships against the computer. Uses
18character-cell graphics with a visual point-and-shoot interface.
23eb9ce6
AG
19
20If you're using an xterm the mouse will work.
21
0009937a 22%description -l pl.UTF-8
23eb9ce6 23Klasyczna gra w statki, tym razem przeciwko komputerowi. Posiada
0009937a 24wizualny interfejs "wskaż i strzel" (ang. "point and shoot").
23eb9ce6 25
0009937a 26Jeśli używasz xterm, mysz nie będzie działać.
23eb9ce6
AG
27
28%prep
29%setup -q -n bs-%{version}
9cee7738 30%patch0 -p1
23eb9ce6
AG
31
32%build
33%{__make} \
9cee7738 34 TERMLIB="-lncurses -ltinfo" \
24c37a01 35 CC="%{__cc}" \
9cee7738 36 CFLAGS="%{rpmcflags} -I /usr/include/ncurses" \
37 LDFLAGS="%{rpmldflags}"
23eb9ce6
AG
38
39%install
40rm -rf $RPM_BUILD_ROOT
41install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6}
42
43%{__make} install \
44 DESTDIR=$RPM_BUILD_ROOT
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
02603fb8 51%doc README
9cee7738 52%attr(755,root,root) %{_bindir}/bs
23eb9ce6 53%{_mandir}/man6/bs.6*
This page took 0.071223 seconds and 4 git commands to generate.