📄 netperf.spec
字号:
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary : Netperf is a benchmark that can be used to measure the performance of many different types of networkingName : netperfVersion : 2.4.0Release : 1License : DistributableVendor : FreescalePackager : Kim PhillipsGroup : Development/ToolsSource : %{name}-%{version}.tar.gzPatch1 : netperf-2.4.0-mixed_endian_fp.patchBuildRoot : %{_tmppath}/%{name}Prefix : %{pfx}%Description%{summary}%Prep%setup %patch1 -p1%Buildac_cv_func_setpgrp_void=yes ac_cv_func_sched_setaffinity=no \./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}make%Installrm -rf $RPM_BUILD_ROOTmake install DESTDIR=$RPM_BUILD_ROOT/%{pfx}%Cleanrm -rf $RPM_BUILD_ROOT%Files%defattr(-,root,root)%{pfx}/*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -