diff --git a/maildrop.spec b/maildrop.spec index 1bfb27d..63fff64 100644 --- a/maildrop.spec +++ b/maildrop.spec @@ -1,16 +1,27 @@ Name: maildrop -Version: 2.5.2 -Release: 2mamba +Version: 3.0.3 +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 -URL: http://www.flounder.net/~mrsam/maildrop/ +URL: https://www.flounder.net/~mrsam/maildrop/ Source0: http://downloads.sourceforge.net/sourceforge/courier/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: libidn-devel +BuildRequires: libpcre-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END BuildRequires: libgdbm-devel >= 1.8.3 -BuildRoot: %{_tmppath}/%{name}-%{version}-root +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. @@ -22,7 +33,7 @@ It checks the syntax of the mail delivery instructions the filter file, before a %package devel Summary: Devel package for maildrop Group: Development/Libraries -Requires: maildrop = %{version} +Requires: maildrop = %{?epoch:%epoch:}%{version}-%{release} %description devel Maildrop is the mail filter/mail deilvery agent that's used by the Courier Mail Server. @@ -32,6 +43,18 @@ It is written in C++, and is significantly larger than procmail in compiled form 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 @@ -42,7 +65,7 @@ A library from maildrop implementing RFC 2045. %package -n librfc2045-devel Summary: Devel package for librfc2045 Group: Development/Libraries -Requires: librfc2045 = %{version} +Requires: librfc2045 = %{?epoch:%epoch:}%{version}-%{release} %description -n librfc2045-devel A library from maildrop implementing RFC 2045. @@ -53,21 +76,21 @@ Summary: A library from maildrop implementing RFC 822 Group: System/Libraries %description -n librfc822 -A library from maildrop implementing RFC 822 +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} +Requires: librfc822 = %{?epoch:%epoch:}%{version}-%{release} %description -n librfc822-devel -A library from maildrop implementing RFC 822 +A library from maildrop implementing RFC 822. This is the development package. -%prep -[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%debug_package +%prep %setup -q %build @@ -78,20 +101,20 @@ This is the development package. %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 + +#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 @@ -117,11 +140,20 @@ mv %{buildroot}%{_mandir}/man5/maildir.5 %{buildroot}%{_mandir}/man5/maildir-mai %{_libdir}/librfc822.a %{_libdir}/librfc822.la -%files devel -%defattr(-,root,root) +#%files devel +#%defattr(-,root,root) #%{_includedir}/*.h +%files apidocs +%defattr(-,root,root) +%dir %{_docdir}/maildrop +%dir %{_docdir}/maildrop/html +%{_docdir}/maildrop/html/* + %changelog +* Mon May 03 2021 Automatic Build System 3.0.3-1mamba +- automatic version update by autodist + * Wed Jul 24 2013 Silvan Calarco 2.5.2-2mamba - rebuild with libpcre 8.33