📄 sysfsutils.spec
字号:
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary : sysfs utilitiesName : sysfsutilsVersion : 2.1.0Release : 1License : GPL/LGPLVendor : FreescalePackager : DuckGroup : Applications/SystemSource : %{name}-%{version}.tar.gzBuildRoot : %{_tmppath}/%{name}Prefix : %{pfx}%Description%{summary}%Prep%setup %Build./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}touch config.h.in # avoid running (the missing) autoheadermake all%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 + -