68 lines
1.9 KiB
RPMSpec
68 lines
1.9 KiB
RPMSpec
Name: libnftnl
|
|
Version: 1.0.6
|
|
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
|
|
* 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
|