Summary: smtp fast exploding external deliverer for sendmail
Summary(ja): SMTP によるメールの配信を高速化
Name: smtpfeed
Version: 1.02
Release: 2vl2
License: BSD
Group: System Environment/Daemons
Source0: ftp://ftp.kyoto.wide.ad.jp/mail/smtpfeed/smtpfeed-%{version}.tar.gz
Source1: vine_smtpfeed.def
Requires: sendmail >= 8.9.3
Buildroot: %{_tmppath}/%{name}-%{version}-root
Vendor: Project Vine
Distribution: Vine Linux

%description
SMTPfeed is a SMTP delivery agent which is called by sendmail, and it
improves time required to complete delivery a message to huge number of
recipients. SMTPfeed is effective for delivery of large mailing lists.

%description -l ja
SMTPfeed は sendmail から呼び出される配信エージェントで、大量の受信者への
メール配送にかかる時間を低減します。SMTPfeed は大きなメーリングリスト
の配送に効果的です。

%prep
%setup -q
./configure --libexecdir=%{buildroot}/usr/sbin

%build
make all

%install
rm -rf %{buildroot}

mkdir -p %{buildroot}/usr/sbin
mkdir -p %{buildroot}%{_mandir}/ja/man8
#mkdir -p %{buildroot}/var/log
#mkdir -p %{buildroot}/usr/src/CF-3.7Wpl2/VineSample

make DEST=%{buildroot}/usr/sbin install
# make install
cp -ar smtpfeed.8 %{buildroot}%{_mandir}/ja/man8
#install -m 755 $RPM_SOURCE_DIR/vine_smtpfeed.def %{buildroot}/usr/src/CF-3.7Wpl2/VineSample
cp -p %{SOURCE1} .

# install docs by hand
#mkdir -p %{buildroot}/usr/doc/smtpfeed-%{version}
#cp -ar COPYRIGHT FEATURES FYI INSTALL OPTIONS README RELEASE.NOTE SIGNAL \
#       TEST.in smtpfeed.html \
#       %{buildroot}/usr/doc/smtpfeed-%{version}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc COPYRIGHT FEATURES FEATURES.j FYI FYI.j INSTALL INSTALL.j OPTIONS OPTIONS.j README README.j RELEASE.NOTE SIGNAL SIGNAL.j TEST.in smtpfeed.html TODO vine_smtpfeed.def
/usr/sbin/smtpfeed
%{_mandir}/ja/man8/smtpfeed.8*
# /usr/src/CF-3.7Wpl2/VineSample/vine_smtpfeed.def

%changelog
* Thu Feb 07 2002 Toru Sagami <sagami@vinelinux.org> 1.02-2vl2
- corrected Group and added defattr
- a bit tweak spec: fixed Summary(ja), buildroot and move changelog at EOF etc.
- install man pages into %%{_mandir}

* Thu Nov  9 2000 Masato Bito <masato@nets.ce.hiroshima-cu.ac.jp>
- 1.02-2vl1
- modified %files section to handle compressed man pages
- change man dir ja_JP.ujis to ja

* Wed Dec 20 1999 Tetsuhiro Nakane <nakane@ecc.denso.co.jp>
- upgrade to 1.02

* Wed Aug  8 1999 Tetsuhiro Nakane <nakane@ecc.denso.co.jp>
- upgrade to 1.01
- rebuild for vine
- added vine_smtpfeed.def for CF

* Wed Mar  3 1999 Edgard Castro <castro@usmatrix.net>
- first rpm version

