libnfnetlink/libnfnetlink.spec

79 lines
1.8 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:57:16 -04:00
Name: libnfnetlink
2023-02-02 11:13:30 +00:00
Version: 1.0.2
2023-09-19 19:53:42 +08:00
Release: 2
2019-09-30 10:57:16 -04:00
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
BuildRequires: make
2019-09-30 10:57:16 -04:00
2023-09-19 19:53:42 +08:00
Patch0: add-test-case-and-enable-in-rpmbuild.patch
2019-09-30 10:57:16 -04:00
%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
2023-09-19 19:53:42 +08:00
%check
make check
2019-09-30 10:57:16 -04:00
%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
2023-09-19 19:53:42 +08:00
* Tue Sep 19 2023 xingwei <xingwei14@h-partners.com> - 1.0.2-2
- Type:bugfix
- CVE:
- SUG:NA
- DESC:enable DT check
2023-02-02 11:13:30 +00:00
* Thu Feb 02 2023 xingwei <xingwei14@h-partners.com> - 1.0.2-1
- Type:requirements
- ID:NA
- SUG:NA
- DESC:update libnfnetlink to 1.0.2
* Tue Nov 01 2022 xingwei <xingwei14@h-partners.com> - 1.0.1-16
- add make as BuildRequires for rpmbuild
2019-09-30 10:57:16 -04:00
* Mon Aug 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.1-15
- Package init