!1 package init - guln

Merge pull request !1 from 薄皮小笼包/gu
This commit is contained in:
openeuler-ci-bot 2019-12-31 16:41:19 +08:00 committed by Gitee
commit 08447b4aa1
2 changed files with 53 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,53 @@
Name: libnetfilter_cttimeout
Version: 1.0.0
Release: 13
Summary: Netfilter/conntrack Timeout policy tuning
License: GPLv2+
URL: http://netfilter.org
Source0: http://netfilter.org/projects/%{name}/files/%{name}-%{version}.tar.bz2
BuildRequires: libmnl-devel >= 1.0.0 pkgconfig kernel-headers
%description
libnetfilter_cttimeout is the userspace library that provides the programming
interface to the fine-grain connection tracking timeout infrastructure. With
this library, you can create, update and delete timeout policies that can be
attached to traffic flows. This library is used by conntrack-tools
%package devel
Summary: Development files for the libnetfilter_cttimeout library
Requires: %{name} = %{version}-%{release} libmnl-devel >= 1.0.0 kernel-headers
%description devel
The libnetfilter_cttimeout-devel package includes header files and libraries necessary
for the libnetfilter_cttimeout library.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure
%make_build
%install
%make_install
%delete_la
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc COPYING README
%{_libdir}/*.so.*
%files devel
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%dir %{_includedir}/libnetfilter_cttimeout
%{_includedir}/libnetfilter_cttimeout/*.h
%changelog
* Tue Dec 31 2019 gulining<gulining1@huawei.com> - 1.0.0-13
- Pakcage init