iproute.spec

来自「coldfire MCF5445X基于unix平台的BSP」· SPEC 代码 · 共 44 行

SPEC
44
字号
%define base %(echo %{_prefix} | sed -e s,/usr.*$,,)%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary         : Advanced IP routing and network device configuration toolsName            : iprouteVersion         : 2.6.11Release         : 050330License         : GPLVendor          : FreescalePackager        : Jaksa Djordjevic, Stuart HughesGroup           : Applications/SystemSource          : %{name}2-%{version}-%{release}.tar.gzPatch0          : iproute-2.6.11-socket_h_warning.patchPatch1          : iproute2-paretonormal-overflow.patchBuildRoot       : %{_tmppath}/%{name}Prefix          : %{pfx}%Description%{summary}The iproute package contains networking utilities (ip and rtmon, forexample) which are designed to use the advanced networkingcapabilities of the Linux kernel.%Prep%setup -n %{name}2-%{version}-%{release}%patch0 -p1%patch1 -p0%Buildmake -j1 KERNEL_INCLUDE=$DEV_IMAGE/usr/src/linux HOSTCC="$BUILDCC"%Installrm -rf $RPM_BUILD_ROOTmake -j1 install SBINDIR=%{base}/sbin DESTDIR=$RPM_BUILD_ROOT/%{pfx}%Cleanrm -rf $RPM_BUILD_ROOT%Files%defattr(-,root,root)%{pfx}/*

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?