From 30111f6e7208970e87d2265a59969c4ec8ac8796 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 07:16:49 +0000 Subject: [PATCH] auto-import changelog data from libaio-0.3.8-1.src.rpm Tue Jan 22 2002 Benjamin LaHaise - add io_getevents Tue Jan 22 2002 Michael K. Johnson - Make linker happy with /usr/lib symlink for libredhat-kernel.so Mon Jan 21 2002 Michael K. Johnson - Added stub library Sun Jan 20 2002 Michael K. Johnson - Initial packaging --- .cvsignore | 1 + libaio.spec | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 79 insertions(+) create mode 100644 libaio.spec diff --git a/.cvsignore b/.cvsignore index e69de29..be3fa18 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libaio-0.3.8.tar.gz diff --git a/libaio.spec b/libaio.spec new file mode 100644 index 0000000..12e5bbf --- /dev/null +++ b/libaio.spec @@ -0,0 +1,77 @@ +Name: libaio +Version: 0.3.8 +Release: 1 +Summary: Linux-native asynchronous I/O access library +Copyright: LGPL +Group: System Environment/Libraries +Source: %{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-root +# Fix ExclusiveArch as we implement this functionality on more architectures +ExclusiveArch: i386 + +%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, libaio, provides the Linux-native API for async I/O. +The POSIX async I/O facility requires this library in order to provide +kernel-accelerated async I/O capabilities, as do applications which +require the Linux-native async I/O API. + +%package devel +Summary: Development files for Linux-native asynchronous I/O access +Group: Development/System +Requires: libaio + +%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 + +%build +make + +%install +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT + +make install prefix=$RPM_BUILD_ROOT/usr root=$RPM_BUILD_ROOT + +%clean +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT + +%post +# if no libredhat-kernel.so is in place, temporarily use our stub +# so that programs will link correctly +if [ ! -f /lib/libredhat-kernel.so ] ; then + ln -sf /lib/kernel/stub/* /lib/ +fi +/sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%attr(0755,root,root) /usr/lib/libaio.so.* +%attr(0755,root,root) /lib/kernel/stub/* +%doc COPYING TODO + +%files devel +%defattr(-,root,root) +%attr(0644,root,root) /usr/include/* +%attr(0755,root,root) /usr/lib/libaio.so +%attr(0644,root,root) /usr/lib/libaio.a +%attr(0755,root,root) /usr/lib/libredhat-kernel.so + +%changelog +* Tue Jan 22 2002 Benjamin LaHaise +- add io_getevents + +* Tue Jan 22 2002 Michael K. Johnson +- Make linker happy with /usr/lib symlink for libredhat-kernel.so + +* Mon Jan 21 2002 Michael K. Johnson +- Added stub library + +* Sun Jan 20 2002 Michael K. Johnson +- Initial packaging diff --git a/sources b/sources index e69de29..69ed521 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a9107f48e7bc748725fda00878957ea7 libaio-0.3.8.tar.gz