[iperf3/el6] Update to 3.0.3 and added devel rpm support
Susant Sahani
ssahani at fedoraproject.org
Tue Apr 1 07:37:53 UTC 2014
commit 443bd25377c9e9813f9c8b8df102ce3ae11edae8
Author: Susant Sahani <susant at redhat.com>
Date: Tue Apr 1 13:09:17 2014 +0530
Update to 3.0.3 and added devel rpm support
.gitignore | 1 +
iperf3.spec | 21 ++++++++++++++++++---
sources | 2 +-
3 files changed, 20 insertions(+), 4 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 b0f31fe..d333593 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,7 +35,6 @@ 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
@@ -34,7 +42,7 @@ rm -rf $RPM_BUILD_ROOT
%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
@@ -43,8 +51,15 @@ rm -rf $RPM_BUILD_ROOT
%{_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 <ssahani at redhat.com> 3.0.3-1
+- Update to 3.0.3 and added devel rpm support
+
* Tue Mar 11 2014 Susant Sahani <ssahani at redhat.com> 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
More information about the scm-commits
mailing list