Package init
This commit is contained in:
commit
2f7865e815
BIN
libnfnetlink-1.0.1.tar.bz2
Normal file
BIN
libnfnetlink-1.0.1.tar.bz2
Normal file
Binary file not shown.
57
libnfnetlink.spec
Normal file
57
libnfnetlink.spec
Normal file
@ -0,0 +1,57 @@
|
||||
Name: libnfnetlink
|
||||
Version: 1.0.1
|
||||
Release: 15
|
||||
Summary: Netlink library for netfilter
|
||||
License: GPLv2+
|
||||
URL: http://netfilter.org
|
||||
Source0: http://netfilter.org/projects/libnfnetlink/files/%{name}-%{version}.tar.bz2
|
||||
BuildRequires: kernel-headers automake autoconf libtool pkgconfig
|
||||
|
||||
%description
|
||||
libnfnetlink is the low-level library for netfilter related kernel/userspace communication.
|
||||
It provides a generic messaging infrastructure for in-kernel netfilter subsystems
|
||||
(such as nfnetlink_log, nfnetlink_queue, nfnetlink_conntrack)
|
||||
and their respective users and/or management tools in userspace.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: kernel-headers
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for %{name}.
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%delete_la
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_includedir}/%{name}/*.h
|
||||
|
||||
%files help
|
||||
%defattr(-,root,root)
|
||||
%doc README
|
||||
|
||||
%changelog
|
||||
* Mon Aug 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.1-15
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user