1 Summary: A mail checker client and comsat mail checking server.
6 Group: System Environment/Daemons
7 Source0: ftp://sunsite.unc.edu/pub/Linux/system/network/finger/biff+comsat-0.10.tar.gz
9 Patch0: biff+comsat-0.10-misc.patch
10 Patch1: biff+comsat-0.10-nobr.patch
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 The biff client and comsat server are an antiquated method of
18 asynchronous mail notification. Although they are still supported, most
19 users use their shell's MAIL variable (or csh shell's mail variable) to
20 check for mail, or a dedicated application like xbiff or xmailbox. If
21 the comsat service is not enabled, biff won't work and you'll need to use
22 either the MAIL or mail variable.
24 You may want to install biff if you'd like to be notified when mail
25 arrives. However, you should probably check out the more modern
26 methodologies of mail notification (xbiff or xmailbox) instead.
29 Klient biff oraz serwer comsat to przestarza³a metoda asynchronicznego
30 powiadamianiu o nadchodz±cej poczcie. Chcia¿ wci±¿ siê je obs³uguje, wiêkszo¶æ
31 u¿ytkowników ustawia w tym celu zmienn± ¶rodowiskow± MAIL (lub mail w csh
32 i klonach) lub u¿ywa oddzielnej aplikacji takiej jak xbiff albo xmailbox.
35 %setup -q -n biff+comsat-0.10
40 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man{1,8}}
45 install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd
47 make install INSTALLROOT=$RPM_BUILD_ROOT \
50 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/comsat
52 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man{1,8}/*
55 rm -rf $RPM_BUILD_ROOT
58 if [ -f /var/lock/subsys/rc-inetd ]; then
59 /etc/rc.d/init.d/rc-inetd restart 1>&2
61 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2
65 if [ -f /var/lock/subsys/rc-inetd ]; then
66 /etc/rc.d/init.d/rc-inetd restart
70 %defattr(644,root,root,755)
71 %attr(755,root,root) %{_bindir}/biff
72 %attr(755,root,root) %{_sbindir}/in.comsat
73 %{_mandir}/man1/biff.1.gz
74 %{_mandir}/man8/in.comsat.8.gz
75 %{_mandir}/man8/comsat.8.gz
76 %attr(640,root,root) %config(noreplace) %verify(not mtime md5 size) /etc/sysconfig/rc-inetd/comsat