File: postal.spec

package info (click to toggle)
postal 0.70
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 540 kB
  • ctags: 525
  • sloc: cpp: 4,131; sh: 289; ansic: 258; makefile: 134
file content (45 lines) | stat: -rw-r--r-- 1,050 bytes parent folder | download
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
Summary: A program for benchmarking mail servers
Name: postal
Version: 0.70
Release: 1
License: GPL
Group: Utilities/Benchmarking
Source: http://www.coker.com.au/postal/postal_%{version}.tar.gz 
BuildRoot: /tmp/%{name}-buildroot

%description
The Postal suite consists of an SMTP delivery benchmark (postal), a POP
retrieval benchmark (rabid) and other programs soon to be added.

%prep
%setup -q

%build
./configure --prefix=${RPM_BUILD_ROOT}
make 

%install
rm -rf $RPM_BUILD_ROOT
DESTDIR=${RPM_BUILD_ROOT} make install
install -d ${RPM_BUILD_ROOT}/usr/share/man/man8
install -d ${RPM_BUILD_ROOT}/usr/share/man/man1
install -m 644 *.8 $RPM_BUILD_ROOT/usr/share/man/man8
install -m 644 *.1 $RPM_BUILD_ROOT/usr/share/man/man1

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc changelog.txt readme.html

/usr/sbin/postal
/usr/sbin/postal-list
/usr/sbin/rabid
/usr/share/man/man8/postal.8
/usr/share/man/man8/postal-list.8
/usr/share/man/man8/rabid.8

%changelog
* Mon Feb 19 2001 Russell Coker <russell@coker.com.au>
- first packaging