Name: libnf Version: 1.30 Release: 3 Summary: Library providing C API for processing nfdump files Group: Networking/Tools License: GPL URL: http://libnf.net Source0: http://libnf.net/packages/%{name}-%{version}.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: bzip2-devel BuildRequires: gcc Requires: bzip2-libs %global __brp_remove_la_files %nil %description API for manipulating with nfdump files. See http://libnf.net for more information. %package devel Summary: Libraries and header files for the libnf.net library Group: Development/Libraries Requires: %{name} bzip2-devel %description devel This package provides the libraries, include files, and other resources needed for developing libnf applications. %package -n nfdumpp Summary: Parallel nfdump Group: Networking/Tools Requires: %{name} %description -n nfdumpp Nfdumpp is implementation of parallel nfdump based on libnf.net library. %prep %setup -q %build %configure --enable-bz2static=no CFLAGS=-fPIC make %{?_smp_mflags} %install rm -rf %{buildroot} # redundant except for RHEL 5 %make_install %clean rm -rf %{buildroot} %post /sbin/ldconfig %postun /sbin/ldconfig %files %{_bindir}/libnf-info %{_bindir}/lnf_ex* %{_includedir}/libnf.h %{_includedir}/ffilter.h %{_libdir}/libnf.so.* %files devel %{_includedir}/libnf.h %{_includedir}/ffilter.h %{_libdir}/libnf.so* %{_libdir}/libnf.a %{_libdir}/libnf.la %files -n nfdumpp %{_bindir}/nfdumpp %changelog * Wed Dec 28 2022 Tomas Cejka - disable automatic deletion of .la files * Tue Aug 11 2015 Tomas Podermanski - Initial version of specfile