
%define name spruce
%define version 0.7.5
%define release 1
%define prefix /usr
Summary : Spruce is an X11 email client using the Gtk+ widget set.
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://spruce.sourceforge.net
Group: Applications/Internet
Source: %{name}-%{version}-%{release}.tar.gz
BuildRoot: /var/tmp/%{name}-buildroot
Prefix: %{prefix}
Docdir: %{prefix}/doc

%description
Spruce is an X11 email client written by Jeff Stedfast using the Gtk+ widget set.
It is geared toward speed and useability, supporting all the common features
users want or need without sacrificing speed or space. You can use your own computer
as your mail server for incoming and outgoing mail. It also supports the use
of a remote Simple Mail Transport Protocol(SMTP) mail server at your Internet
Service Provider (ISP), your employer, university or whatever. If a computer can sit on
the Internet and gather the mail for you, Spruce can connect to it and plop it down
on your desktop.

If your desktop computer is connected to the 'Net full time and serves as your mail server,
Spruce can also manage your mail for you.

You can set up different Spruce mailboxes for different categories of mail,
and it includes filters to automatically slip the incoming mail into the appropriate box.
Spruce also supports GNUpg.

%prep
rm -rf $RPM_BUILD_ROOT

%setup
./configure --prefix=/usr --enable-gnome --enable-gpg

%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 ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README* THANKS TODO WISHLIST

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


%changelog

* Mon Sep 04 2000 Georges Seguin okki@wanadoo.fr 
- Spruce 0.7.5

* Wed Aug 23 2000 Georges Seguin okki@wanadoo.fr 
- Spruce 0.7.4
- RPM specification file has been improved

* Sat Aug 05 2000 Georges Seguin crow@planete.net 
- Spruce 0.7.3

* Wed Jun 28 2000 Georges Seguin crow@planete.net 
- Rebuild package with GPG support

* Wed Jun 28 2000 Georges Seguin crow@planete.net 
- First RPM
