libnfnetlink/libnfnetlink.spec
xingwei 8a1ab32099 enable DT check
(cherry picked from commit 3656a594a37e592d5fa58d7314e5bdf30f7cfc46)
2023-09-20 15:13:20 +08:00

73 lines
1.7 KiB
RPMSpec

Name: libnfnetlink
Version: 1.0.1
Release: 17
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
Patch0: add-test-case-and-enable-in-rpmbuild.patch
%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
%check
make check
%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
* Tue Sep 19 2023 xingwei <xingwei14@h-partners.com> - 1.0.1-17
- Type:bugfix
- CVE:
- SUG:NA
- DESC:enable DT check
* Tue Nov 01 2022 xingwei <xingwei14@h-partners.com> - 1.0.1-16
- add make as BuildRequires for rpmbuild
* Mon Aug 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.1-15
- Package init