]> git.pld-linux.org Git - packages/anubis.git/blob - anubis.spec
This commit was manufactured by cvs2git to create branch 'RA-branch'.
[packages/anubis.git] / anubis.spec
1 Summary:        An outgoing mail processor, and the SMTP tunnel
2 Summary(pl):    Preprocesor wychodz±cej poczty i tunel SMTP
3 Name:           anubis
4 Version:        3.4.6
5 Release:        3
6 License:        GPL
7 Group:          Applications/Mail
8 Source0:        http://prdownloads.sourceforge.net/anubis/%{name}-%{version}.tar.gz
9 Source1:        %{name}.init
10 Patch0:         %{name}-info.patch
11 URL:            http://anubis.sourceforge.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gpgme-devel
15 BuildRequires:  openssl-devel
16 BuildRequires:  pcre-devel
17 BuildRequires:  texinfo
18 PreReq:         /sbin/chkconfig
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Anubis is an outgoing mail processor. It goes between the MUA (Mail User Agent)
23 and the MTA (Mail Transport Agent), and can perform on the fly various sorts of
24 processing and conversion on the outgoing mail in accord with the sender's
25 specified rules, based on a highly configurable regular expressions system.
26 It operates as a proxy server, independently from mail user agents.
27 Anubis can edit outgoing mail headers, encrypt and/or sign mail with the
28 GNU Privacy Guard, build secure SMTP tunnels (Simple Mail Transport Protocol)
29 using the TLS/SSL encryption even if your mail user agent doesn't support it,
30 or tunnel a connection through a SOCKS proxy or WinGate proxy server. Moreover,
31 Anubis supports the remailers (it allows sending mail in an anonymous way).
32
33 %description -l pl
34 Anubis zajmuje siê przetwarzaniem poczty wychodz±cej. Znajduje siê on pomiêdzy
35 MUA (Mail User Agent) i MTA (Mail Transport Agent) i mo¿e wykonywaæ w locie
36 rózne rodzaje przetwarzania i konwersji poczty wychodz±cej zale¿nie od
37 podanych regu³, bazuj±cych na wysoce konfigurowalnym systemie wyra¿eñ
38 regularnych.
39 Anubis dzia³a jako serwer proxy, niezale¿nie od programów pocztowych.
40 Potrafi on zmieniaæ nag³owki listów, szyfowaæ lb podpisywaæ jest przy pomocy
41 GNU Privacy Guard, tworzyæ bezpieczne tunele SMTP u¿ywaj±c szyfrowania TLS/SSL
42 nawet, gdy Twój program pocztowy nie ma takich mo¿liwo¶ci. Mo¿liwe jest te¿
43 tunelowanie po³±czeñ przez SOCKS proxy lub serwer proxy WinGate. Co wiêcej,
44 Anubis wspiera tak¿e remailery (czyli pozawala na anonimowe wysy³anie poczty).
45
46 %prep
47 %setup -q
48
49 %build
50 rm -f missing
51 %{__aclocal}
52 %{__autoconf}
53 %{__automake}
54 %configure \
55         --with-pcre \
56         --disable-dependency-tracking
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sysconfdir}}
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/anubis
67 install ./examples/defaultrc $RPM_BUILD_ROOT%{_sysconfdir}/anubisrc
68
69 %clean
70 rm -fr $RPM_BUILD_ROOT
71
72 %post
73 /sbin/chkconfig --add anubis
74 if [ -f %{_localstatedir}/lock/subsys/anubis ]; then
75         /etc/rc.d/init.d/anubis restart >&2
76 else
77         echo "Run \"/etc/rc.d/init.d/anubis start\" to start anubis." >&2
78 fi
79 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
80
81
82 %preun
83 if [ "$1" = "0" ]; then
84         if [ -f %{_localstatedir}/lock/subsys/anubis ]; then
85                 /etc/rc.d/init.d/anubis stop
86         fi
87         /sbin/chkconfig --del anubis
88 fi
89
90 %postun
91 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
92
93 %files
94 %defattr(644,root,root,755)
95 %doc AUTHORS README INSTALL NEWS ChangeLog TODO examples
96 %attr(754,root,root) /etc/rc.d/init.d/anubis
97 %attr(600,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/anubisrc
98 %attr(755,root,root) %{_sbindir}/anubis
99 %{_mandir}/man1/*
100 %{_infodir}/*info*
This page took 0.046381 seconds and 3 git commands to generate.