📄 uclinux-cksum.spec
字号:
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary : Utility to generate the checksum & count the bytes in a fileName : cksumVersion : 19990607Release : 1License : BSDVendor : FreescalePackager : Steve PapacharalambousGroup : System Environment/BaseSource : %{name}-%{version}.tar.gzPatch1 : cksum-19990607-1122994071.patchBuildRoot : %{_tmppath}/%{name}Prefix : %{pfx}%Description%{summary}This particular version of cksum is required by the uClinux host toolsto build the final target image.%Prep%setup %patch1 -p1%Buildmake%Installrm -rf ${RPM_BUILD_ROOT}mkdir -p ${RPM_BUILD_ROOT}/%{pfx}/%{_prefix}/usr/bin# Change the name of the executable to us-cksum to avoid possible confusion# with existing host distribution cksum.install ${RPM_BUILD_DIR}/%{name}-%{version}/cksum ${RPM_BUILD_ROOT}/%{pfx}/%{_prefix}/usr/bin/uc-cksum%Cleanrm -rf ${RPM_BUILD_ROOT}%Files%defattr(-,root,root)%{pfx}/*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -