]> git.pld-linux.org Git - packages/anubis.git/blobdiff - anubis.spec
- update description from README
[packages/anubis.git] / anubis.spec
index cae182363f546081ebb7a17f3bf4dcd2ab3a2d01..ca368d5afc8edd565facb5a878af293958ef7a70 100644 (file)
@@ -1,25 +1,34 @@
 Summary:       An outgoing mail processor, and the SMTP tunnel
 Summary(pl):   Preprocesor wychodz±cej poczty i tunel SMTP
 Name:          anubis
-Version:       3.4.1
-Release:       1
+Version:       3.4.6
+Release:       2
 License:       GPL
 Group:         Applications/Mail
 Source0:       http://cesnet.dl.sourceforge.net/sourceforge/anubis/%{name}-%{version}.tar.gz
+Source1:       %{name}.init
+Patch0:                %{name}-info.patch
 URL:           http://anubis.sourceforge.net/
-BuildRequires: automake
 BuildRequires: autoconf
-BuildRequires: openssl-devel
+BuildRequires: automake
 BuildRequires: gpgme-devel
+BuildRequires: openssl-devel
 BuildRequires: pcre-devel
+BuildRequires: texinfo
 PreReq:                /sbin/chkconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Anubis is an outgoing mail processor, and the SMTP tunnel between the
-MUA and the MTA. It supports: extended regular expressions, TLS/SSL
-encryption, GnuPG (via the GPGME library), SOCKS Proxy and WinGates,
-remailers, and more.
+Anubis is an outgoing mail processor. It goes between the MUA (Mail User Agent)
+and the MTA (Mail Transport Agent), and can perform on the fly various sorts of
+processing and conversion on the outgoing mail in accord with the sender's
+specified rules, based on a highly configurable regular expressions system.
+It operates as a proxy server, independently from mail user agents.
+Anubis can edit outgoing mail headers, encrypt and/or sign mail with the
+GNU Privacy Guard, build secure SMTP tunnels (Simple Mail Transport Protocol)
+using the TLS/SSL encryption even if your mail user agent doesn't support it,
+or tunnel a connection through a SOCKS proxy or WinGate proxy server. Moreover,
+Anubis supports the remailers (it allows sending mail in an anonymous way).
 
 %description -l pl
 Anubis jest preprocesorem wychodz±cej poczty i tunelem miêdzy MUA and
@@ -30,21 +39,23 @@ TLS/SSL, GnuPG, SOCKS Proxy oraz WinGates, remailery i nie tylko.
 %setup -q
 
 %build
+rm -f missing
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure \
-       --prefix=%{_prefix} \
        --with-pcre \
        --disable-dependency-tracking
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
-install -d $RPM_BUILD_ROOT%{_sysconfdir}
+install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sysconfdir}}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install ./scripts/redhat.init $RPM_BUILD_ROOT/etc/rc.d/init.d/anubis
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/anubis
 install ./examples/defaultrc $RPM_BUILD_ROOT%{_sysconfdir}/anubisrc
 
 %clean
@@ -57,6 +68,8 @@ if [ -f %{_localstatedir}/lock/subsys/anubis ]; then
 else
        echo "Run \"/etc/rc.d/init.d/anubis start\" to start anubis." >&2
 fi
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
 
 %preun
 if [ "$1" = "0" ]; then
@@ -66,10 +79,14 @@ if [ "$1" = "0" ]; then
        /sbin/chkconfig --del anubis
 fi
 
+%postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS README INSTALL NEWS ChangeLog TUTORIAL TODO examples
-%attr(755,root,root) %{_sbindir}/anubis
-%attr(750,root,root) /etc/rc.d/init.d/anubis
+%doc AUTHORS README INSTALL NEWS ChangeLog TODO examples
+%attr(754,root,root) /etc/rc.d/init.d/anubis
 %attr(600,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/anubisrc
+%attr(755,root,root) %{_sbindir}/anubis
 %{_mandir}/man1/*
+%{_infodir}/*info*
This page took 0.047848 seconds and 4 git commands to generate.