which.spec
来自「coldfire MCF5445X基于unix平台的BSP」· SPEC 代码 · 共 40 行
SPEC
40 行
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary : Displays where a program in your path is located.Name : whichVersion : 2.14Release : 1License : GPLVendor : FreescalePackager : Stuart HughesGroup : Applications/SystemSource : which-2.14.tar.gzBuildRoot : %{_tmppath}/%{name}Prefix : %{pfx}%DescriptionThis command is used to return the location that would be used to run aprogram by searching your PATH environment variable.%Prep%setup%Build./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} --mandir=%{_mandir}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 + =
减小字号Ctrl + -
显示快捷键?