libnetfilter_conntrack/libnetfilter_conntrack.spec

77 lines
1.8 KiB
RPMSpec
Raw Permalink Normal View History

2022-09-13 01:42:45 +00:00
#needsrootforbuild
2019-09-30 10:57:12 -04:00
Name: libnetfilter_conntrack
2020-05-12 11:43:03 +08:00
Version: 1.0.8
Release: 3
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-13 01:42:45 +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
%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
2022-09-13 01:42:45 +00:00
%check
%if %{?openEuler:1}0
sed -i '/.\/ct_stress 10000 & .\/test_filter/d' tests/Makefile.in
%endif
2022-09-13 01:42:45 +00:00
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 Sep 22 2022 gaihuiying <eaglegai@163.com> - 1.0.8-3
- remove filter tests
2022-09-13 01:42:45 +00:00
* Tue Sep 13 2022 gaihuiying <eaglegai@163.com> - 1.0.8-2
- enable test
2020-05-12 11:43:03 +08:00
* Wed Apr 29 2020 zhouxudong <zhouxudong8@huawei.com> - 1.0.8-1
- Pakcage update to 1.0.8
* Thu Apr 23 2020 zhouxudong <zhouxudong8@huawei.com> - 1.0.7-1
- Pakcage downgrade to 1.0.7
* Thu Apr 16 2020 zhouxudong <zhouxudong8@huawei.com> - 1.0.8-1
- Pakcage 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