libnfnetlink/libnfnetlink.spec

58 lines
1.4 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:57:16 -04:00
Name: libnfnetlink
Version: 1.0.1
Release: 15
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
%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
* Mon Aug 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.1-15
- Package init