Search
j0ke.net Open Build Service
>
Projects
>
ha
:
firewall
>
pf_ring
> pf_ring.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File pf_ring.spec of Package pf_ring
%define svnver 0 %if %{svnver} == 1 %define pkgversion %{version}-svn %else %define pkgversion %{version} %endif Name: libpfring Version: 6.0.2 Release: 1 Url: http://www.nmon.net License: GPLv3 Summary: PF_RING userland library Group: System Source0: PF_RING-%{pkgversion}.tar.bz2 Source1: pf_ring-rpmlintrc Patch0: pf_ring-6.0.1-makefile.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root %if 0%{?suse_version} %ifarch x86_64 BuildRequires: libnuma-devel %endif %else BuildRequires: numactl-devel %endif %description %package devel Summary: Libpfring devel files Group: Development/Libraries Requires: libpfring = %{version} %description devel Development files for libpfring %prep %setup -n PF_RING-%{pkgversion} %patch0 %build cd userland/lib %configure %__make %install cd userland/lib %__make DESTDIR=%{buildroot} PREFIX=%{_prefix} LIB=%{_lib} install %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libpfring.so %files devel %defattr(-,root,root) %{_includedir}/pfring.h %{_includedir}/pfring_mod_sysdig.h %{_includedir}/pfring_zc.h %{_libdir}/libpfring.a %changelog