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