📄 clamav.spec
字号:
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary : Clam AntiVirus is a GPL anti-virus toolkit for UNIXName : clamavVersion : 0.88Release : 1License : GPLVendor : FreescalePackager : Sam SiuGroup : System Environment/DaemonsSource : %{name}-%{version}.tar.gzPatch1 : clamav-0.88-configure-cross.patchBuildRoot : %{_tmppath}/%{name}Prefix : %{pfx}%Description%{summary}%Prep%setup %patch1 -p1%Buildac_cv_func_snprintf=no ac_cv_lib_z_inflateEnd=yes ac_cv_func_setpgrp_void=yes ac_cv_have_accrights_in_msghdr=yes \ac_cv_have_control_in_msghdr=yes ac_cv_have_accrights_in_msghdr=no \./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} --disable-clamav --disable-zlib-vcheck \--disable-bzip2 --disable-dsigmake%Installrm -rf $RPM_BUILD_ROOTmake install DESTDIR=$RPM_BUILD_ROOT/%{pfx}rm -f $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib/*.la%Cleanrm -rf $RPM_BUILD_ROOT%Files%defattr(-,root,root)%{pfx}/*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -