Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 217d91a096729e249a4899961cfff982 > files > 4

smtptools-0.2.3-6mdv2009.0.src.rpm

Summary:	Tools for the Simple Mail Transfer Protocol
Name:		smtptools
Version:	0.2.3
Release:	%mkrel 6
License:	GPL
Group:		Networking/Mail
URL:		http://www.ohse.de/uwe/software/smtptools.html
Source0:	ftp://ftp.ohse.de/uwe/releases/%{name}-%{version}.tar.bz2
Patch0:		smtptools-0.2.3-no_usmtpd.diff
Patch1:		smtptools-0.2.3-resolv.diff
BuildRequires:	libtool
BuildRequires:	automake1.7
BuildRequires:	autoconf2.5
BuildRoot:	%{_tmppath}/%{name}-buildroot

%description
This collection of commands contains tools to send and receive
messsages with SMTP.

* smtpblast can be used to send messages to remote hosts without
  having to deal with the local mail system.

* tomaildir writes a single message from a file or stdin to a
  maildir.

* maildirblast can send the contents of a maildir through smtp.
  It may either use a relay host or MX records. See the
  manualpage.

This package does not provide the usmtpd server (replacement for
the qmail-smtpd) as it would imply qmail is required.

%prep

%setup -q
%patch0 -p0
%patch1 -p0

%build
rm -f configure
libtoolize --force --copy; aclocal-1.7; autoheader; automake-1.7 --add-missing --copy --foreign; autoconf

%configure2_5x

%make

%install
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}

%makeinstall

# remove the usmtpd as it would imply qmail is really needed...
rm -rf %{buildroot}%{_sbindir}
rm -f %{buildroot}%{_mandir}/man1/usmtpd.1

%clean
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog README README.cvs README.smtpblast README.tomaildir
%{_bindir}/*
%{_mandir}/man1/*




%changelog
* Sat Aug 02 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.2.3-6mdv2009.0
+ Revision: 260860
- rebuild

* Tue Jul 29 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.2.3-5mdv2009.0
+ Revision: 252677
- rebuild

* Wed Jan 02 2008 Olivier Blin <oblin@mandriva.com> 0.2.3-3mdv2008.1
+ Revision: 140829
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request


* Fri Feb 02 2007 Oden Eriksson <oeriksson@mandriva.com> 0.2.3-3mdv2007.0
+ Revision: 115919
- Import smtptools

* Fri Jan 13 2006 Oden Eriksson <oeriksson@mandriva.com> 0.2.3-3mdk
- make it compile on x86_64 (P1)

* Sun Jan 08 2006 Oden Eriksson <oeriksson@mandriva.com> 0.2.3-2mdk
- rebuild
- don't try to build usmtpd (it won't even build)

* Sun Dec 26 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 0.2.3-1mdk
- initial mandrake package (re-added?)