Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37372480
en ru br
ALT Linux repos

Group :: System/Libraries
RPM: libbpf

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# SPDX-License-Identifier: GPL-2.0-only
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict

Name: libbpf
Version: 1.2.2
Release: alt1
Summary: Stand-alone build of libbpf from the Linux kernel
Group: System/Libraries
License: BSD-2-Clause or LGPL-2.1

Source: %name-%version.tar

BuildRequires: libelf-devel
BuildRequires: zlib-devel

Library to access Linux kernel BPF API.

%package devel
Summary: Libbpf library and headers
Group: Development/C
License: LGPLv2 or BSD
Requires: %name = %EVR

%description devel
Library and header files to build with libbpf.


cd src
%make_build CFLAGS="%optflags -fPIC" V=1 STATIC_LIBS=

cd src
%makeinstall_std LIBSUBDIR=%_lib STATIC_LIBS=


%files devel


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin