File: maildrop.lpspec.in

package info (click to toggle)
maildrop 2.9.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 13,100 kB
  • sloc: ansic: 26,822; cpp: 9,085; sh: 4,868; makefile: 752; perl: 94
file content (94 lines) | stat: -rw-r--r-- 2,838 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
#
# Copyright 2005-2010 Double Precision, Inc.  See COPYING for
# distribution information.

Name: maildrop
Version: @VERSION@
Release: 1
Source: maildrop-@VERSION@.tar.bz2
BuildRequires: /usr/include/fam.h gdbm-devel pcre-devel
BuildRequires: libidn-devel
BuildRequires: courier-unicode-devel
License: GPLv3
Url: http://www.courier-mta.org/maildrop/
%{?repository: Repository(pgpkeys.txt): http://www.lpmtool.com/repositories/@REPOSITORY@/maildrop}

%package

Maildrop is a combination mail filter/mail delivery agent.
Maildrop reads the message to be delivered to your mailbox,
optionally reads instructions from a file how filter incoming
mail, then based on these instructions may deliver mail to an
alternate mailbox, or forward it, instead of dropping the
message into your mailbox.
<p>
Maildrop uses a structured, real, meta-programming language in
order to define filtering instructions.  Its basic features are
fast and efficient.  At sites which carry a light load, the
more advanced, CPU-demanding, features can be used to build
very sophisticated mail filters.  Maildrop deployments have
been reported at sites that support as many as 30,000
mailboxes.
<p>
Maildrop mailing list:
<a href="http://lists.sourceforge.net/lists/listinfo/courier-maildrop">http://lists.sourceforge.net/lists/listinfo/courier-maildrop</a>
<p>
This version is compiled with support for GDBM database files,
maildir enhancements (folders+quotas), and userdb.

%package devel

The maildrop-devel package contains the libraries and header files
that can be useful in developing software that works with or processes
E-mail messages.
<p>
Install the maildrop-devel package if you want to develop applications
which use or process E-mail messages.

%package man

This package contains manual pages for maildrop and associated
utilities.

%begin

%setup
%configure --with-devel --enable-userdb --enable-maildirquota --enable-syslog=1 --enable-trusted-users='root mail daemon postmaster qmaild mmdf' --enable-restrict-trusted=0 --enable-sendmail=/usr/sbin/sendmail

%begin build

%{__make} %{_smp_mflags}

%begin install
%{__make} install DESTDIR=$__installdir MAILDROPUID='' MAILDROPGID=''

mkdir htmldoc
cp $__installdir%{_docdir}/*/html/* htmldoc
rm -rf $__installdir%{_docdir}/*/html

%files
%defattr(-, bin, bin)

%doc htmldoc/*

%attr(555, root, mail) %{_bindir}/maildrop
%attr(555, root, mail) %{_bindir}/lockmail
%{_bindir}/mailbot
%{_bindir}/maildirmake
%{_bindir}/deliverquota
%{_bindir}/reformail
%{_bindir}/makemime
%{_bindir}/reformime

%doc libs/maildir/README.maildirquota.html libs/maildir/README.maildirquota.txt
%doc COPYING README README.postfix INSTALL NEWS UPGRADE ChangeLog maildroptips.txt

%files devel
%defattr(-, bin, bin)
%{_mandir}/man3/*
%{_includedir}/*
%{_libdir}/lib*

%files man
%defattr(-, bin, bin)
%{_mandir}/man[1578]/*