netperf/netperf.spec

changeset 650
f4280ba8b3ac
parent 312
c71ec3f2c0da
child 702
005f3015911e
equal deleted inserted replaced
0:b7edc8b0e8b8 1:b95dcffb5ddc
1 ## 1 ##
2 ## netperf.spec -- OpenPKG RPM Package Specification 2 ## netperf.spec -- OpenPKG RPM Package Specification
3 ## Copyright (c) 2011 Michael Schloh von Bennewitz <michael@schloh.com> 3 ## Copyright (c) 2012 Michael Schloh von Bennewitz <michael@schloh.com>
4 ## 4 ##
5 ## Permission to use, copy, modify, and distribute this software for 5 ## Permission to use, copy, modify, and distribute this software for
6 ## any purpose with or without fee is hereby granted, provided that 6 ## any purpose with or without fee is hereby granted, provided that
7 ## the above copyright notice and this permission notice appear in all 7 ## the above copyright notice and this permission notice appear in all
8 ## copies. 8 ## copies.
29 Packager: Michael Schloh von Bennewitz 29 Packager: Michael Schloh von Bennewitz
30 Distribution: Europalab Production 30 Distribution: Europalab Production
31 Class: EVAL 31 Class: EVAL
32 Group: Network 32 Group: Network
33 License: Commercial 33 License: Commercial
34 Version: 2.4.5 34 Version: 2.6.0
35 Release: 20110302 35 Release: 20120800
36 36
37 # list of sources 37 # list of sources
38 Source0: ftp://ftp.netperf.org/netperf/netperf-%{version}.tar.bz2 38 Source0: ftp://ftp.netperf.org/netperf/netperf-%{version}.tar.bz2
39 Patch0: netperf.patch 39 Patch0: netperf.patch
40 40
41 # build information 41 # build information
42 Prefix: %{l_prefix} 42 BuildPreReq: OpenPKG, openpkg >= 20100101, make
43 BuildRoot: %{l_buildroot} 43 PreReq: OpenPKG, openpkg >= 20100101
44 BuildPreReq: OpenPKG, openpkg >= 20040130
45 PreReq: OpenPKG, openpkg >= 20040130
46 AutoReq: no
47 AutoReqProv: no
48 44
49 %description 45 %description
50 Netperf is a benchmark that can be used to measure the performance 46 Netperf is a benchmark that can be used to measure the performance
51 of many different types of networking. It provides tests for both 47 of many different types of networking. It provides tests for both
52 unidirecitonal throughput, and end to end latency. The environments 48 unidirecitonal throughput, and end to end latency. The environments
76 --enable-burst \ 72 --enable-burst \
77 --enable-sctp 73 --enable-sctp
78 %{l_make} %{l_mflags -O} 74 %{l_make} %{l_mflags -O}
79 75
80 %install 76 %install
81 rm -rf $RPM_BUILD_ROOT
82 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT 77 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
83 strip $RPM_BUILD_ROOT%{l_prefix}/bin/* 78 strip $RPM_BUILD_ROOT%{l_prefix}/bin/*
84 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} 79 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
85 80
86 %files -f files 81 %files -f files
87 82
88 %clean 83 %clean
89 rm -rf $RPM_BUILD_ROOT
90 84

mercurial