68 lines
1.6 KiB
RPMSpec
68 lines
1.6 KiB
RPMSpec
Name: libnfnetlink
|
|
Version: 1.0.2
|
|
Release: 1
|
|
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
|
|
|
|
%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
|
|
|
|
%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
|
|
* 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
|
|
|
|
* Mon Aug 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.1-15
|
|
- Package init
|