]> git.pld-linux.org Git - packages/comsat.git/blob - comsat.spec
- more spelling fixes
[packages/comsat.git] / comsat.spec
1 Summary:        A mail checker client and comsat mail checking server.
2 Name:           comsat
3 Version:        0.10
4 Release:        22
5 Copyright:      BSD
6 Group:          System Environment/Daemons
7 Source0:        ftp://sunsite.unc.edu/pub/Linux/system/network/finger/biff+comsat-0.10.tar.gz
8 Source1:        comsat.inetd
9 Patch0:         biff+comsat-0.10-misc.patch
10 Patch1:         biff+comsat-0.10-nobr.patch
11 Obsoletes:      biff
12 Provides:       biff
13 Prereq:         rc-inetd
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
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.   
23
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.
27
28 %description -l pl
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.
33
34 %prep
35 %setup -q -n biff+comsat-0.10
36 %patch0 -p1
37 %patch1 -p1
38
39 %build
40 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
41
42 %install
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
46
47 make install INSTALLROOT=$RPM_BUILD_ROOT \
48         MANDIR=%{_mandir}
49
50 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/comsat
51
52 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man{1,8}/*
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post
58 if [ -f /var/lock/subsys/rc-inetd ]; then
59         /etc/rc.d/init.d/rc-inetd restart 1>&2
60 else
61         echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2
62 fi
63
64 %postun
65 if [ -f /var/lock/subsys/rc-inetd ]; then
66         /etc/rc.d/init.d/rc-inetd restart
67 fi
68
69 %files
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
This page took 0.082595 seconds and 3 git commands to generate.