
%define name liquidwar
%define version 5.3.2
%define release 1
%define prefix /usr
Summary : Liquid War is a multiplayer wargame.
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: GPL
Vendor: Boubouline Software
Packager: Okki <crow@planete.net>
URL: http://okki.lefute.com
Group: Amusements/Games
Source: %{name}-%{version}-%{release}.tar.gz
BuildRoot: /var/tmp/%{name}-buildroot
Prefix: %{prefix}
Docdir: %{prefix}/doc

%description
Liquid War is a multiplayer wargame.

It's rules are truely original,
and have been invented by Thomas Colcombet
(Thomas.Colcombet@irisa.fr) while most of the
coding has been done by U-Foot (ufoot@ufoot.org).

Liquid War is currently available for:
- DOS (stable)
- Linux (stable but slow under X11, other targets seem to work well)
- Windows (not *very* stable, since I can not debug it...)

LW used to be a freeware but is now free software,
protected by the GPL (please read COPYING)
Some binary releases do not include the source code because of file
size issues. Still, if you want the source code of Liquid War, you
can download it freely from http://www.ufoot.org or from
http://sourceforge.net (project name "liquidwar").

If you want to know more about Liquid War, check out
my web site on http://www.ufoot.org/liquidwar/

%prep
rm -rf $RPM_BUILD_ROOT

%setup
./configure

%build
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"

%install
make prefix=$RPM_BUILD_ROOT%{prefix} install

%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/*

%files
%defattr (-,root,root)
%doc ALLEGRO CHANGES COPYING INSTALL README TODO
/usr/bin/liquidwar
/usr/share/liquidwar/liquidwar.dat
/usr/share/liquidwar/map/pacman.bmp
/usr/share/liquidwar/map/paille.bmp
/usr/share/liquidwar/map/t4.bmp
/usr/share/liquidwar/texture/bluesquares.bmp
/usr/share/liquidwar/texture/clovers.bmp
/usr/share/liquidwar/texture/rust.bmp
/usr/share/liquidwar/texture/warning.bmp

%changelog

* Fri Jun 23 2000 Georges Seguin crow@planete.net 
- First RPM
