1 Summary: An outgoing mail processor, and the SMTP tunnel
2 Summary(pl): Preprocesor wychodz±cej poczty i tunel SMTP
7 Group: Applications/Mail
8 Source0: http://cesnet.dl.sourceforge.net/sourceforge/anubis/%{name}-%{version}.tar.gz
9 URL: http://anubis.sourceforge.net/
10 BuildRequires: automake
11 BuildRequires: autoconf
12 BuildRequires: openssl-devel
13 BuildRequires: gpgme-devel
14 BuildRequires: pcre-devel
15 PreReq: /sbin/chkconfig
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Anubis is an outgoing mail processor, and the SMTP tunnel between the
20 MUA and the MTA. It supports: extended regular expressions, TLS/SSL
21 encryption, GnuPG (via the GPGME library), SOCKS Proxy and WinGates,
25 Anubis jest preprocesorem wychodz±cej poczty i tunelem miêdzy MUA and
26 the MTA. Anubis wspiera rozszerzone wyra¿enia regularne, szyfrowanie
27 TLS/SSL, GnuPG, SOCKS Proxy oraz WinGates, remailery i nie tylko.
36 --disable-dependency-tracking
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
42 install -d $RPM_BUILD_ROOT%{_sysconfdir}
45 DESTDIR=$RPM_BUILD_ROOT
47 install ./scripts/redhat.init $RPM_BUILD_ROOT/etc/rc.d/init.d/anubis
48 install ./examples/defaultrc $RPM_BUILD_ROOT%{_sysconfdir}/anubisrc
51 rm -fr $RPM_BUILD_ROOT
54 /sbin/chkconfig --add anubis
55 if [ -f %{_localstatedir}/lock/subsys/anubis ]; then
56 /etc/rc.d/init.d/anubis restart >&2
58 echo "Run \"/etc/rc.d/init.d/anubis start\" to start anubis." >&2
62 if [ "$1" = "0" ]; then
63 if [ -f %{_localstatedir}/lock/subsys/anubis ]; then
64 /etc/rc.d/init.d/anubis stop
66 /sbin/chkconfig --del anubis
70 %defattr(644,root,root,755)
71 %doc AUTHORS README INSTALL NEWS ChangeLog TUTORIAL TODO examples
72 %attr(755,root,root) %{_sbindir}/anubis
73 %attr(750,root,root) /etc/rc.d/init.d/anubis
74 %attr(600,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/anubisrc