/[smeserver]/rpms/qmailanalog/sme9/qmailanalog.spec
ViewVC logotype

Contents of /rpms/qmailanalog/sme9/qmailanalog.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Feb 13 15:59:52 2013 UTC (11 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: qmailanalog-0_70-8_el6_sme, HEAD
Initial import

1 # $Id: qmailanalog.spec,v 1.3 2012/01/16 04:10:15 wellsi Exp $
2
3 #
4 # RPM spec file for Dan Bernstein's qmailanalog package
5 #
6 # $Id: qmailanalog.spec,v 1.3 2012/01/16 04:10:15 wellsi Exp $
7 #
8 Summary: A collection of tools to help you analyze qmail's activity record.
9 %define name qmailanalog
10 Name: %{name}
11 %define version 0.70
12 %define release 8
13 Version: %{version}
14 Release: %{release}%{?dist}
15 License: Daniel J. Bernstein - http://cr.yp.to/distributors.html
16 Group: Networking/Daemons
17 Source: http://cr.yp.to/software/%{name}-%{version}.tar.gz
18 URL: http://cr.yp.to/%{name}.html
19 Patch0: %{name}-%{version}.patch.2001020500
20 Patch1: qmailanalog-0.70-sortfix.patch
21 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
22 Provides: qmailanalog
23 AutoReqProv: no
24 BuildRequires: groff
25
26 %description
27 qmailanalog is a collection of tools to help you analyze qmail's activity
28 record. It supplies statistics to answer a wide variety of questions:
29
30 - overall: how many messages? recipients? attempts? etc.
31 - ddist: how soon were 50% of the messages delivered? 90%? 95%? 99%?
32 - rxdelay: what's the best order of recipients for mailing lists?
33 - recipients, rhosts: who's getting mail? bytes? messages? attempts?
34 - successes, failures, deferrals: why? how often? how much delay?
35 - senders, suids: messages? bytes? load? recipients? attempts? delay?
36
37 qmailanalog also includes several tools to focus attention on particular
38 senders, recipients, or messages.
39
40 %changelog
41 * Sun Jan 15 2012 Ian Wells <esmith@wellsi.com> 0.70-8.sme
42 - Change sort options to fix mail reports, by Filippo Carletti [SME: 6813]
43
44 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
45 - Clean up spec so package can be built by koji/plague
46
47 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
48 - Update to new release naming. No functional changes.
49 - Make Packager generic
50
51 * Tue Dec 20 2005 Charlie Brady <charlieb@e-smith.com> 0.70-06
52 - Change obsolete Copyright tag to a License tag, and include
53 URL to DJB's information for distributors.
54
55 * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au>
56 - Bump release number only
57
58 * Fri Mar 18 2005 Charlie Brady <charlieb@e-smith.com>
59 - [0.70-04]
60 - Add workaround for glibc errno bug.
61
62 * Mon Feb 5 2001 Peter Samuel <peters@e-smith.com>
63 - [0.70-03]
64 - Now installs in its own root area prior to creating binary RPM.
65 - Default installation locations are restored.
66
67 * Wed Aug 16 2000 Peter Samuel <peters@e-smith.com>
68 - [0.70-2]
69 - added patch to change default install location
70
71 * Fri Jun 16 2000 Peter Samuel <Peter.Samuel@gormand.com.au>
72 - [0.70-1]
73 - Initial build
74
75 %prep
76 %setup
77
78 # This patch allows files to be installed in a relative directory prior
79 # to creating the binary RPM. It does not change the files or their
80 # final installed locations.
81
82 %patch0 -p1
83 %patch1 -p1
84
85 # Create the relative installation directory.
86
87 mkdir -p ./root/usr/local
88 # Workaround glibc errno bug
89 echo gcc -O --include /usr/include/errno.h > conf-cc
90
91 %build
92 make
93
94 %install
95 make setup
96 make check
97 rm -rf $RPM_BUILD_ROOT
98 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %files
104 %attr(755,root,root) /usr/local/qmailanalog/bin/columnt
105 %attr(755,root,root) /usr/local/qmailanalog/bin/ddist
106 %attr(755,root,root) /usr/local/qmailanalog/bin/deferrals
107 %attr(755,root,root) /usr/local/qmailanalog/bin/failures
108 %attr(755,root,root) /usr/local/qmailanalog/bin/matchup
109 %attr(755,root,root) /usr/local/qmailanalog/bin/recipients
110 %attr(755,root,root) /usr/local/qmailanalog/bin/rhosts
111 %attr(755,root,root) /usr/local/qmailanalog/bin/rxdelay
112 %attr(755,root,root) /usr/local/qmailanalog/bin/senders
113 %attr(755,root,root) /usr/local/qmailanalog/bin/successes
114 %attr(755,root,root) /usr/local/qmailanalog/bin/suids
115 %attr(755,root,root) /usr/local/qmailanalog/bin/xqp
116 %attr(755,root,root) /usr/local/qmailanalog/bin/xrecipient
117 %attr(755,root,root) /usr/local/qmailanalog/bin/xsender
118 %attr(755,root,root) /usr/local/qmailanalog/bin/zddist
119 %attr(755,root,root) /usr/local/qmailanalog/bin/zdeferrals
120 %attr(755,root,root) /usr/local/qmailanalog/bin/zfailures
121 %attr(755,root,root) /usr/local/qmailanalog/bin/zoverall
122 %attr(755,root,root) /usr/local/qmailanalog/bin/zrecipients
123 %attr(755,root,root) /usr/local/qmailanalog/bin/zrhosts
124 %attr(755,root,root) /usr/local/qmailanalog/bin/zrxdelay
125 %attr(755,root,root) /usr/local/qmailanalog/bin/zsenders
126 %attr(755,root,root) /usr/local/qmailanalog/bin/zsendmail
127 %attr(755,root,root) /usr/local/qmailanalog/bin/zsuccesses
128 %attr(755,root,root) /usr/local/qmailanalog/bin/zsuids
129 %attr(644,root,root) /usr/local/qmailanalog/doc/ACCOUNTING
130 %attr(644,root,root) /usr/local/qmailanalog/doc/MATCHUP
131 %attr(644,root,root) /usr/local/qmailanalog/man/cat1/columnt.0
132 %attr(644,root,root) /usr/local/qmailanalog/man/cat1/matchup.0
133 %attr(644,root,root) /usr/local/qmailanalog/man/cat1/xqp.0
134 %attr(644,root,root) /usr/local/qmailanalog/man/cat1/xrecipient.0
135 %attr(644,root,root) /usr/local/qmailanalog/man/cat1/xsender.0
136 %attr(644,root,root) /usr/local/qmailanalog/man/man1/columnt.1
137 %attr(644,root,root) /usr/local/qmailanalog/man/man1/matchup.1
138 %attr(644,root,root) /usr/local/qmailanalog/man/man1/xqp.1
139 %attr(644,root,root) /usr/local/qmailanalog/man/man1/xrecipient.1
140 %attr(644,root,root) /usr/local/qmailanalog/man/man1/xsender.1

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed