Name: bifcl Version: 1.2 Release: 1%{?dist} Epoch: 1 Summary: Built-In-Function (BIF) Compiler/Generator for Zeek License: BSD URL: https://github.com/zeek/bifcl Source0: https://www.zeek.org/downloads/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: cmake >= 2.8.12 BuildRequires: flex BuildRequires: bison BuildRequires: gcc-c++ %description The bifcl program simply takes a .bif file as input and generates C++ header/source files along with a .bro script that all-together provide the declaration and implementation of Bro Built-In-Functions (BIFs), which can then be compiled and shipped as part of a Bro plugin. %prep %autosetup %build mkdir build; cd build %cmake .. %make_build %install rm -rf %{buildroot} %make_install --directory=build %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc README %doc CHANGES %license COPYING %{_bindir}/bifcl %changelog * Mon Sep 16 2019 Derek Ditch 1.2-1 - Bump version to 1.2 for Zeek 3.0 * Wed Feb 13 2019 Derek Ditch 1.1-1 - Initial RPM packaging