%define version @VERSION@
%define release 1
%define prefix /usr

Summary: Ginsu Chat Client
Name: ginsu
Version: %{version}
Release: %{release}
License: LICENSE
Group: Applications/Communications
BuildRoot: /var/tmp/ginsu-%{version}-%{release}-buildroot
Source: http://repetae.net/john/computer/ginsu/drop/ginsu-%{version}.tar.gz
URL: http://repetae.net/john/computer/ginsu/
Packager: John Meacham <john@foo.net>
Prefix: %{prefix}

%description
ginsu chat client.

%prep
%setup

%build
./configure --prefix=%{prefix}
make

%clean
rm -rf $RPM_BUILD_ROOT

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


%files
%attr(-, root, root) %doc Changelog
%attr(-, root, root) %doc LICENSE
%attr(-, root, root) %{prefix}/bin/ginsu
%attr(-, root, root) %{prefix}/bin/ginsu-mdk
%attr(-, root, root) %{prefix}/share/man/man1/ginsu.1.gz

