base-specs/uperf.spec
author yippi
Thu, 31 May 2012 20:16:52 +0000
changeset 22481 1ff6784d9b6f
parent 22265 ce37597d4689
permissions -rw-r--r--
2012-05-31 Brian Cameron <[email protected]> * base-specs/shared-mime-info.spec: Bump to 1.0. * base-specs/nautilus.spec, base-specs/pulseaudio.spec, base-specs/gnome-settings-daemon.spec, specs/SUNWdconf.spec: Add patch comments. * base-specs/gnome-panel.spec: Add --disable-telepathy-glib so it does not build with this module we do not deliver.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
22265
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
     1
#
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
     2
# spec file for package uperf
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
     3
#
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
     4
# Copyright 2009 Sun Microsystems, Inc.
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
     6
# package are under the same license as the package itself.
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
     7
#
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
     8
%define owner jefftsai
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
     9
#
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    10
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    11
Name:         uperf
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    12
License:      GPL v3
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    13
Version:      1.0.3-beta
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    14
Release:      1
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    15
Distribution: Java Desktop System
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    16
Vendor:	      Gnome Community
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    17
Summary:      uperf
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    18
Source:       http://sourceforge.net/projects/uperf/files/uperf/uperf-1.0.3-beta/uperf-1.0.3-beta.tar.gz
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    19
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    20
URL:          http://sourceforge.net/projects/uperf
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    21
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    22
Autoreqprov:  on
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    23
Prereq:       /sbin/ldconfig
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    24
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    25
%description
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    26
uperf is a network performance tool that supports modelling and replay of 
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    27
various networking patterns.
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    28
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    29
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    30
%prep
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    31
%setup -q
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    32
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    33
%build
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    34
export CFLAGS="%optflags"
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    35
./configure --prefix=%{_prefix}		\
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    36
            --datarootdir=%{_prefix}/share/uperf	\
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    37
            --bindir=%{_bindir} 
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    38
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    39
%install
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    40
make install DESTDIR=$RPM_BUILD_ROOT
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    41
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    42
%check
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    43
make check
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    44
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    45
%clean
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    46
rm -rf $RPM_BUILD_ROOT
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    47
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    48
%changelog
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    49
* Jul 07 2011 - [email protected]
ce37597d4689 2011-01-12 Jeff Cai <[email protected]>
qc161282
parents:
diff changeset
    50
Inital spec