libnftnl/libnftnl.spec

89 lines
2.7 KiB
RPMSpec
Raw Normal View History

Name: libnftnl
Version: 1.1.4
Release: 1mamba
Summary: A userspace library providing a low-level netlink programming interface (API) to the in-kernel nf_tables subsystem
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: System/Libraries
Source: http://netfilter.org/projects/libnftnl/files/libnftnl-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libmnl-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
libnftnl is a userspace library providing a low-level netlink programming interface (API) to the in-kernel nf_tables subsystem. The library libnftnl has been previously known as libnftables. This library is currently used by nftables.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libnftnl.so.*
%doc COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libnftnl
%{_includedir}/libnftnl/*.h
%{_libdir}/libnftnl.la
%{_libdir}/libnftnl.so
%{_libdir}/pkgconfig/libnftnl.pc
%changelog
* Thu Sep 12 2019 Automatic Build System <autodist@mambasoft.it> 1.1.4-1mamba
- automatic version update by autodist
* Fri Jun 21 2019 Automatic Build System <autodist@mambasoft.it> 1.1.3-1mamba
- automatic version update by autodist
* Tue Jul 17 2018 Automatic Build System <autodist@mambasoft.it> 1.1.1-1mamba
- automatic version update by autodist
* Sun May 27 2018 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
- automatic version update by autodist
* Sun Jan 28 2018 Automatic Build System <autodist@mambasoft.it> 1.0.9-1mamba
- automatic version update by autodist
* Thu Nov 16 2017 Automatic Build System <autodist@mambasoft.it> 1.0.8-1mamba
- automatic update by autodist
* Fri Dec 30 2016 Automatic Build System <autodist@mambasoft.it> 1.0.7-1mamba
- automatic version update by autodist
* Mon Jun 06 2016 Automatic Build System <autodist@mambasoft.it> 1.0.6-1mamba
- automatic version update by autodist
* Fri Jan 01 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.5-1mamba
- package created using the webbuild interface