Bump to 0.3.113 accepted/tizen_8.0_unified accepted/tizen_unified sandbox/libaio_0.3.113 tizen tizen_8.0 accepted/tizen/8.0/unified/20231005.095023 accepted/tizen/unified/20230106.165056 tizen_8.0_m2_release
authorTizenOpenSource <tizenopensrc@samsung.com>
Wed, 28 Dec 2022 07:17:19 +0000 (16:17 +0900)
committerTizenOpenSource <tizenopensrc@samsung.com>
Wed, 28 Dec 2022 07:17:19 +0000 (16:17 +0900)
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
packaging/baselibs.conf [new file with mode: 0644]
packaging/libaio.manifest [new file with mode: 0644]
packaging/libaio.spec [new file with mode: 0644]

diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf
new file mode 100644 (file)
index 0000000..6c6e9b6
--- /dev/null
@@ -0,0 +1,4 @@
+libaio
+libaio-devel
+        requires "libaio-<targettype> = <version>"
+
diff --git a/packaging/libaio.manifest b/packaging/libaio.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libaio.spec b/packaging/libaio.spec
new file mode 100644 (file)
index 0000000..3908d58
--- /dev/null
@@ -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