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://anubis.sourceforge.net/download/%{name}-%{version}.tar.gz
10 Patch0: %{name}-libobj.patch
11 URL: http://anubis.sourceforge.net/
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 the MTA.
26 Anubis wspiera rozszerzone wyra¿enia regularne, szyfrowanie TLS/SSL, GnuPG,
27 SOCKS Proxy oraz WinGates, remailery i nie tylko.
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
44 install -d $RPM_BUILD_ROOT%{_sysconfdir}
47 DESTDIR=$RPM_BUILD_ROOT
49 install %SOURCE1 $RPM_BUILD_ROOT/etc/rc.d/init.d/anubis
50 install ./examples/defaultrc $RPM_BUILD_ROOT%{_sysconfdir}/anubisrc
53 rm -fr $RPM_BUILD_ROOT
56 /sbin/chkconfig --add anubis
57 if [ -f %{_localstatedir}/lock/subsys/anubis ]; then
58 /etc/rc.d/init.d/anubis restart >&2
60 echo "Run \"/etc/rc.d/init.d/anubis start\" to start anubis." >&2
64 if [ "$1" = "0" ]; then
65 if [ -f %{_localstatedir}/lock/subsys/anubis ]; then
66 /etc/rc.d/init.d/anubis stop
68 /sbin/chkconfig --del anubis
72 %defattr(644,root,root,755)
73 %doc AUTHORS README INSTALL NEWS ChangeLog TUTORIAL TODO examples
74 %attr(700,root,root) %{_sbindir}/anubis
75 %attr(755,root,root) /etc/rc.d/init.d/anubis
76 %attr(600,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/anubisrc