maildrop/maildrop.spec

195 lines
9.0 KiB
RPMSpec
Raw Normal View History

Name: maildrop
Version: 3.1.2
Release: 1mamba
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: https://www.courier-mta.org/maildrop/
Source0: https://sourceforge.net/projects/courier/files/maildrop/%{version}/maildrop-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcourier-authlib-devel
BuildRequires: libcourier-unicode-devel
BuildRequires: libgcc
BuildRequires: libgdbm-devel
BuildRequires: libidn2-devel
BuildRequires: libpcre2-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: libgdbm-devel >= 1.8.3
BuildRequires: libcourier-authlib-devel >= 0.71.3
Obsoletes: maildrop-devel < 3.0.3
%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 = %{?epoch:%epoch:}%{version}-%{release}
%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 apidocs
Summary: API documentation maildrop
Group: Documentation
%description apidocs
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 documentation 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 = %{?epoch:%epoch:}%{version}-%{release}
%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 = %{?epoch:%epoch:}%{version}-%{release}
%description -n librfc822-devel
A library from maildrop implementing RFC 822.
This is the development package.
%debug_package
%prep
%setup -q
%build
%configure \
--enable-syslog=1 \
--with-devel
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%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)
%{_bindir}/*
%{_mandir}/*
%files -n librfc2045
%defattr(-,root,root)
%{_libdir}/librfc2045.so.*
%doc COPYING*
%files -n librfc2045-devel
%defattr(-,root,root)
%{_includedir}/rfc2045.h
%{_includedir}/rfc2047.h
%{_libdir}/librfc2045.a
%{_libdir}/librfc2045.so
%files -n librfc822
%defattr(-,root,root)
%{_includedir}/rfc822.h
%{_libdir}/librfc822.so.*
%doc COPYING*
%files -n librfc822-devel
%defattr(-,root,root)
%{_libdir}/librfc822.a
%{_libdir}/librfc822.so
#%files devel
#%defattr(-,root,root)
#%{_includedir}/*.h
%files apidocs
%defattr(-,root,root)
%dir %{_docdir}/maildrop
%dir %{_docdir}/maildrop/html
%{_docdir}/maildrop/html/*
%changelog
* Thu Apr 06 2023 Automatic Build System <autodist@mambasoft.it> 3.1.2-1mamba
- automatic version update by autodist
* Mon Feb 20 2023 Automatic Build System <autodist@mambasoft.it> 3.1.1-1mamba
- automatic version update by autodist
* Sun Dec 04 2022 Automatic Build System <autodist@mambasoft.it> 3.1.0-1mamba
- automatic version update by autodist
* Wed Nov 23 2022 Automatic Build System <autodist@mambasoft.it> 3.0.9-1mamba
- automatic version update by autodist
* Thu Jun 02 2022 Automatic Build System <autodist@mambasoft.it> 3.0.8-1mamba
- automatic version update by autodist
* Fri Feb 11 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.7-1mamba
- update to 3.0.7
* Mon May 03 2021 Automatic Build System <autodist@mambasoft.it> 3.0.3-1mamba
- automatic version update by autodist
* 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