Summary: multiplayer 3D tank battle game
Name: bzflag
Version: 1.7d.9
-Release: 3
+Release: 1
Copyright: Chris Schoeneman 1993-1999
Group: X11/Games/Video
-Source: ftp://ftp.linuxgames.com/%{name}/src/%{name}-%{version}.src.tar.gz
+Group(pl): X11/Gry/Wideo
+Source0: ftp://ftp.linuxgames.com/%{name}/src/%{name}-%{version}.src.tar.gz
Patch1: bzflag-paths.patch
Patch2: bzflag-opts.patch
+Patch3: bzflag-reuse_addr.patch
+Patch4: bzflag-printscore.patch
URL: http://bzflag.linuxgames.com
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _prefix /usr/X11R6
%description
-bzflag is a networked multiplayer 3D tank battle game, combining both fast
-action and strategy. Free-for-all and capture-the-flag styles are
+bzflag is a networked multiplayer 3D tank battle game, combining both
+fast action and strategy. Free-for-all and capture-the-flag styles are
available.
%description -l pl
-bzflag jest sieciow± gr± czo³gow± 3D, ³±cz±c± szybk± akcjê ze strategi±.
-Graæ mo¿na w wolnym stylu lub metod± "zdob±d¼ flagê".
+bzflag jest sieciow± gr± czo³gow± 3D, ³±cz±c± szybk± akcjê ze
+strategi±. Graæ mo¿na w wolnym stylu lub metod± "zdob±d¼ flagê".
%prep
%setup -qn bzflag
%patch1 -p1
%patch2 -p1
+%patch3 -p1
+%patch4 -p1
%build
make linux # other, arch-dependent targets differ only in optymalisation flags
make
%install
+rm -rf $RPM_BUILD_ROOT
install -d ${RPM_BUILD_ROOT}{%{_bindir},%{_datadir}/bzflag,%{_mandir}/man6}
install bin/* ${RPM_BUILD_ROOT}%{_bindir}
install man/*.6s ${RPM_BUILD_ROOT}%{_mandir}/man6