]>
Commit | Line | Data |
---|---|---|
3af615d7 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
3af615d7 SS |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = libaio |
a91589ae MT |
7 | version = 0.3.110 |
8 | release = 1 | |
3af615d7 | 9 | |
802ea3af MT |
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. | |
3af615d7 | 14 | |
802ea3af | 15 | description |
97ec1362 | 16 | The Linux-native asynchronous I/O facility (async I/O, or aio) \ |
3af615d7 SS |
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 \ | |
802ea3af MT |
21 | applications which require the Linux-native async I/O API. |
22 | end | |
23 | ||
a91589ae | 24 | source_dl = https://fedorahosted.org/releases/l/i/libaio/ |
802ea3af MT |
25 | |
26 | build | |
27 | requires | |
28 | e2fsprogs-devel | |
29 | end | |
30 | ||
31 | build | |
32 | make %{PARALLELISMFLAGS} \ | |
7c1b882b | 33 | CFLAGS="%{CFLAGS} -I. -fPIC" CC="gcc" |
802ea3af MT |
34 | end |
35 | ||
a135f599 | 36 | make_install_targets += prefix=%{prefix} libdir=%{libdir} usrlibdir=%{libdir} |
7c1b882b | 37 | |
802ea3af MT |
38 | install_cmds |
39 | # Modify links to be relative | |
7c1b882b MT |
40 | ln -svf libaio.so.1 %{BUILDROOT}%{libdir}/libaio.so |
41 | ln -svf libaio.so.1.0.1 %{BUILDROOT}%{libdir}/libaio.so.1 | |
802ea3af MT |
42 | end |
43 | end | |
44 | ||
45 | packages | |
46 | package %{name} | |
1f9bc2f0 | 47 | |
802ea3af MT |
48 | package %{name}-devel |
49 | template DEVEL | |
50 | end | |
1f9bc2f0 MT |
51 | |
52 | package %{name}-debuginfo | |
53 | template DEBUGINFO | |
54 | end | |
802ea3af | 55 | end |