diff --git a/iperf-2.0.13.tar.gz b/iperf-2.0.13.tar.gz new file mode 100644 index 0000000..8f6e264 Binary files /dev/null and b/iperf-2.0.13.tar.gz differ diff --git a/iperf-2.0.8-debuginfo.patch b/iperf-2.0.8-debuginfo.patch new file mode 100644 index 0000000..2a3ad24 --- /dev/null +++ b/iperf-2.0.8-debuginfo.patch @@ -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) diff --git a/iperf2.spec b/iperf2.spec new file mode 100644 index 0000000..8e08e28 --- /dev/null +++ b/iperf2.spec @@ -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 - 2.0.13-1 +- Package init diff --git a/iperf2.yaml b/iperf2.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/iperf2.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA