|
|
c3928b |
Name: libaio
|
|
|
c3928b |
Version: 0.3.109
|
|
|
1cf8c9 |
Release: 12%{?dist}
|
|
|
c3928b |
Summary: Linux-native asynchronous I/O access library
|
|
|
c3928b |
License: LGPLv2+
|
|
|
c3928b |
Group: System Environment/Libraries
|
|
|
c3928b |
Source: http://git.fedorahosted.org/cgit/libaio.git/snapshot/%{name}-%{version}.tar.gz
|
|
|
c3928b |
BuildRoot: %{_tmppath}/%{name}-root
|
|
|
c3928b |
Patch1: libaio-install-to-slash.patch
|
|
|
c3928b |
Patch2: libaio-sparc.patch
|
|
|
c3928b |
|
|
|
c3928b |
%description
|
|
|
c3928b |
The Linux-native asynchronous I/O facility ("async I/O", or "aio") has a
|
|
|
c3928b |
richer API and capability set than the simple POSIX async I/O facility.
|
|
|
c3928b |
This library, libaio, provides the Linux-native API for async I/O.
|
|
|
c3928b |
The POSIX async I/O facility requires this library in order to provide
|
|
|
c3928b |
kernel-accelerated async I/O capabilities, as do applications which
|
|
|
c3928b |
require the Linux-native async I/O API.
|
|
|
c3928b |
|
|
|
c3928b |
%define libdir /%{_lib}
|
|
|
c3928b |
%define usrlibdir %{_prefix}/%{_lib}
|
|
|
c3928b |
|
|
|
c3928b |
%package devel
|
|
|
c3928b |
Summary: Development files for Linux-native asynchronous I/O access
|
|
|
c3928b |
Group: Development/System
|
|
|
1cf8c9 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
c3928b |
|
|
|
c3928b |
%description devel
|
|
|
c3928b |
This package provides header files to include and libraries to link with
|
|
|
c3928b |
for the Linux-native asynchronous I/O facility ("async I/O", or "aio").
|
|
|
c3928b |
|
|
|
c3928b |
%prep
|
|
|
c3928b |
%setup -a 0
|
|
|
c3928b |
%patch1 -p1
|
|
|
c3928b |
mv %{name}-%{version} compat-%{name}-%{version}
|
|
|
c3928b |
%patch2 -p1
|
|
|
c3928b |
|
|
|
c3928b |
%build
|
|
|
c3928b |
# A library with a soname of 1.0.0 was inadvertantly released. This
|
|
|
c3928b |
# build process builds a version of the library with the broken soname in
|
|
|
c3928b |
# the compat-libaio-0.3.103 directory, and then builds the library again
|
|
|
c3928b |
# with the correct soname.
|
|
|
c3928b |
cd compat-%{name}-%{version}
|
|
|
c3928b |
make soname='libaio.so.1.0.0' libname='libaio.so.1.0.0'
|
|
|
c3928b |
cd ..
|
|
|
c3928b |
make
|
|
|
c3928b |
|
|
|
c3928b |
%install
|
|
|
c3928b |
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
|
c3928b |
cd compat-%{name}-%{version}
|
|
|
c3928b |
install -D -m 755 src/libaio.so.1.0.0 \
|
|
|
c3928b |
$RPM_BUILD_ROOT/%{libdir}/libaio.so.1.0.0
|
|
|
c3928b |
cd ..
|
|
|
c3928b |
make destdir=$RPM_BUILD_ROOT prefix=/ libdir=%{libdir} usrlibdir=%{usrlibdir} \
|
|
|
c3928b |
includedir=%{_includedir} install
|
|
|
c3928b |
|
|
|
c3928b |
%clean
|
|
|
c3928b |
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
|
c3928b |
|
|
|
c3928b |
%post -p /sbin/ldconfig
|
|
|
c3928b |
|
|
|
c3928b |
%postun -p /sbin/ldconfig
|
|
|
c3928b |
|
|
|
c3928b |
%files
|
|
|
c3928b |
%defattr(-,root,root)
|
|
|
c3928b |
%attr(0755,root,root) %{libdir}/libaio.so.*
|
|
|
c3928b |
%doc COPYING TODO
|
|
|
c3928b |
|
|
|
c3928b |
%files devel
|
|
|
c3928b |
%defattr(-,root,root)
|
|
|
c3928b |
%attr(0644,root,root) %{_includedir}/*
|
|
|
c3928b |
%attr(0755,root,root) %{usrlibdir}/libaio.so*
|
|
|
c3928b |
%exclude %{_libdir}/libaio.a
|
|
|
c3928b |
|
|
|
c3928b |
%changelog
|
|
|
1cf8c9 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.3.109-12
|
|
|
1cf8c9 |
- Mass rebuild 2014-01-24
|
|
|
1cf8c9 |
|
|
|
1cf8c9 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.3.109-11
|
|
|
1cf8c9 |
- Mass rebuild 2013-12-27
|
|
|
1cf8c9 |
|
|
|
1cf8c9 |
* Mon Dec 2 2013 Jeff Moyer <jmoyer@redhat.com> - 0.3.109-10
|
|
|
1cf8c9 |
- Un-revert the RHEL-specific changes. (Jeff Moyer)
|
|
|
1cf8c9 |
- Make devel sub-package depend on specific ver-rel (Jeff Moyer)
|
|
|
1cf8c9 |
- Resolves: bz#905462
|
|
|
1cf8c9 |
|
|
|
c3928b |
* Tue Nov 13 2012 Jeff Moyer <jmoyer@redhat.com> - 0.3.109-8
|
|
|
c3928b |
- Change the source location to the new upstream on fedorahosted
|
|
|
c3928b |
- import a new tarball from the new source
|
|
|
c3928b |
|
|
|
c3928b |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.109-6
|
|
|
c3928b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
c3928b |
|
|
|
c3928b |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.109-5
|
|
|
c3928b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
c3928b |
|
|
|
c3928b |
* Mon Apr 04 2011 Dennis Gilmore <dennis@ausil.us> - 0.3.109-4
|
|
|
c3928b |
-patch in sparc support
|
|
|
c3928b |
|
|
|
c3928b |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.109-3
|
|
|
c3928b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
c3928b |
|
|
|
c3928b |
* Tue Jan 19 2010 Jeff Moyer <jmoyer@redhat.com> - 0.3.109-2
|
|
|
c3928b |
- Get rid of the static library. (Bug 556059)
|
|
|
c3928b |
|
|
|
c3928b |
* Fri Oct 9 2009 Jeff Moyer <jmoyer@redhat.com> - 0.3.109-1
|
|
|
c3928b |
- Pull in upstream .109 to get ARM architecture support.
|
|
|
c3928b |
- Remove the broken sparc patch; it should go upstream first.
|
|
|
c3928b |
|
|
|
c3928b |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.107-9
|
|
|
c3928b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
c3928b |
|
|
|
c3928b |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.107-8
|
|
|
c3928b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
c3928b |
|
|
|
c3928b |
* Tue Jan 20 2009 Jeff Moyer <jmoyer@redhat.com> - 0.3.107-7
|
|
|
c3928b |
- Fix the install to / patch.
|
|
|
c3928b |
|
|
|
c3928b |
* Wed Oct 01 2008 Dennis Gilmore <dennis@ausil.us> - 0.3.107-6
|
|
|
c3928b |
- add patch with sparc support
|
|
|
c3928b |
|
|
|
c3928b |
* Wed Oct 01 2008 Dennis Gilmore <dennis@ausil.us> - 0.3.107-5
|
|
|
c3928b |
- remove ExclusiveArch line
|
|
|
c3928b |
|
|
|
c3928b |
* Wed Sep 3 2008 Jeff Moyer <jmoyer@redhat.com> - 0.3.107-4
|
|
|
c3928b |
- Install to / instead of /usr for early users of libaio (Jeff Moyer)
|
|
|
c3928b |
- Resolves: bz#459158
|
|
|
c3928b |
|
|
|
c3928b |
* Tue Aug 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.3.107-3
|
|
|
c3928b |
- fix license tag
|
|
|
c3928b |
|
|
|
c3928b |
* Thu Jun 05 2008 Jeff Moyer <jmoyer@redhat.com> - 0.3.107-2
|
|
|
c3928b |
- Update to the latest upstream which adds eventfd support and fixes broken
|
|
|
c3928b |
test cases. (Rusty Russell)
|
|
|
c3928b |
|
|
|
c3928b |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.3.106-4.2
|
|
|
c3928b |
- Autorebuild for GCC 4.3
|
|
|
c3928b |
|
|
|
c3928b |
* Mon Jul 17 2006 Jeff Moyer <jmoyer@redhat.com> - 0.3.106-3.2
|
|
|
c3928b |
- rebuild
|
|
|
c3928b |
|
|
|
c3928b |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.3.106-3.1
|
|
|
c3928b |
- rebuild
|
|
|
c3928b |
|
|
|
c3928b |
* Wed Jun 7 2006 Jeremy Katz <katzj@redhat.com> - 0.3.106-3
|
|
|
c3928b |
- rebuild for -devel deps
|
|
|
c3928b |
|
|
|
c3928b |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.3.106-2.2
|
|
|
c3928b |
- bump again for double-long bug on ppc(64)
|
|
|
c3928b |
|
|
|
c3928b |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.3.106-2.1
|
|
|
c3928b |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
c3928b |
|
|
|
c3928b |
* Wed Jan 04 2006 Jeff Moyer <jmoyer@redhat.com> - 0.3.106-2
|
|
|
c3928b |
- Update to the latest sources, which contain the following change:
|
|
|
c3928b |
Add a .proc directive for the ia64_aio_raw_syscall macro. This sounds a lot
|
|
|
c3928b |
like the previous entry, but that one fixed the __ia64_raw_syscall macro,
|
|
|
c3928b |
located in syscall-ia64.h. This macro is in raw_syscall.c, which pretty much
|
|
|
c3928b |
only exists for ia64. This bug prevented the package from building with
|
|
|
c3928b |
newer version of gcc.
|
|
|
c3928b |
|
|
|
c3928b |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
c3928b |
- rebuilt
|
|
|
c3928b |
|
|
|
c3928b |
* Fri Apr 1 2005 Jeff Moyer <jmoyer@redhat.com> - 0.3.104-2
|
|
|
c3928b |
- Add Alpha architecture support. (Sergey Tikhonov <tsv@solvo.ru>)
|
|
|
c3928b |
|
|
|
c3928b |
* Wed Mar 16 2005 Jeff Moyer <jmoyer@redhat.com> - 0.3.103-6
|
|
|
c3928b |
- Rebuild with gcc 4.
|
|
|
c3928b |
|
|
|
c3928b |
* Mon Feb 14 2005 Jeff Moyer <jmoyer@redhat.com> - 0.3.103-4
|
|
|
c3928b |
- Build the library twice. Once with the old SONAME and once with the new
|
|
|
c3928b |
one. This fixes the wrong SONAME problem by keeping a library around with
|
|
|
c3928b |
the wrong name (libaio.so.1.0.0) and generating a new one (libaio.so.1.0.1).
|
|
|
c3928b |
|
|
|
c3928b |
* Thu Oct 14 2004 Jeff Moyer <jmoyer@redhat.com> - 0.3.102-1
|
|
|
c3928b |
- update to 102. Fixes build errors on s390:
|
|
|
c3928b |
- S390 asm had a bug; I forgot to update the clobber list. Lucky for me,
|
|
|
c3928b |
newer compilers complain about such things.
|
|
|
c3928b |
- Also update the s390 asm to look more like the new kernel variants.
|
|
|
c3928b |
|
|
|
c3928b |
* Wed Oct 13 2004 Jeff Moyer <jmoyer@redhat.com> - 0.3.101-1
|
|
|
c3928b |
- update to 101. Fixes bz 133253 - libaio backwards compatibility severely
|
|
|
c3928b |
broken.
|
|
|
c3928b |
|
|
|
c3928b |
* Tue Sep 14 2004 Jeff Moyer <jmoyer@redhat.com> - 0.3.100-1
|
|
|
c3928b |
- update to 100. Fixes bz 129910. Add pseries and iseries to
|
|
|
c3928b |
exclusivearch.
|
|
|
c3928b |
|
|
|
c3928b |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
c3928b |
- rebuilt
|
|
|
c3928b |
|
|
|
c3928b |
* Tue Mar 30 2004 Jeff Moyer <jmoyer@redhat.com> - 0.3.99-2
|
|
|
c3928b |
- Apparently the 0.3.93 patch was not meant for 0.3.96. Backed it out.
|
|
|
c3928b |
|
|
|
c3928b |
* Tue Mar 30 2004 Jeff Moyer <jmoyer@redhat.com> - 0.3.99-1
|
|
|
c3928b |
- Fix compat calls.
|
|
|
c3928b |
- make library .so.1.0.0 and make symlinks properly.
|
|
|
c3928b |
- Fix header file for inclusion in c++ code.
|
|
|
c3928b |
|
|
|
c3928b |
* Thu Feb 26 2004 Jeff Moyer <jmoyer@redhat.com> 0.3.98-2
|
|
|
c3928b |
- bah. fix version nr in changelog.
|
|
|
c3928b |
|
|
|
c3928b |
* Thu Feb 26 2004 Jeff Moyer <jmoyer@redhat.com> 0.3.98-1
|
|
|
c3928b |
- fix compiler warnings.
|
|
|
c3928b |
|
|
|
c3928b |
* Thu Feb 26 2004 Jeff Moyer <jmoyer@redhat.com> 0.3.97-2
|
|
|
c3928b |
- make srpm was using rpm to do a build. changed that to use rpmbuild if
|
|
|
c3928b |
it exists, and fallback to rpm if it doesn't.
|
|
|
c3928b |
|
|
|
c3928b |
* Tue Feb 24 2004 Jeff Moyer <jmoyer@redhat.com> 0.3.97-1
|
|
|
c3928b |
- Use libc syscall(2) instead of rolling our own calling mechanism. This
|
|
|
c3928b |
change is inspired due to a failure to build with newer gcc, since clobber
|
|
|
c3928b |
lists were wrong.
|
|
|
c3928b |
- Add -fpic to the CFLAGS for all architectures. Should address bz #109457.
|
|
|
c3928b |
- change a #include from <linux/types.h> to <sys/types.h>. Fixes a build
|
|
|
c3928b |
issue on s390.
|
|
|
c3928b |
|
|
|
c3928b |
* Wed Jul 7 2003 Bill Nottingham <notting@redhat.com> 0.3.96-3
|
|
|
c3928b |
- fix paths on lib64 arches
|
|
|
c3928b |
|
|
|
c3928b |
* Wed Jun 18 2003 Michael K. Johnson <johnsonm@redhat.com> 0.3.96-2
|
|
|
c3928b |
- optimization in io_getevents from Arjan van de Ven in 0.3.96-1
|
|
|
c3928b |
- deal with ia64 in 0.3.96-2
|
|
|
c3928b |
|
|
|
c3928b |
* Wed May 28 2003 Michael K. Johnson <johnsonm@redhat.com> 0.3.95-1
|
|
|
c3928b |
- ppc bugfix from Julie DeWandel
|
|
|
c3928b |
|
|
|
c3928b |
* Tue May 20 2003 Michael K. Johnson <johnsonm@redhat.com> 0.3.94-1
|
|
|
c3928b |
- symbol versioning fix from Ulrich Drepper
|
|
|
c3928b |
|
|
|
c3928b |
* Mon Jan 27 2003 Benjamin LaHaise <bcrl@redhat.com>
|
|
|
c3928b |
- bump to 0.3.93-3 for rebuild.
|
|
|
c3928b |
|
|
|
c3928b |
* Mon Dec 16 2002 Benjamin LaHaise <bcrl@redhat.com>
|
|
|
c3928b |
- libaio 0.3.93 test release
|
|
|
c3928b |
- add powerpc support from Gianni Tedesco <gianni@ecsc.co.uk>
|
|
|
c3928b |
- add s/390 support from Arnd Bergmann <arnd@bergmann-dalldorf.de>
|
|
|
c3928b |
|
|
|
c3928b |
* Fri Sep 12 2002 Benjamin LaHaise <bcrl@redhat.com>
|
|
|
c3928b |
- libaio 0.3.92 test release
|
|
|
c3928b |
- build on x86-64
|
|
|
c3928b |
|
|
|
c3928b |
* Thu Sep 12 2002 Benjamin LaHaise <bcrl@redhat.com>
|
|
|
c3928b |
- libaio 0.3.91 test release
|
|
|
c3928b |
- build on ia64
|
|
|
c3928b |
- remove libredhat-kernel from the .spec file
|
|
|
c3928b |
|
|
|
c3928b |
* Thu Sep 5 2002 Benjamin LaHaise <bcrl@redhat.com>
|
|
|
c3928b |
- libaio 0.3.90 test release
|
|
|
c3928b |
|
|
|
c3928b |
* Mon Apr 29 2002 Benjamin LaHaise <bcrl@redhat.com>
|
|
|
c3928b |
- add requires initscripts >= 6.47-1 to get boot time libredhat-kernel
|
|
|
c3928b |
linkage correct.
|
|
|
c3928b |
- typo fix
|
|
|
c3928b |
|
|
|
c3928b |
* Thu Apr 25 2002 Benjamin LaHaise <bcrl@redhat.com>
|
|
|
c3928b |
- make /usr/lib/libredhat-kernel.so point to /lib/libredhat-kernel.so.1.0.0
|
|
|
c3928b |
|
|
|
c3928b |
* Mon Apr 15 2002 Tim Powers <timp@redhat.com>
|
|
|
c3928b |
- make the post scriptlet not use /bin/sh
|
|
|
c3928b |
|
|
|
c3928b |
* Sat Apr 12 2002 Benjamin LaHaise <bcrl@redhat.com>
|
|
|
c3928b |
- add /lib/libredhat-kernel* to %files.
|
|
|
c3928b |
|
|
|
c3928b |
* Fri Apr 12 2002 Benjamin LaHaise <bcrl@redhat.com>
|
|
|
c3928b |
- make the dummy install as /lib/libredhat-kernel.so.1.0.0 so
|
|
|
c3928b |
that ldconfig will link against it if no other is installed.
|
|
|
c3928b |
|
|
|
c3928b |
* Tue Jan 22 2002 Benjamin LaHaise <bcrl@redhat.com>
|
|
|
c3928b |
- add io_getevents
|
|
|
c3928b |
|
|
|
c3928b |
* Tue Jan 22 2002 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
c3928b |
- Make linker happy with /usr/lib symlink for libredhat-kernel.so
|
|
|
c3928b |
|
|
|
c3928b |
* Mon Jan 21 2002 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
c3928b |
- Added stub library
|
|
|
c3928b |
|
|
|
c3928b |
* Sun Jan 20 2002 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
c3928b |
- Initial packaging
|