f4d17450 |
Summary: Linux-native asynchronous I/O access library
Name: libaio
Version: 0.3.110 |
c3a3fd12 |
Release: 2%{?dist} |
f4d17450 |
License: LGPLv2+
Group: System Environment/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source0: https://fedorahosted.org/releases/l/i/libaio/libaio-0.3.110.tar.gz |
3cc43c92 |
%define sha1 libaio=f8f6ed15f22e528f6f415939b07854539e3360e4 |
f4d17450 |
Patch0: libaio-install-to-destdir-slash-usr.patch
%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 -q -a 0
%patch0 -p0 -b .install-to-destdir-slash-usr
%patch0 -p1 -b .install-to-destdir-slash-usr
%build
# A library with a soname of 1.0.0 was inadvertantly released. This
# build process builds a version of the library with the broken soname in
# the libaio-0.3.103 directory, and then builds the library again
# with the correct soname.
cd %{name}-%{version}
make soname='libaio.so.1.0.0' libname='libaio.so.1.0.0'
cd ..
make
%install
cd %{name}-%{version}
install -D -m 755 src/libaio.so.1.0.0 %{buildroot}/%{_libdir}/libaio.so.1.0.0
cd ..
make destdir=%{buildroot} prefix=%{_prefix} libdir=/lib usrlibdir=%{_libdir} includedir=%{_includedir} install
|
d009d976 |
%check
make %{?_smp_mflags} -k check
|
f4d17450 |
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%attr(0755,root,root) %{_libdir}/libaio.so.*
%doc COPYING TODO
%files devel
%attr(0644,root,root) %{_includedir}/*
%attr(0755,root,root) %{_libdir}/libaio.so
%attr(0755,root,root) %{_libdir}/libaio.a
%changelog |
c3a3fd12 |
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.3.110-2
- GA - Bump release of all rpms |
f4d17450 |
* Tue Mar 3 2015 Divya Thaluru <dthaluru@vmware.com> 0.3.110-1
- Initial version
|