]> git.pld-linux.org Git - packages/iperf3.git/blame - iperf3.spec
- updated to 3.8
[packages/iperf3.git] / iperf3.spec
CommitLineData
c5c47ef0 1# TODO:
56ccfbc1 2# - *.a and *.la? delete?
c5c47ef0 3%define orgname iperf
c5c47ef0
AM
4Summary: Network performance measurement tool
5Summary(pl.UTF-8): Narzędzie do szacowania wydajności sieci
6Name: iperf3
37bd95de 7Version: 3.8
56ccfbc1 8Release: 1
c5c47ef0
AM
9License: BSD-like
10Group: Networking/Utilities
ed3bda22 11Source0: https://downloads.es.net/pub/iperf/%{orgname}-%{version}.tar.gz
37bd95de 12# Source0-md5: 7164f877241dce479f6e8f083e5c447d
7321b866 13Patch0: %{name}-nopg.patch
ed3bda22 14URL: https://software.es.net/iperf/
c5c47ef0
AM
15BuildRequires: libstdc++-devel
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Iperf was orginally developed by NLANR/DAST as a modern alternative
20for measuring maximum TCP and UDP bandwidth performance. Iperf allows
21the tuning of various parameters and UDP characteristics. Iperf
22reports bandwidth, delay jitter, datagram loss.
23
24iperf3 is a new implementation from scratch, with the goal of a
25smaller, simpler code base, and a library version of the functionality
26that can be used in other programs. iperf3 is not backwards compatible
27with iperf2.
28
56ccfbc1
PG
29%package libs
30Summary: Shared iperf3 libraries
7ccc3fab
AG
31Summary(pl.UTF-8): Biblioteki współdzielone iperf3
32Group: Libraries
56ccfbc1
PG
33
34%description libs
35Shared iperf3 libraries.
36
37%description libs -l pl.UTF-8
38Biblioteki współdzielone iperf3.
39
40%package devel
7ccc3fab
AG
41Summary: Header files for iperf3 libraries
42Summary(pl.UTF-8): Pliki nagłówkowe bibliotek iperf3
43Group: Development/Libraries
44Requires: %{name}-libs = %{epoch}:%{version}-%{release}
56ccfbc1
PG
45
46%description devel
47Header files for iperf3 libraries.
48
49%description devel -l pl.UTF-8
50Pliki nagłówkowe bibliotek iperf3.
51
c5c47ef0 52%prep
7321b866 53%setup -q -n %{orgname}-%{version}
8553f232 54%patch0 -p1
c5c47ef0
AM
55
56%build
7321b866
PG
57%{__libtoolize}
58%{__aclocal}
59%{__autoconf}
60%{__automake}
37bd95de
MK
61%configure \
62 --enable-profiling \
63 --enable-shared
c5c47ef0
AM
64%{__make}
65
66%install
67rm -rf $RPM_BUILD_ROOT
68
69%{__make} install \
70 DESTDIR=$RPM_BUILD_ROOT
71
c5c47ef0
AM
72%clean
73rm -rf $RPM_BUILD_ROOT
74
56ccfbc1
PG
75%post libs -p /sbin/ldconfig
76%postun libs -p /sbin/ldconfig
77
c5c47ef0
AM
78%files
79%defattr(644,root,root,755)
37bd95de 80%doc INSTALL LICENSE README.md RELNOTES.md docs/
c5c47ef0 81%attr(755,root,root) %{_bindir}/iperf3
ed3bda22 82%{_mandir}/man1/iperf3.1*
56ccfbc1
PG
83
84%files libs
85%defattr(644,root,root,755)
86%attr(755,root,root) %{_libdir}/libiperf.so.*.*.*
87%attr(755,root,root) %ghost %{_libdir}/libiperf.so.0
88
89%files devel
90%defattr(644,root,root,755)
91%attr(755,root,root) %{_libdir}/libiperf.so
92%{_includedir}/iperf_api.h
ed3bda22 93%{_mandir}/man3/libiperf.3*
This page took 0.096738 seconds and 4 git commands to generate.