]>
Commit | Line | Data |
---|---|---|
9ea72376 JR |
1 | Summary: A console-based tool for handling MTA queues |
2 | Name: pfqueue | |
3 | Version: 0.5.3 | |
b9fbf5c7 | 4 | Release: 0.2 |
9ea72376 JR |
5 | License: GPL |
6 | Group: Applications/Mail | |
7 | Source0: http://dl.sourceforge.net/pfqueue/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: 7700198871f91cf28e0164f8e776dd55 | |
9 | URL: http://pfqueue.sourceforge.net/ | |
10 | BuildRequires: ncurses-devel | |
11 | #Requires: postfix or exim | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | pfqueue is an effort to give postqueue/mailq/postsuper/exim4 a console | |
16 | (ncurses) interface: it won't add any particular functionality to | |
17 | those provided with MTAs themselves, but will hopefully make them | |
18 | easier to use. | |
19 | ||
20 | It's a real-time queue scanner, that shows per-queue lists of existing | |
21 | messages; the messages can be shown, deleted, put on hold, released or | |
22 | requeued | |
23 | ||
24 | Just for example, it may be useful to inspect a traffic jam at a given | |
25 | time, to see what is falling into and unexpectedly crowding your | |
26 | deferred queue. | |
27 | ||
28 | %prep | |
29 | %setup -q | |
30 | ||
31 | %build | |
32 | CFLAGS="%{rpmcflags} -I/usr/include/ncurses" | |
33 | export CFLAGS | |
34 | %configure | |
35 | %{__make} | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %{__make} install \ | |
41 | DESTDIR=$RPM_BUILD_ROOT | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
b9fbf5c7 JR |
46 | %post -p /sbin/ldconfig |
47 | %postun -p /sbin/ldconfig | |
48 | ||
9ea72376 JR |
49 | %files |
50 | %defattr(644,root,root,755) | |
51 | %doc AUTHORS ChangeLog NEWS README TODO | |
52 | %attr(755,root,root) %{_bindir}/* | |
53 | %attr(755,root,root) %{_libdir}/libpfq*.so.*.*.* | |
54 | %{_mandir}/man1/*.1* | |
55 | %{_mandir}/man5/*.5* |