!1 package init

Merge pull request !1 from jeff200902/master
This commit is contained in:
openeuler-ci-bot 2020-09-01 14:15:23 +08:00 committed by Gitee
commit 033334dad8
4 changed files with 56 additions and 0 deletions

BIN
iperf-2.0.13.tar.gz Normal file

Binary file not shown.

View File

@ -0,0 +1,17 @@
diff -NarpU5 iperf-2.0.8/configure.ac iperf-2.0.8.debuginfo/configure.ac
--- iperf-2.0.8/configure.ac 2015-04-02 16:51:48.000000000 -0400
+++ iperf-2.0.8.debuginfo/configure.ac 2015-04-10 10:11:33.287445003 -0400
@@ -42,13 +42,11 @@ AC_ARG_ENABLE(kalman, AC_HELP_STRING([--
dnl ===================================================================
dnl Checks for programs
dnl ===================================================================
AC_PROG_CXX
-CXXFLAGS=`echo " $CXXFLAGS " | sed -e "s/ -g / /"` # do not want it implicitly
AC_PROG_CC
-CFLAGS=`echo " $CFLAGS " | sed -e "s/ -g / /"` # do not want it implicitly
AC_ISC_POSIX
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PROG_RANLIB
AC_LANG(C)

35
iperf2.spec Normal file
View File

@ -0,0 +1,35 @@
Name: iperf
Version: 2.0.13
Release: 1
Summary: Measurement tool for TCP/UDP bandwidth performance
License: BSD
URL: http://sourceforge.net/projects/iperf2
Source: http://sourceforge.net/projects/iperf2/files/iperf-2.0.13.tar.gz
Patch0: iperf-2.0.8-debuginfo.patch
BuildRequires: autoconf gcc-c++
%description
Iperf is a tool to measure maximum TCP bandwidth, allowing the tuning of
various parameters and UDP characteristics. Iperf reports bandwidth, delay
jitter, datagram loss.
%prep
%setup -q
%patch0 -p1
%build
autoconf
%configure
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%make_install
%files
%doc AUTHORS ChangeLog COPYING README doc/*.gif doc/*.html
%{_bindir}/iperf
%{_mandir}/man*/*
%changelog
* Mon Aug 3 2020 Jeffery.Gao <gaojianxing@huawei.com> - 2.0.13-1
- Package init

4
iperf2.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: NA
src_repo: NA
tag_prefix: NA
seperator: NA