From e9f480afd3b0d5eb98876004bbe179bd12f76b76 Mon Sep 17 00:00:00 2001 From: TizenOpenSource Date: Wed, 28 Dec 2022 16:17:19 +0900 Subject: [PATCH] Bump to 0.3.113 Signed-off-by: TizenOpenSource --- packaging/baselibs.conf | 4 ++++ packaging/libaio.manifest | 5 +++++ packaging/libaio.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 packaging/baselibs.conf create mode 100644 packaging/libaio.manifest create mode 100644 packaging/libaio.spec diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf new file mode 100644 index 0000000..6c6e9b6 --- /dev/null +++ b/packaging/baselibs.conf @@ -0,0 +1,4 @@ +libaio +libaio-devel + requires "libaio- = " + diff --git a/packaging/libaio.manifest b/packaging/libaio.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/libaio.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/libaio.spec b/packaging/libaio.spec new file mode 100644 index 0000000..3908d58 --- /dev/null +++ b/packaging/libaio.spec @@ -0,0 +1,57 @@ +Name: libaio +Version: 0.3.113 +Release: 0 +Summary: Linux-Native Asynchronous I/O Access Library +License: LGPL-2.1+ +Group: Development/Libraries +Url: http://kernel.org/pub/linux/libs/aio/ +Source: libaio-%{version}.tar.bz2 +Source2: baselibs.conf +Source1001: libaio.manifest + +%description +The Linux-native asynchronous I/O facility ("async I/O", or "aio") has +a richer API and capability set than the simple POSIX async I/O +facility. This library provides the Linux-native API for async I/O. The +POSIX async I/O facility requires this library to provide +kernel-accelerated async I/O capabilities, as do applications that +require the Linux-native async I/O API. + + +%package devel +Summary: Development Files for Linux-native Asynchronous I/O Access +Group: Development/Libraries/C and C++ +Requires: %name = %version, glibc-devel + +%description devel +This package provides header files to include, and libraries to link +with, for the Linux-native asynchronous I/O facility ("async I/O", or +"aio"). + +%prep +%setup -q +cp %{SOURCE1001} . + +%build +#diable asan check option. +%{?asan:/usr/bin/gcc-unforce-options} +%__make %{?_smp_mflags} CC="%__cc" OPTFLAGS="$RPM_OPT_FLAGS" + +%install +%__make install prefix=%{buildroot}/usr libdir=%{buildroot}/%{_libdir} + +rm -f "%buildroot/%_libdir"/*.a + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%manifest %{name}.manifest +%license COPYING +%_libdir/libaio.so.* + +%files devel +%manifest %{name}.manifest +/usr/include/libaio.h +%_libdir/libaio.so -- 2.7.4