package created using the webbuild interface [release 1.0.5-1mamba;Fri Jan 01 2016]
This commit is contained in:
parent
e92a3539c2
commit
09d4135505
@ -1,2 +1,4 @@
|
||||
# libnftnl
|
||||
|
||||
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.
|
||||
|
||||
|
64
libnftnl.spec
Normal file
64
libnftnl.spec
Normal file
@ -0,0 +1,64 @@
|
||||
Name: libnftnl
|
||||
Version: 1.0.5
|
||||
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
|
||||
* Fri Jan 01 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.5-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user