ntpclient.spec
来自「coldfire MCF5445X基于unix平台的BSP」· SPEC 代码 · 共 39 行
SPEC
39 行
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary : Synchronizes system time using the Network Time Protocol (NTP)Name : ntpclientVersion : 2003_194Release : 1License : GPLVendor : FreescalePackager : Stuart HughesURL : http://doolittle.faludi.com/ntpclient/Group : System Environment/BaseSource : %{name}_%{version}.tar.gzPatch1 : %{name}-%{version}-adjtimex.patchBuildRoot : %{_tmppath}/%{name}Prefix : %{pfx}%Description%{summary}%Prep%setup -n ntpclient%patch1 -p1%Build# adjtimex could be built, but we're only interested in setting the timemake%Installrm -rf $RPM_BUILD_ROOTmkdir -p $RPM_BUILD_ROOT/%{pfx}/bincp ntpclient $RPM_BUILD_ROOT/%{pfx}/bin/%Cleanrm -rf $RPM_BUILD_ROOT%Files%defattr(-,root,root)%{pfx}/*
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?