Search
j0ke.net Open Build Service
>
Projects
>
vhcs
>
maildrop
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Added
maildrop.spec
@@ -0,0 +1,97 @@ +# norootforbuild +%define makeinstall make install DESTDIR=%{buildroot} +# +Name: maildrop +Version: 2.0.2 +Release: 3 +# +License: GPL +Group: Productivity/Networking/Email/Utilities +# +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: gcc-c++ fam-devel pcre-devel gdbm-devel +# +URL: http://www.flounder.net/~mrsam/maildrop/ +Source: http://prdownloads.sourceforge.net/courier/%{name}-%{version}.tar.bz2 +# +Summary: The mail filter/mail delivery agent from the Courier Mail suite. +%description +maildrop 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 Courier and Qmail. + +maildrop optionally reads instructions from a file, which describe how to +filter incoming mail. These instructions can direct maildrop to deliver the +message to an alternate mailbox, or forward it somewhere else. Unlike procmail, +maildrop uses a structured filtering language. + +maildrop is written in C++, and is significantly larger than procmail. However, + +Authors: +---------- + Sam Varshavchik <mrsam at courier-mta dot com> + +%package devel +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} +Summary: Development files for %{name} +%description devel +Development files for %{name} + +%debug_package +%prep +%setup + +%build +%configure \ + --enable-syslog=1 \ + --with-etcdir=%{_sysconfdir}/mail/%{name} \ + --enable-maildirquota \ + --enable-keep-fromline=1 \ + --with-devel \ + --enable-userdb \ + --enable-sendmail=/usr/sbin/sendmail \ + --enable-restrict-trusted=0 \ + --enable-trusted-users='root mail daemon postmaster qmaild mmdf' + +%{__make} + +%install +%makeinstall MAILDROPUID='' MAILDROPGID='' +%{__mkdir} htmldoc +%{__cp} %{buildroot}%{_datadir}/maildrop/html/* htmldoc +%{__rm} -rf %{buildroot}%{_datadir}/maildrop/html + +%clean +%{__rm} -rf %{buildroot}; + +%files +%defattr(-,root,root) +%attr(755, root, mail) %{_bindir}/maildrop +%attr(755, root, mail) %{_bindir}/lockmail +%{_bindir}/mailbot +%{_bindir}/maildirmake +%{_bindir}/deliverquota +%{_bindir}/reformail +%{_bindir}/makemime +%{_bindir}/reformime +%{_libdir}/lib*.so* + +%{_mandir}/man1/* +%{_mandir}/man5/* +%{_mandir}/man7/* +%{_mandir}/man8/* + +%doc maildir/README.maildirquota.html maildir/README.maildirquota.txt +%doc COPYING README README.postfix INSTALL NEWS UPGRADE ChangeLog maildroptips.txt +%doc htmldoc/* +%{_datadir}/maildrop + +%files devel +%defattr(-, root, root) +%{_mandir}/man3/* +%{_includedir}/* +%{_libdir}/lib*.a +%{_libdir}/lib*.la +