
%define name amc
%define version 0.0.1
%define release 1
%define prefix /usr
Summary : AMC Mail Client
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: GPL
Packager: Okki <crow@planete.net>
URL: http://okki.lefute.com
Group: Applications/Internet
Source: %{name}-%{version}-%{release}.tar.gz
BuildRoot: /var/tmp/%{name}-buildroot
Prefix: %{prefix}
Docdir: %{prefix}/doc

%description
This is the AMC Mail Client, a mail client striving at being a robust, fully gnome-compliant mail reader.  However, the AMC Mail Client differs from other mail clients in that it utilizes existing tools for mail retrieval, sending, and filtering, (fetchmail, sendmail/smtp, procmail).  By not going through the process of reinventing the wheel, the AMC Mail Client starts out as a fully functional client that inherits all of the features of these existing tools, only having to focus further development mainly on message creation/reading capabilities, and the gui.

%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 AUTHORS ChangeLog COPYING NEWS README THANKS TODO
/usr/bin/amc
/usr/share/gnome/apps/Internet/amc.desktop

%changelog
* Thu May 27 2000 Georges Seguin crow@planete.net 
- First RPM
