]> git.pld-linux.org Git - packages/anubis.git/commitdiff
- very useful package
authorfilon <filon@sokrates.mimuw.edu.pl>
Tue, 11 Jun 2002 23:09:02 +0000 (23:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- working, STBR

Changed files:
    anubis.spec -> 1.1

anubis.spec [new file with mode: 0644]

diff --git a/anubis.spec b/anubis.spec
new file mode 100644 (file)
index 0000000..1a118d5
--- /dev/null
@@ -0,0 +1,77 @@
+Summary:       An outgoing mail processor, and the SMTP tunnel
+Summary(pl):   Preprocesor wychodz±cej poczty i tunel SMTP
+Name:          anubis
+Version:       3.0.1
+Release:       1
+License:       GPL
+Group:         Applications/Mail
+Source0:       http://anubis.sourceforge.net/download/%{name}-%{version}.tar.gz
+Source1:       %{name}.init
+Patch0:                %{name}-libobj.patch
+URL:           http://anubis.sourceforge.net/
+BuildRequires: openssl-devel
+BuildRequires: gpgme-devel
+BuildRequires: pcre-devel
+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.
+
+%description -l pl
+Anubis jest preprocesorem wychodz±cej poczty i tunelem miêdzy MUA and the MTA.
+Anubis wspiera rozszerzone wyra¿enia regularne, szyfrowanie TLS/SSL, GnuPG,
+SOCKS Proxy oraz WinGates, remailery i nie tylko.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__aclocal}
+%{__automake}
+%{__autoconf}
+%configure \
+       --with-pcre
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
+install -d $RPM_BUILD_ROOT%{_sysconfdir}
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install %SOURCE1 $RPM_BUILD_ROOT/etc/rc.d/init.d/anubis
+install ./examples/defaultrc $RPM_BUILD_ROOT%{_sysconfdir}/anubisrc
+
+%clean
+rm -fr $RPM_BUILD_ROOT
+
+%post
+/sbin/chkconfig --add anubis
+if [ -f %{_localstatedir}/lock/subsys/anubis ]; then
+       /etc/rc.d/init.d/anubis restart >&2
+else
+       echo "Run \"/etc/rc.d/init.d/anubis start\" to start anubis." >&2
+fi
+
+%preun
+if [ "$1" = "0" ]; then
+       if [ -f %{_localstatedir}/lock/subsys/anubis ]; then
+               /etc/rc.d/init.d/anubis stop
+       fi
+       /sbin/chkconfig --del anubis
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README INSTALL NEWS ChangeLog TUTORIAL TODO examples
+%attr(700,root,root) %{_sbindir}/anubis
+%attr(755,root,root) /etc/rc.d/init.d/anubis
+%attr(600,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/anubisrc
+%{_mandir}/man1/*
This page took 0.09301 seconds and 4 git commands to generate.