Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mkubecek:utils
libnftnl
libnftnl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libnftnl.spec of Package libnftnl
# # spec file for package libnftnl # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: libnftnl %define lname libnftnl11 Version: 1.2.7 Release: 0 Summary: Userspace library to access the nftables Netlink interface License: GPL-2.0-or-later Group: Productivity/Networking/Security URL: https://netfilter.org/projects/libnftnl/ #Git-Clone: git://git.netfilter.org/libnftnl Source: http://ftp.netfilter.org/pub/libnftnl/%name-%version.tar.xz Source2: http://ftp.netfilter.org/pub/libnftnl/%name-%version.tar.xz.sig Source9: %name.keyring BuildRequires: xz %if 0%{?suse_version} > 1110 BuildRequires: pkgconfig(libmnl) >= 1.0.4 %else BuildRequires: libmnl-devel >= 1.0.4 BuildRequires: pkg-config >= 0.21 %endif %if 0%{?suse_version} < 1130 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif %description libnftnl is a userspace library providing a low-level netlink programming interface (API) to the in-kernel nf_tables subsystem. %package -n %lname Summary: Userspace library to access the nftables Netlink interface Group: System/Libraries %description -n %lname libnftnl is a userspace library providing a low-level netlink programming interface (API) to the in-kernel nf_tables subsystem. %package devel Summary: Development files for libnftnl Group: Development/Libraries/C and C++ Requires: %lname = %version %description devel libnftnl is a userspace library providing a low-level netlink programming interface (API) to the in-kernel nf_tables subsystem. This subpackage contains libraries and header files for developing applications that want to make use of libnftnl. %prep %setup -q %build # includedir intentional, cf. bugzilla.opensuse.org/795968 %configure --with-xml-parsing --includedir="%_includedir/%name" %if 0%{!?make_build:1} %define make_build make %{?_smp_mflags} %endif %make_build %install %make_install rm -f "%buildroot/%_libdir"/*.la %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname %defattr(-,root,root) %_libdir/libnftnl.so.11* %files devel %defattr(-,root,root) %_includedir/%name/ %_libdir/libnftnl.so %_libdir/pkgconfig/libnftnl.pc %if 0%{?suse_version} >= 1500 || 0%{?sle_version} >= 120300 %license COPYING %else %doc COPYING %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor