]> git.pld-linux.org Git - packages/iperf3.git/blob - iperf3.spec
87d105bd5ebf15b1053a2da42516314d210d9533
[packages/iperf3.git] / iperf3.spec
1 # TODO:
2 # - *.a and *.la? delete?
3 %define orgname iperf
4 Summary:        Network performance measurement tool
5 Summary(pl.UTF-8):      Narzędzie do szacowania wydajności sieci
6 Name:           iperf3
7 Version:        3.6
8 Release:        1
9 License:        BSD-like
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)
17
18 %description
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.
23
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
27 with iperf2.
28
29 %package libs
30 Summary:        Shared iperf3 libraries
31 Summary(pl.UTF-8):      Biblioteki współdzielone iperf3
32 Group:          Libraries
33
34 %description libs
35 Shared iperf3 libraries.
36
37 %description libs -l pl.UTF-8
38 Biblioteki współdzielone iperf3.
39
40 %package devel
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}
45
46 %description devel
47 Header files for iperf3 libraries.
48
49 %description devel -l pl.UTF-8
50 Pliki nagłówkowe bibliotek iperf3.
51
52 %prep
53 %setup -q -n %{orgname}-%{version}
54 %patch0 -p1
55
56 %build
57 %{__libtoolize}
58 %{__aclocal}
59 %{__autoconf}
60 %{__automake}
61 %configure
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post   libs -p /sbin/ldconfig
74 %postun libs -p /sbin/ldconfig
75
76 %files
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*
81
82 %files libs
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/libiperf.so.*.*.*
85 %attr(755,root,root) %ghost %{_libdir}/libiperf.so.0
86
87 %files devel
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/libiperf.so
90 %{_includedir}/iperf_api.h
91 %{_mandir}/man3/libiperf.3*
This page took 0.056094 seconds and 2 git commands to generate.