📄 libnfnetlink.spec
字号:
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary : libnfnetlink is the low-level library for netfilter related kernel/userspace communicationName : libnfnetlinkVersion : 0.0.25Release : 1License : GPLVendor : FreescalePackager : Emil MedveGroup : System Environment/BaseURL : http://www.netfilter.org/projects/libnfnetlinkPatch0 : %{name}-%{version}-linux_types_h.patchSource : %{name}-%{version}.tar.bz2BuildRoot : %{_tmppath}/%{name}Prefix : %{pfx}%Description%{summary}libnfnetlink is the low-level library for netfilter related kernel/userspace communication. Itprovides a generic messaging infrastructure for in-kernel netfilter subsystems (such asnfnetlink_log, nfnetlink_queue, nfnetlink_conntrack) and their respective users and/or managementtools in userspaceThis library is not meant as a public API for application developers. It is only used by othernetfilter.org projects, such as libnetfilter_log, libnetfilter_queue or libnetfilter_conntracklibnfnetlink requires and a kernel that features the nfnetlink subsystem. This includes all 2.6.xkernels >= 2.6.14Main features * low-level nfnetlink message processing functions%Prep%setup%patch0 -p1%Build./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}make%Installrm -rf $RPM_BUILD_ROOTmake install DESTDIR=$RPM_BUILD_ROOT/%{pfx}rm -rf $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib/%{name}.la%Cleanrm -rf $RPM_BUILD_ROOT%Files%defattr(-,root,root)%{pfx}/*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -