Projects
home:Eustace:branches:Eulaceura:Factory
libkefir
_service:obs_scm:libkefir.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:libkefir.spec of Package libkefir
%global githubname libkefir %global githubver 0.1.0 %global githubfull %{githubname}-%{githubver} Name: %{githubname} Version: %{githubver} Release: 1 Summary: Libkefir library License: BSD 2-Clause URL: https://github.com/Netronome/%{githubname} Source: %{githubfull}.tar.gz BuildRequires: gcc elfutils-devel libbpf-static Requires: libbpf %description Libkefir is a C library designed to turn sets of simple network filtering rules into BPF programs, and to load and attach them to the Linux kernel. %package devel Summary: Development files for %{name} Requires: %{name} = 2:%{version}-%{release} Requires: kernel >= 4.18 %description devel The %{name}-devel package contains libkefir header files for developing applications that use %{name} %package static Summary: Static library for libkefir development Requires: %{name}-devel = 2:%{version}-%{release} %description static The %{name}-static package contains static library for developing applications that use %{name} %global make_flags DESTDIR=%{buildroot} OBJDIR=%{_builddir} CFLAGS=%{build_cflags} LIBDIR=%{_libdir} %prep %autosetup -n %{githubfull} %build %make_build %check make run_test %install %make_install %files %{_libdir}/libkefir.so.0.1.0 %{_libdir}/libkefir.so.0 %files devel %{_libdir}/libkefir.so %{_includedir}/ %{_libdir}/pkgconfig/libkefir.pc %files static %{_libdir}/libkefir.a %changelog * Thu Sep 23 2021 yangchenguang <yangchenguang@uniontech.com> - 0.1.0-1 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2