1Summary: A program for benchmarking mail servers
2Name: postal
3Version: @version@
4Release: 1
5License: GPL
6Group: Utilities/Benchmarking
7Source: http://www.coker.com.au/postal/postal_%{version}.tar.gz
8BuildRoot: /tmp/%{name}-buildroot
9
10%description
11The Postal suite consists of an SMTP delivery benchmark (postal), a POP
12retrieval benchmark (rabid) and other programs soon to be added.
13
14%prep
15%setup -q
16
17%build
18./configure --prefix=${RPM_BUILD_ROOT}
19make
20
21%install
22rm -rf $RPM_BUILD_ROOT
23DESTDIR=${RPM_BUILD_ROOT} make install
24install -d ${RPM_BUILD_ROOT}/usr/share/man/man8
25install -d ${RPM_BUILD_ROOT}/usr/share/man/man1
26install -m 644 *.8 $RPM_BUILD_ROOT/usr/share/man/man8
27install -m 644 *.1 $RPM_BUILD_ROOT/usr/share/man/man1
28
29%clean
30rm -rf $RPM_BUILD_ROOT
31
32%files
33%defattr(-,root,root)
34%doc changelog.txt readme.html
35
36/usr/sbin/postal
37/usr/sbin/postal-list
38/usr/sbin/rabid
39/usr/share/man/man8/postal.8
40/usr/share/man/man8/postal-list.8
41/usr/share/man/man8/rabid.8
42
43%changelog
44* Mon Feb 19 2001 Russell Coker <russell@coker.com.au>
45- first packaging
46