libnetfilter_conntrack/libnetfilter_conntrack.spec

96 lines
2.1 KiB
RPMSpec
Raw Permalink Normal View History

2022-09-22 06:49:18 +00:00
#needsrootforbuild
2019-09-30 10:57:12 -04:00
Name: libnetfilter_conntrack
2022-06-12 15:48:51 +08:00
Version: 1.0.9
Release: 4
2019-09-30 10:57:12 -04:00
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
2022-09-22 06:49:18 +00:00
Patch0: enable-make-check-tests.patch
2019-09-30 10:57:12 -04:00
BuildRequires: pkgconfig kernel-headers
BuildRequires: libmnl-devel >= 1.0.3 libnfnetlink-devel >= 1.0.1
2022-11-28 03:19:04 +00:00
BuildRequires: make
2019-09-30 10:57:12 -04:00
%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
2021-05-27 10:52:31 +08:00
BuildRequires: gcc
2019-09-30 10:57:12 -04:00
Requires: kernel-headers libnfnetlink-devel >= 1.0.1
Requires: %{name} = %{version}-%{release}
%description devel
This package contains development files.
%prep
%autosetup -p1
%build
%configure
2019-09-30 10:57:12 -04:00
%make_build
%install
%make_install
%delete_la
2022-09-22 06:49:18 +00:00
%check
make check
2019-09-30 10:57:12 -04:00
%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
* Thu Jan 19 2023 zhangdaolong <dlzhangak@isoftstone.com> - 1.0.9-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Remove unrecognized options
2022-11-28 03:19:04 +00:00
* Mon Nov 28 2022 xingwei <xingwei14@h-partners.com> - 1.0.9-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add make as BuildRequires for rpmbuild
2022-09-22 06:49:18 +00:00
* Thu Sep 22 2022 gaihuiying <eaglegai@163.com> - 1.0.9-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:enable test
2022-06-12 15:48:51 +08:00
* Sun Jun 12 2022 YukariChiba <i@0x7f.cc> - 1.0.9-1
- Type:update
- ID:NA
- SUG:NA
- DESC:Upgrade version to 1.0.9
2021-05-27 10:52:31 +08:00
* Thu May 27 2021 lijingyuan <lijingyuan3@huawei.com> - 1.0.8-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Add the compilation dependency of gcc.
2020-07-22 12:32:05 +08:00
* Wed Jul 22 2020 zhangxingliang <zhangxingliang3@huawei.com> - 1.0.8-1
- Type:update
- ID:NA
- SUG:NA
- DESC:update to 1.0.8
2019-09-30 10:57:12 -04:00
* Mon Sep 16 2019 Yiru Wang <wangyiru1@huawei.com> - 1.0.6-7
- Pakcage init