📄 which.spec
字号:
%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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -