2 # - *.a and *.la? delete?
4 Summary: Network performance measurement tool
5 Summary(pl.UTF-8): Narzędzie do szacowania wydajności sieci
10 Group: Networking/Utilities
11 Source0: https://downloads.es.net/pub/iperf/%{orgname}-%{version}.tar.gz
12 # Source0-md5: 6114c34ef6c3a69bc75de12e5366789b
13 Patch0: %{name}-nopg.patch
14 URL: https://software.es.net/iperf/
15 BuildRequires: libstdc++-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Iperf was orginally developed by NLANR/DAST as a modern alternative
20 for measuring maximum TCP and UDP bandwidth performance. Iperf allows
21 the tuning of various parameters and UDP characteristics. Iperf
22 reports bandwidth, delay jitter, datagram loss.
24 iperf3 is a new implementation from scratch, with the goal of a
25 smaller, simpler code base, and a library version of the functionality
26 that can be used in other programs. iperf3 is not backwards compatible
30 Summary: Shared iperf3 libraries
31 Summary(pl.UTF-8): Biblioteki współdzielone iperf3
35 Shared iperf3 libraries.
37 %description libs -l pl.UTF-8
38 Biblioteki współdzielone iperf3.
41 Summary: Header files for iperf3 libraries
42 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek iperf3
43 Group: Development/Libraries
44 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
47 Header files for iperf3 libraries.
49 %description devel -l pl.UTF-8
50 Pliki nagłówkowe bibliotek iperf3.
53 %setup -q -n %{orgname}-%{version}
65 rm -rf $RPM_BUILD_ROOT
68 DESTDIR=$RPM_BUILD_ROOT
71 rm -rf $RPM_BUILD_ROOT
73 %post libs -p /sbin/ldconfig
74 %postun libs -p /sbin/ldconfig
77 %defattr(644,root,root,755)
78 %doc INSTALL LICENSE README.md RELEASE_NOTES docs/
79 %attr(755,root,root) %{_bindir}/iperf3
80 %{_mandir}/man1/iperf3.1*
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/libiperf.so.*.*.*
85 %attr(755,root,root) %ghost %{_libdir}/libiperf.so.0
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/libiperf.so
90 %{_includedir}/iperf_api.h
91 %{_mandir}/man3/libiperf.3*