uclinux-cksum.spec

来自「coldfire MCF5445X基于unix平台的BSP」· SPEC 代码 · 共 45 行

SPEC
45
字号
%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 + =
减小字号Ctrl + -
显示快捷键?