]> git.ipfire.org Git - ipfire-3.x.git/blob - libaio/libaio.nm
json-c: Update to version 0.17-20230812
[ipfire-3.x.git] / libaio / libaio.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = libaio
7 version = 0.3.110
8 release = 1
9
10 groups = System/Libraries
11 url = ftp://ftp.kernel.org/pub/linux/libs/aio/
12 license = LGPLv2+
13 summary = Linux-native asynchronous I/O access library.
14
15 description
16 The Linux-native asynchronous I/O facility (async I/O, or aio) \
17 has a richer API and capability set than the simple POSIX async I/O \
18 facility. This library, libaio, provides the Linux-native API for \
19 async I/O. The POSIX async I/O facility requires this library in \
20 order to provide kernel-accelerated async I/O capabilities, as do \
21 applications which require the Linux-native async I/O API.
22 end
23
24 source_dl = https://fedorahosted.org/releases/l/i/libaio/
25
26 build
27 requires
28 e2fsprogs-devel
29 end
30
31 build
32 make %{PARALLELISMFLAGS} \
33 CFLAGS="%{CFLAGS} -I. -fPIC" CC="gcc"
34 end
35
36 make_install_targets += prefix=%{prefix} libdir=%{libdir} usrlibdir=%{libdir}
37
38 install_cmds
39 # Modify links to be relative
40 ln -svf libaio.so.1 %{BUILDROOT}%{libdir}/libaio.so
41 ln -svf libaio.so.1.0.1 %{BUILDROOT}%{libdir}/libaio.so.1
42 end
43 end
44
45 packages
46 package %{name}
47
48 package %{name}-devel
49 template DEVEL
50 end
51
52 package %{name}-debuginfo
53 template DEBUGINFO
54 end
55 end