Update to 3.0.3 and added devel rpm support
This commit is contained in:
parent
4e569c4433
commit
0ab38aa4fd
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
22
iperf3.spec
22
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 <ssahani@redhat.com> 3.0.3-1
|
||||
- Update to 3.0.3 and added devel rpm support
|
||||
|
||||
* Tue Mar 11 2014 Susant Sahani <ssahani@redhat.com> 3.0.2-1
|
||||
- Update to 3.0.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user