From 0ab38aa4fd7386774e1eec59f308d09b6df8b433 Mon Sep 17 00:00:00 2001 From: Susant Sahani Date: Mon, 31 Mar 2014 21:50:31 +0530 Subject: [PATCH] Update to 3.0.3 and added devel rpm support --- .gitignore | 1 + iperf3.spec | 22 ++++++++++++++++++---- sources | 2 +- 3 files changed, 20 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 7b4a561..3938dc7 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /iperf-3.0.tar.gz /iperf-3.0.1.tar.gz /iperf-3.0.2.tar.gz +/iperf-3.0.3.tar.gz diff --git a/iperf3.spec b/iperf3.spec index db39f59..2551c51 100644 --- a/iperf3.spec +++ b/iperf3.spec @@ -1,5 +1,5 @@ Name: iperf3 -Version: 3.0.2 +Version: 3.0.3 Release: 1%{?dist} Summary: Measurement tool for TCP/UDP bandwidth performance @@ -15,6 +15,15 @@ Iperf is a tool to measure maximum TCP bandwidth, allowing the tuning of various parameters and UDP characteristics. Iperf reports bandwidth, delay jitter, data-gram loss. +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + %prep %setup -q -n iperf-%{version} @@ -26,16 +35,14 @@ make %{?_smp_mflags} rm -rf $RPM_BUILD_ROOT %makeinstall -C src INSTALL_DIR="%{buildroot}%{_bindir}" mkdir -p %{buildroot}%{_mandir}/man1 -rm %{buildroot}/usr/include/iperf_*.h rm %{buildroot}%{_libdir}/libiperf.a %clean rm -rf $RPM_BUILD_ROOT -rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc AUTHORS README.md LICENSE INSTALL RELEASE_NOTES TODO +%doc AUTHORS README.md LICENSE INSTALL RELEASE_NOTES %{_mandir}/man1/iperf3.1.gz %{_mandir}/man3/libiperf.3.gz %{_bindir}/iperf3 @@ -44,8 +51,15 @@ rm -rf %{buildroot} %{_libdir}/libiperf.so.0 %{_libdir}/libiperf.so.0.0.0 +%files devel +%defattr(-,root,root,-) +%{_includedir}/* +%{_libdir}/*.so %changelog +* Sun Mar 30 2014 Susant Sahani 3.0.3-1 +- Update to 3.0.3 and added devel rpm support + * Tue Mar 11 2014 Susant Sahani 3.0.2-1 - Update to 3.0.2 diff --git a/sources b/sources index a054660..4e89732 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2b6ec1d5370fcc91349894c389d68fc3 iperf-3.0.2.tar.gz +dc5f0a7e2b3007ee3203055f000637bb iperf-3.0.3.tar.gz