51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
###############################################################################
|
|
# IPFire.org - An Open Source Firewall Solution #
|
|
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
|
|
###############################################################################
|
|
|
|
name = libevent
|
|
version = 2.1.12
|
|
release = 1.2
|
|
thisapp = %{name}-%{version}-stable
|
|
|
|
groups = Development/Tools
|
|
url = https://libevent.org
|
|
license = BSD
|
|
summary = Abstract asynchronous event notification library
|
|
|
|
description
|
|
The libevent API provides a mechanism to execute a callback
|
|
function when a specific event occurs on a file descriptor or
|
|
after a timeout has been reached. libevent is meant to replace
|
|
the asynchronous event loop found in event driven network
|
|
servers. An application just needs to call event_dispatch() and
|
|
can then add or remove events dynamically without having to
|
|
change the event loop.
|
|
end
|
|
|
|
source_dl = https://github.com/libevent/libevent/releases/download/release-%{version}-stable/
|
|
|
|
build
|
|
requires
|
|
openssl-devel
|
|
end
|
|
|
|
prepare_cmds
|
|
# Run event_rpcgen.py using Python 3
|
|
sed -i event_rpcgen.py \
|
|
-e "s@^#!.*@#!%{bindir}/python3@"
|
|
end
|
|
end
|
|
|
|
packages
|
|
package %{name}
|
|
|
|
package %{name}-devel
|
|
template DEVEL
|
|
end
|
|
|
|
package %{name}-debuginfo
|
|
template DEBUGINFO
|
|
end
|
|
end
|