145 lines
6.2 KiB
RPMSpec
145 lines
6.2 KiB
RPMSpec
Name: maildrop
|
|
Version: 2.5.2
|
|
Release: 2mamba
|
|
Summary: The mail filter/mail deilvery agent that's used by the Courier Mail Server
|
|
Group: System/Servers
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.flounder.net/~mrsam/maildrop/
|
|
Source0: http://downloads.sourceforge.net/sourceforge/courier/maildrop-%{version}.tar.bz2
|
|
License: GPL
|
|
BuildRequires: libgdbm-devel >= 1.8.3
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Maildrop is the mail filter/mail deilvery agent that's used by the Courier Mail Server.
|
|
It is a replacement for your local mail delivery agent. maildrop reads a mail message from standard input, then delivers the message to your mailbox. maildrop knows how to deliver mail to mbox-style mailboxes, and maildirs. "maildir" is a mailbox format used by the Qmail MTA.
|
|
Maildrop will optionally read instructions from a file, which describes how to filter incoming mail. Instructions can be provided having mail delivered to alternate mailboxes, or forwarded somewhere else. Unlike procmail, maildrop uses a structured filtering language.
|
|
It is written in C++, and is significantly larger than procmail in compiled form. However, it uses resources much more efficiently. Unlike procmail, maildrop will not read a 10 megabyte mail message into memory. Large messages are saved in a temporary file, and are filtered from the temporary file. Temporary files are saved in the user's home directory. If the standard input to maildrop is a file, and not a pipe, a temporary file will not be necessary.
|
|
It checks the syntax of the mail delivery instructions the filter file, before attempting to deliver a message. Unlike procmail, if the filter file contains syntax errors, maildrop terminates without delivering the message. The user can fix the typo without causing any mail to be lost.
|
|
|
|
%package devel
|
|
Summary: Devel package for maildrop
|
|
Group: Development/Libraries
|
|
Requires: maildrop = %{version}
|
|
|
|
%description devel
|
|
Maildrop is the mail filter/mail deilvery agent that's used by the Courier Mail Server.
|
|
It is a replacement for your local mail delivery agent. maildrop reads a mail message from standard input, then delivers the message to your mailbox. maildrop knows how to deliver mail to mbox-style mailboxes, and maildirs. "maildir" is a mailbox format used by the Qmail MTA.
|
|
Maildrop will optionally read instructions from a file, which describes how to filter incoming mail. Instructions can be provided having mail delivered to alternate mailboxes, or forwarded somewhere else. Unlike procmail, maildrop uses a structured filtering language.
|
|
It is written in C++, and is significantly larger than procmail in compiled form. However, it uses resources much more efficiently. Unlike procmail, maildrop will not read a 10 megabyte mail message into memory. Large messages are saved in a temporary file, and are filtered from the temporary file. Temporary files are saved in the user's home directory. If the standard input to maildrop is a file, and not a pipe, a temporary file will not be necessary.
|
|
It checks the syntax of the mail delivery instructions the filter file, before attempting to deliver a message. Unlike procmail, if the filter file contains syntax errors, maildrop terminates without delivering the message. The user can fix the typo without causing any mail to be lost.
|
|
This is the development package.
|
|
|
|
%package -n librfc2045
|
|
Summary: A library from maildrop implementing rfc 2045
|
|
Group: System/Libraries
|
|
|
|
%description -n librfc2045
|
|
A library from maildrop implementing RFC 2045.
|
|
|
|
%package -n librfc2045-devel
|
|
Summary: Devel package for librfc2045
|
|
Group: Development/Libraries
|
|
Requires: librfc2045 = %{version}
|
|
|
|
%description -n librfc2045-devel
|
|
A library from maildrop implementing RFC 2045.
|
|
This is the development package.
|
|
|
|
%package -n librfc822
|
|
Summary: A library from maildrop implementing RFC 822
|
|
Group: System/Libraries
|
|
|
|
%description -n librfc822
|
|
A library from maildrop implementing RFC 822
|
|
This is the development package.
|
|
|
|
%package -n librfc822-devel
|
|
Summary: Devel package for librfc822
|
|
Group: Development/Libraries
|
|
Requires: librfc822 = %{version}
|
|
|
|
%description -n librfc822-devel
|
|
A library from maildrop implementing RFC 822
|
|
This is the development package.
|
|
|
|
%prep
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%setup -q
|
|
|
|
%build
|
|
%configure \
|
|
--enable-syslog=1 \
|
|
--with-devel
|
|
|
|
%make
|
|
|
|
%install
|
|
%makeinstall
|
|
mv %{buildroot}%{_bindir}/maildirmake %{buildroot}%{_bindir}/maildirmake-maildrop
|
|
mv %{buildroot}%{_mandir}/man1/maildirmake.1 %{buildroot}%{_mandir}/man1/maildirmake-maildrop.1
|
|
mv %{buildroot}%{_mandir}/man8/deliverquota.8 %{buildroot}%{_mandir}/man8/deliverquota-maildrop.8
|
|
mv %{buildroot}%{_mandir}/man5/maildir.5 %{buildroot}%{_mandir}/man5/maildir-maildrop.5
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%dir %{_datadir}/maildrop
|
|
%{_bindir}/*
|
|
%{_datadir}/maildrop/*
|
|
%{_mandir}/*
|
|
|
|
%files -n librfc2045
|
|
%defattr(-,root,root)
|
|
%{_libdir}/librfc2045.so.*
|
|
|
|
%files -n librfc2045-devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/rfc2045.h
|
|
%{_includedir}/rfc2047.h
|
|
%{_libdir}/librfc2045.so
|
|
%{_libdir}/librfc2045.a
|
|
%{_libdir}/librfc2045.la
|
|
|
|
%files -n librfc822
|
|
%defattr(-,root,root)
|
|
%{_includedir}/rfc822.h
|
|
%{_libdir}/librfc822.so.*
|
|
|
|
%files -n librfc822-devel
|
|
%defattr(-,root,root)
|
|
%{_libdir}/librfc822.so
|
|
%{_libdir}/librfc822.a
|
|
%{_libdir}/librfc822.la
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
#%{_includedir}/*.h
|
|
|
|
%changelog
|
|
* Wed Jul 24 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.2-2mamba
|
|
- rebuild with libpcre 8.33
|
|
|
|
* Tue Nov 09 2010 Automatic Build System <autodist@mambasoft.it> 2.5.2-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Aug 17 2010 Automatic Build System <autodist@mambasoft.it> 2.5.0.20100815-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sat Jun 05 2010 Automatic Build System <autodist@mambasoft.it> 2.5.0-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Jul 08 2009 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Jun 20 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.4-1mamba
|
|
- update to 2.0.4
|
|
|
|
* Tue Mar 16 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.3-1qilnx
|
|
- first build
|