Package init
This commit is contained in:
commit
74bca4292e
BIN
libnetfilter_conntrack-1.0.6.tar.bz2
Normal file
BIN
libnetfilter_conntrack-1.0.6.tar.bz2
Normal file
Binary file not shown.
51
libnetfilter_conntrack.spec
Normal file
51
libnetfilter_conntrack.spec
Normal file
@ -0,0 +1,51 @@
|
||||
Name: libnetfilter_conntrack
|
||||
Version: 1.0.6
|
||||
Release: 7
|
||||
Summary: A userspace library providing a API
|
||||
License: GPLv2+
|
||||
URL: http://netfilter.org
|
||||
Source0: http://netfilter.org/projects/libnetfilter_conntrack/files/%{name}-%{version}.tar.bz2
|
||||
|
||||
BuildRequires: pkgconfig kernel-headers
|
||||
BuildRequires: libmnl-devel >= 1.0.3 libnfnetlink-devel >= 1.0.1
|
||||
|
||||
%description
|
||||
libnetfilter_conntrack is a userspace library providing a programming
|
||||
interface (API) to the in-kernel connection tracking state table. This
|
||||
library is currently used by conntrack-tools among many other applications.
|
||||
|
||||
%package devel
|
||||
Summary: The development files for libnetfilter_conntrack
|
||||
Requires: kernel-headers libnfnetlink-devel >= 1.0.1
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains development files.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%configure --disable-rpath
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%delete_la
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%doc COPYING
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/libnetfilter_conntrack/*.h
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_libdir}/*.so
|
||||
|
||||
%changelog
|
||||
* Mon Sep 16 2019 Yiru Wang <wangyiru1@huawei.com> - 1.0.6-7
|
||||
- Pakcage init
|
||||
Loading…
x
Reference in New Issue
Block a user