Search
j0ke.net Open Build Service
>
Projects
>
vhcs
>
maildrop
> maildrop.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File maildrop.spec of Package maildrop (Revision 18)
Currently displaying revision
18
,
show latest
# norootforbuild %define makeinstall make install DESTDIR=%{buildroot} # Name: maildrop Version: 2.5.3 Release: 1 # 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 libraries and headers for %{name} %package tools Group: Productivity/Networking/Email/Utilities Summary: Deliverquota and maildirmake tools Provides: maildirmake Provides: deliverquota %description tools To not conflict with courier-imap package the maildrop package is splitted into the main maildrop package and this maildrop-tools package which only includes deliverquota and maildirmake tools and its man pages. %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=1 \ --enable-trusted-users='root mail daemon postmaster qmaild qmailq qmails qmailr vscan mmdf vpopmail postfix' %{__make} %install %__make MAILDROPUID='' MAILDROPGID='' DESTDIR=%{buildroot} install %{__mkdir} htmldoc %{__cp} %{buildroot}%{_datadir}/maildrop/html/* htmldoc %{__rm} -rf %{buildroot}%{_datadir}/maildrop/html # strip bins strip %{buildroot}%{_bindir}/deliverquota strip %{buildroot}%{_bindir}/lockmail strip %{buildroot}%{_bindir}/mailbot strip %{buildroot}%{_bindir}/maildirmake strip %{buildroot}%{_bindir}/maildrop strip %{buildroot}%{_bindir}/makedatprog strip %{buildroot}%{_bindir}/makemime strip %{buildroot}%{_bindir}/reformail strip %{buildroot}%{_bindir}/reformime strip %{buildroot}%{_libdir}/librfc2045.so.0.0.0 strip %{buildroot}%{_libdir}/librfc822.so.0.0.0 %clean %{__rm} -rf %{buildroot}; %post /sbin/ldconfig %postun /sbin/ldconfig %files %defattr(-,root,root) %attr(755, root, mail) %{_bindir}/maildrop %attr(755, root, mail) %{_bindir}/lockmail %{_bindir}/mailbot %{_bindir}/makedat %{_bindir}/makedatprog %{_bindir}/reformail %{_bindir}/makemime %{_bindir}/reformime %{_libdir}/lib*.so.* %{_mandir}/man1/lockmail.1.gz %{_mandir}/man1/mailbot.1.gz %{_mandir}/man1/maildrop.1.gz %{_mandir}/man1/makemime.1.gz %{_mandir}/man1/reformail.1.gz %{_mandir}/man1/reformime.1.gz %{_mandir}/man5/maildir.5.gz %{_mandir}/man7/maildirquota.7.gz %{_mandir}/man7/maildropex.7.gz %{_mandir}/man7/maildropfilter.7.gz %{_mandir}/man7/maildropgdbm.7.gz %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*.so %{_libdir}/lib*.a %{_libdir}/lib*.la %files tools %defattr(-,root,root) %{_bindir}/deliverquota %{_bindir}/maildirmake %{_mandir}/man8/deliverquota.8* %{_mandir}/man1/maildirmake.1*