From 42537694f5282ae173c167762a88ff3c109e11af Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 03:45:16 +0100 Subject: [PATCH] update to 0.3.109 [release 0.3.109-1mamba;Tue Oct 30 2012] --- README.md | 4 ++++ libaio.spec | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 libaio.spec diff --git a/README.md b/README.md index 583b55b..bd62290 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # libaio +AIO enables even a single application thread to overlap I/O operations with other processing, by providing an interface for submitting one or more I/O requests in one system call (io_submit()) without waiting for completion, and a separate interface (io_getevents()) to reap completed I/O operations associated with a given completion group. + +Support for kernel AIO has been included in the 2.6 Linux kernel. + diff --git a/libaio.spec b/libaio.spec new file mode 100644 index 0000000..f30e77c --- /dev/null +++ b/libaio.spec @@ -0,0 +1,64 @@ +Name: libaio +Version: 0.3.109 +Release: 1mamba +Summary: Kernel Asynchronous I/O (AIO) Support for Linux +Group: System/Kernel and Hardware +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://lse.sourceforge.net/io/aio.html +Source: http://ftp.de.debian.org/debian/pool/main/liba/libaio/libaio_%{version}.orig.tar.gz +#Source: http://www.kernel.org/pub/linux/kernel/people/bcrl/aio/libaio-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +AIO enables even a single application thread to overlap I/O operations with other processing, by providing an interface for submitting one or more I/O requests in one system call (io_submit()) without waiting for completion, and a separate interface (io_getevents()) to reap completed I/O operations associated with a given completion group. + +Support for kernel AIO has been included in the 2.6 Linux kernel. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version} + +%description devel +AIO enables even a single application thread to overlap I/O operations with other processing, by providing an interface for submitting one or more I/O requests in one system call (io_submit()) without waiting for completion, and a separate interface (io_getevents()) to reap completed I/O operations associated with a given completion group. + +Support for kernel AIO has been included in the 2.6 Linux kernel. + +This package contains static libraries and header files need for development. + +%prep + +%setup -q + +%build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeoldinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/libaio.so.* +%doc COPYING ChangeLog TODO + +%files devel +%defattr(-,root,root) +%{_includedir}/libaio.h +%{_libdir}/libaio.a +%{_libdir}/libaio.so + +%changelog +* Tue Oct 30 2012 Silvan Calarco 0.3.109-1mamba +- update to 0.3.109 + +* Fri Mar 20 2009 Silvan Calarco 0.3.92-1mamba +- package created by autospec