File: netperf.spec.in

package info (click to toggle)
netperf 2.4.4-6.1
  • links: PTS
  • area: non-free
  • in suites: squeeze, wheezy
  • size: 4,980 kB
  • ctags: 2,492
  • sloc: ansic: 31,252; sh: 4,797; makefile: 60
file content (55 lines) | stat: -rw-r--r-- 1,204 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
Summary: Network Performance Testing Tool
Name: netperf
Version: @VERSION@
Release: 1
Copyright: Unknown
Group: System Environment/Base
URL: http://www.netperf.org/
Packager: Martin A. Brown
Source: ftp://ftp.netperf.org/netperf/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
Prefix: /usr

%description
Many different network benchmarking tools are collected in this package,
maintained by Rick Jones of HP.

%prep
%setup

%build
#%patch0 -p1
./configure \
  --prefix=%{_prefix} \
  --mandir=%{_mandir} \
  --infodir=%{_infodir}
make

%install
test "$RPM_BUILD_ROOT" = "/"    || rm -rf $RPM_BUILD_ROOT
make DESTDIR=${RPM_BUILD_ROOT} install

# -- .svn directory only needed by developers; blowing it away
#    in our BUILD/ directory, so that we do not package it
#
rm -rf doc/examples/.svn

%clean
test "$RPM_BUILD_ROOT" = "/"    || rm -rf $RPM_BUILD_ROOT

# %post

%files
%defattr(-,root,root)
%doc README AUTHORS ChangeLog INSTALL COPYING
%doc README.* Release_Notes
%doc doc/examples
%{_mandir}/man1/*
%{_infodir}/*
%{_bindir}/netperf
%{_bindir}/netserver


%changelog
* Sat Jun 17 2006 Martin A. Brown <martin@linux-ip.net>
- initial contributed specfile for netperf package (v2.4.2)