]> git.ipfire.org Git - ipfire-3.x.git/blob - libevent/libevent.nm
vala: Update to version 0.56.13-1
[ipfire-3.x.git] / libevent / libevent.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = libevent
7 version = 2.1.12
8 release = 1.2
9 thisapp = %{name}-%{version}-stable
10
11 groups = Development/Tools
12 url = https://libevent.org
13 license = BSD
14 summary = Abstract asynchronous event notification library
15
16 description
17 The libevent API provides a mechanism to execute a callback
18 function when a specific event occurs on a file descriptor or
19 after a timeout has been reached. libevent is meant to replace
20 the asynchronous event loop found in event driven network
21 servers. An application just needs to call event_dispatch() and
22 can then add or remove events dynamically without having to
23 change the event loop.
24 end
25
26 source_dl = https://github.com/libevent/libevent/releases/download/release-%{version}-stable/
27
28 build
29 requires
30 openssl-devel
31 end
32
33 prepare_cmds
34 # Run event_rpcgen.py using Python 3
35 sed -i event_rpcgen.py \
36 -e "s@^#!.*@#!%{bindir}/python3@"
37 end
38 end
39
40 packages
41 package %{name}
42
43 package %{name}-devel
44 template DEVEL
45 end
46
47 package %{name}-debuginfo
48 template DEBUGINFO
49 end
50 end