22265
|
1 |
#
|
|
2 |
# spec file for package uperf
|
|
3 |
#
|
|
4 |
# Copyright 2009 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
|
8 |
%define owner jefftsai
|
|
9 |
#
|
|
10 |
|
|
11 |
Name: uperf
|
|
12 |
License: GPL v3
|
|
13 |
Version: 1.0.3-beta
|
|
14 |
Release: 1
|
|
15 |
Distribution: Java Desktop System
|
|
16 |
Vendor: Gnome Community
|
|
17 |
Summary: uperf
|
|
18 |
Source: http://sourceforge.net/projects/uperf/files/uperf/uperf-1.0.3-beta/uperf-1.0.3-beta.tar.gz
|
|
19 |
|
|
20 |
URL: http://sourceforge.net/projects/uperf
|
|
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
22 |
Autoreqprov: on
|
|
23 |
Prereq: /sbin/ldconfig
|
|
24 |
|
|
25 |
%description
|
|
26 |
uperf is a network performance tool that supports modelling and replay of
|
|
27 |
various networking patterns.
|
|
28 |
|
|
29 |
|
|
30 |
%prep
|
|
31 |
%setup -q
|
|
32 |
|
|
33 |
%build
|
|
34 |
export CFLAGS="%optflags"
|
|
35 |
./configure --prefix=%{_prefix} \
|
|
36 |
--datarootdir=%{_prefix}/share/uperf \
|
|
37 |
--bindir=%{_bindir}
|
|
38 |
|
|
39 |
%install
|
|
40 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
41 |
|
|
42 |
%check
|
|
43 |
make check
|
|
44 |
|
|
45 |
%clean
|
|
46 |
rm -rf $RPM_BUILD_ROOT
|
|
47 |
|
|
48 |
%changelog
|
|
49 |
* Jul 07 2011 - [email protected]
|
|
50 |
Inital spec
|