2020-04-02 22:33:04 +08:00
|
|
|
%global _version 2.7.0
|
|
|
|
|
|
|
|
|
|
Name: netperf
|
|
|
|
|
Version: 2.7.0
|
2021-08-04 09:19:42 +08:00
|
|
|
Release: 5
|
2020-04-02 22:33:04 +08:00
|
|
|
Summary: A Performance benchmark testing tool fro TCP/UDP
|
2021-06-03 17:03:41 +08:00
|
|
|
License: MIT
|
2020-04-02 22:33:04 +08:00
|
|
|
URL: http://github.com/HewlettPackard/netperf
|
|
|
|
|
Source0: https://github.com/HewlettPackard/netperf/archive/%{name}-%{_version}.tar.gz
|
|
|
|
|
|
2021-08-04 09:19:42 +08:00
|
|
|
Patch1: netperf-fix-multiple-definition.patch
|
|
|
|
|
|
2021-06-03 17:03:41 +08:00
|
|
|
BuildRequires: gcc texinfo texinfo-tex
|
2020-04-02 22:33:04 +08:00
|
|
|
|
|
|
|
|
%description
|
2020-04-08 15:00:37 +08:00
|
|
|
netperf is a collection of many different network performance benchmarking tools
|
2020-04-02 22:33:04 +08:00
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
2021-08-04 09:19:42 +08:00
|
|
|
%patch1
|
2020-04-02 22:33:04 +08:00
|
|
|
|
|
|
|
|
%build
|
2021-08-04 09:19:42 +08:00
|
|
|
%configure
|
2020-04-02 22:33:04 +08:00
|
|
|
%{__make} %{_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
%{__make} install DESTDIR="%{buildroot}"
|
|
|
|
|
|
|
|
|
|
%{__rm} -rf %{buildroot}%{_infodir}/dir
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
|
|
%pre
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
|
%doc README AUTHORS COPYING Release_Notes
|
|
|
|
|
%{_bindir}/netperf
|
|
|
|
|
%{_bindir}/netserver
|
|
|
|
|
%{_infodir}/netperf.*
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%doc doc/netperf.{html,pdf,txt,xml}
|
|
|
|
|
%doc doc/examples
|
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-06-08 06:25:02 +00:00
|
|
|
* Wed Aug 4 2021 shdluan <shdluan@163.com> - 2.7.0-5
|
2021-08-04 09:19:42 +08:00
|
|
|
- fix multiple defination of variable
|
|
|
|
|
|
2021-06-03 17:03:41 +08:00
|
|
|
* Thu Jun 03 2021 zhaoyao <zhaoyao32@huawei.com> - 2.7.0.-4
|
|
|
|
|
- fixs failed: gcc command not found.
|
|
|
|
|
|
2020-09-26 18:01:42 +08:00
|
|
|
* Sat Sep 26 2020 hushiyuan <hushiyuan@huawei.com> - 2.7.0-3
|
|
|
|
|
* Delete install-info in post and preun
|
|
|
|
|
|
2020-09-26 17:54:49 +08:00
|
|
|
* Wed Apr 8 2020 hushiyuan <hushiyuan@huawie.com> - 2.7.0.-2
|
2020-04-08 15:00:37 +08:00
|
|
|
- Update package description for some spelling mistake
|
|
|
|
|
|
2020-09-26 17:54:49 +08:00
|
|
|
* Fri Mar 13 2020 hushiyuan <hushiyuan@huawei.com> - 2.7.0-1
|
2020-04-02 22:33:04 +08:00
|
|
|
- Package init
|