
%define name csmash
%define version 0.4.6
%define release 1
%define prefix /usr
Summary : CannonSmash
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: GPL
Distribution : Build for Red Hat 6.2
Vendor: Boubouline Software
Packager: Okki <okki@wanadoo.fr>
URL: http://cannonsmash.sourceforge.net
Group: Amusements/Games
Source: %{name}-%{version}-%{release}.tar.gz
BuildRoot: /var/tmp/%{name}-buildroot
Prefix: %{prefix}
Docdir: %{prefix}/doc

%description
CannonSmash is a 3D tabletennis game. The goal of this project
is to represent various strategy of tabletennis on computer game.

%prep
rm -rf $RPM_BUILD_ROOT

%setup
./configure --prefix=/usr

%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 AUTHORS ChangeLog COPYING CREDITS INSTALL NEWS README*

/usr/share/*
/usr/bin/*


%changelog

* Sun Sep 17 2000 Georges Seguin okki@wanadoo.fr 
- csmash 0.4.6

* Mon Aug 28 2000 Georges Seguin okki@wanadoo.fr 
- csmash 0.4.5

* Wed Aug 06 2000 Georges Seguin crow@planete.net 
- csmash 0.4.4
- RPM specification file has been enhanced

* Wed Aug 02 2000 Georges Seguin crow@planete.net 
- csmash 0.4.3

* Mon Jul 03 2000 Georges Seguin crow@planete.net 
- csmash 0.4.1

* Fri Jun 23 2000 Georges Seguin crow@planete.net 
- csmash 0.4.0

* Sun May 28 2000 Georges Seguin crow@planete.net 
- Build with Glibc 2.1.3

* Sat May 27 2000 Georges Seguin crow@planete.net 
- First RPM
