# RPM spec file for BomberInstinct

Summary: Kill the other players with bombs that throw flames
Name: @PACKAGE@
Version: @VERSION@
Release: 1
Copyright: GPL
Group: Amusements/Games
Source: %{name}-%{version}.tar.gz
URL: http://www.bomberinstinct.org/index_en.html
Packager: Pierre Sarrazin <sarrazip at iname dot com>
Prefix: /usr
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root
Requires: SDL >= 1.2.0, SDL_mixer >= 1.2.0

%description
BomberInstinct is part like Bomberman, because you must kill
the other players with bombs that throw flames vertically and
horizontally, but it's much more strategical because you have to
do with the elements of a maze (arrows, tunnels, teleportations,
and many more...), and with the special powers of each character.
(multiplayer on one computer only)

%prep
%setup

%build
./configure --prefix=%{prefix} --target=i386 && make CXXFLAGS="-DNDEBUG -O2"

%install
rm -fR $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -fR $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%{prefix}/bin/bi
# RPM specbin/spred
%{prefix}/bin/nived
%{prefix}/share/@PACKAGE@


