File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / iperf / iperf3.spec.in
Revision 1.1.1.3 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Sep 27 11:14:54 2023 UTC (8 months, 2 weeks ago) by misho
Branches: iperf, MAIN
CVS tags: v3_15, HEAD
Version 3.15

    1: Name:	iperf3
    2: Version: @VERSION@
    3: Release:	1%{?dist}
    4: Summary: Measurement tool for TCP/UDP bandwidth performance
    5: 
    6: Group:	 Applications/Internet
    7: License: BSD
    8: URL:	 https://github.com/esnet/iperf
    9: Source0: https://downloads.es.net/pub/iperf/iperf-%{version}.tar.gz
   10: BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
   11: 
   12: BuildRequires: autoconf
   13: BuildRequires: gcc
   14: BuildRequires: openssl-devel
   15: 
   16: %description
   17: iperf3 is a tool for active measurements of the maximum achievable
   18: bandwidth between two IP hosts.  It supports tuning of various
   19: parameters related to timing, protocols, and buffers.  For each test,
   20: it reports the throughput, loss, and other parameters.
   21: 
   22: %package        devel
   23: Summary:        Development files for %{name}
   24: Group:          Development/Libraries
   25: 
   26: %description    devel
   27: The %{name}-devel package contains libraries and header files for
   28: developing applications that use %{name}.
   29: 
   30: %prep
   31: %setup -q -n iperf-%{version}
   32: 
   33: %build
   34: %configure
   35: make %{?_smp_mflags}
   36: 
   37: %install
   38: rm -rf $RPM_BUILD_ROOT
   39: %makeinstall -C src INSTALL_DIR="%{buildroot}%{_bindir}"
   40: mkdir -p %{buildroot}%{_mandir}/man1
   41: 
   42: %clean
   43: rm -rf $RPM_BUILD_ROOT
   44: 
   45: %files
   46: %defattr(-,root,root,-)
   47: %%doc README.md INSTALL LICENSE RELNOTES.md
   48: %{_mandir}/man1/iperf3.1.gz
   49: %{_mandir}/man3/libiperf.3.gz
   50: %{_bindir}/iperf3
   51: %{_libdir}/*.so.*
   52: 
   53: %files devel
   54: %defattr(-,root,root,-)
   55: %{_includedir}/iperf_api.h
   56: %{_libdir}/libiperf.a
   57: %{_libdir}/libiperf.la
   58: %{_libdir}/*.so
   59: %{_libdir}/*.so.*

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>