libaio-vl.spec 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. Summary: Linux-native asynchronous I/O access library
  2. Name: libaio
  3. Version: 0.3.106
  4. Release: 3%{?_dist_release}
  5. License: LGPLv2+
  6. Group: System Environment/Libraries
  7. Source: %{name}-%{version}.tar.gz
  8. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  9. ExclusiveArch: %{ix86} x86_64 ia64 s390 s390x ppc ppc64 ppc64pseries ppc64iseries alpha alphaev6
  10. %description
  11. The Linux-native asynchronous I/O facility ("async I/O", or "aio") has a
  12. richer API and capability set than the simple POSIX async I/O facility.
  13. This library, libaio, provides the Linux-native API for async I/O.
  14. The POSIX async I/O facility requires this library in order to provide
  15. kernel-accelerated async I/O capabilities, as do applications which
  16. require the Linux-native async I/O API.
  17. %package devel
  18. Summary: Development files for Linux-native asynchronous I/O access
  19. Group: Development/Libraries
  20. Requires: libaio = %{version}-%{release}
  21. %description devel
  22. This package provides header files to include and libraries to link with
  23. for the Linux-native asynchronous I/O facility ("async I/O", or "aio").
  24. %prep
  25. %setup -q -a 0
  26. mv %{name}-%{version} compat-%{name}-%{version}
  27. %build
  28. # A library with a soname of 1.0.0 was inadvertantly released. This
  29. # build process builds a version of the library with the broken soname in
  30. # the compat-libaio-0.3.103 directory, and then builds the library again
  31. # with the correct soname.
  32. cd compat-%{name}-%{version}
  33. make soname='libaio.so.1.0.0' libname='libaio.so.1.0.0'
  34. cd ..
  35. make
  36. %install
  37. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  38. cd compat-%{name}-%{version}
  39. install -D -m 755 src/libaio.so.1.0.0 \
  40. $RPM_BUILD_ROOT/%{_libdir}/libaio.so.1.0.0
  41. cd ..
  42. make install prefix=$RPM_BUILD_ROOT/usr \
  43. libdir=$RPM_BUILD_ROOT/%{_libdir} \
  44. root=$RPM_BUILD_ROOT
  45. %clean
  46. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  47. %post -p /sbin/ldconfig
  48. %postun -p /sbin/ldconfig
  49. %files
  50. %defattr(-,root,root)
  51. %attr(0755,root,root) %{_libdir}/libaio.so.*
  52. %doc COPYING TODO
  53. %files devel
  54. %defattr(-,root,root)
  55. %attr(0644,root,root) %{_includedir}/*
  56. %attr(0755,root,root) %{_libdir}/libaio.so
  57. %attr(0644,root,root) %{_libdir}/libaio.a
  58. %changelog
  59. * Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.106-3
  60. - rebuilt with current VineSeed
  61. * Sat Apr 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.106-2
  62. - changed Group to Development/Libraries
  63. * Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 0.3.106-1vl5
  64. - applied new versioning policy, spec in utf-8
  65. * Mon Nov 12 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.106-0vl1
  66. - initial build for Vine Linux
  67. * Mon Jul 17 2006 Jeff Moyer <jmoyer@redhat.com> - 0.3.106-3.2
  68. - rebuild
  69. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.3.106-3.1
  70. - rebuild
  71. * Wed Jun 7 2006 Jeremy Katz <katzj@redhat.com> - 0.3.106-3
  72. - rebuild for -devel deps
  73. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.3.106-2.2
  74. - bump again for double-long bug on ppc(64)
  75. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.3.106-2.1
  76. - rebuilt for new gcc4.1 snapshot and glibc changes
  77. * Wed Jan 04 2006 Jeff Moyer <jmoyer@redhat.com> - 0.3.106-2
  78. - Update to the latest sources, which contain the following change:
  79. Add a .proc directive for the ia64_aio_raw_syscall macro. This sounds a lot
  80. like the previous entry, but that one fixed the __ia64_raw_syscall macro,
  81. located in syscall-ia64.h. This macro is in raw_syscall.c, which pretty much
  82. only exists for ia64. This bug prevented the package from building with
  83. newer version of gcc.
  84. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  85. - rebuilt
  86. * Fri Apr 1 2005 Jeff Moyer <jmoyer@redhat.com> - 0.3.104-2
  87. - Add Alpha architecture support. (Sergey Tikhonov <tsv@solvo.ru>)
  88. * Wed Mar 16 2005 Jeff Moyer <jmoyer@redhat.com> - 0.3.103-6
  89. - Rebuild with gcc 4.
  90. * Mon Feb 14 2005 Jeff Moyer <jmoyer@redhat.com> - 0.3.103-4
  91. - Build the library twice. Once with the old SONAME and once with the new
  92. one. This fixes the wrong SONAME problem by keeping a library around with
  93. the wrong name (libaio.so.1.0.0) and generating a new one (libaio.so.1.0.1).
  94. * Thu Oct 14 2004 Jeff Moyer <jmoyer@redhat.com> - 0.3.102-1
  95. - update to 102. Fixes build errors on s390:
  96. - S390 asm had a bug; I forgot to update the clobber list. Lucky for me,
  97. newer compilers complain about such things.
  98. - Also update the s390 asm to look more like the new kernel variants.
  99. * Wed Oct 13 2004 Jeff Moyer <jmoyer@redhat.com> - 0.3.101-1
  100. - update to 101. Fixes bz 133253 - libaio backwards compatibility severely
  101. broken.
  102. * Tue Sep 14 2004 Jeff Moyer <jmoyer@redhat.com> - 0.3.100-1
  103. - update to 100. Fixes bz 129910. Add pseries and iseries to
  104. exclusivearch.
  105. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  106. - rebuilt
  107. * Tue Mar 30 2004 Jeff Moyer <jmoyer@redhat.com> - 0.3.99-2
  108. - Apparently the 0.3.93 patch was not meant for 0.3.96. Backed it out.
  109. * Tue Mar 30 2004 Jeff Moyer <jmoyer@redhat.com> - 0.3.99-1
  110. - Fix compat calls.
  111. - make library .so.1.0.0 and make symlinks properly.
  112. - Fix header file for inclusion in c++ code.
  113. * Thu Feb 26 2004 Jeff Moyer <jmoyer@redhat.com> 0.3.98-2
  114. - bah. fix version nr in changelog.
  115. * Thu Feb 26 2004 Jeff Moyer <jmoyer@redhat.com> 0.3.98-1
  116. - fix compiler warnings.
  117. * Thu Feb 26 2004 Jeff Moyer <jmoyer@redhat.com> 0.3.97-2
  118. - make srpm was using rpm to do a build. changed that to use rpmbuild if
  119. it exists, and fallback to rpm if it doesn't.
  120. * Tue Feb 24 2004 Jeff Moyer <jmoyer@redhat.com> 0.3.97-1
  121. - Use libc syscall(2) instead of rolling our own calling mechanism. This
  122. change is inspired due to a failure to build with newer gcc, since clobber
  123. lists were wrong.
  124. - Add -fpic to the CFLAGS for all architectures. Should address bz #109457.
  125. - change a #include from <linux/types.h> to <sys/types.h>. Fixes a build
  126. issue on s390.
  127. * Wed Jul 7 2003 Bill Nottingham <notting@redhat.com> 0.3.96-3
  128. - fix paths on lib64 arches
  129. * Wed Jun 18 2003 Michael K. Johnson <johnsonm@redhat.com> 0.3.96-2
  130. - optimization in io_getevents from Arjan van de Ven in 0.3.96-1
  131. - deal with ia64 in 0.3.96-2
  132. * Wed May 28 2003 Michael K. Johnson <johnsonm@redhat.com> 0.3.95-1
  133. - ppc bugfix from Julie DeWandel
  134. * Tue May 20 2003 Michael K. Johnson <johnsonm@redhat.com> 0.3.94-1
  135. - symbol versioning fix from Ulrich Drepper
  136. * Mon Jan 27 2003 Benjamin LaHaise <bcrl@redhat.com>
  137. - bump to 0.3.93-3 for rebuild.
  138. * Mon Dec 16 2002 Benjamin LaHaise <bcrl@redhat.com>
  139. - libaio 0.3.93 test release
  140. - add powerpc support from Gianni Tedesco <gianni@ecsc.co.uk>
  141. - add s/390 support from Arnd Bergmann <arnd@bergmann-dalldorf.de>
  142. * Fri Sep 12 2002 Benjamin LaHaise <bcrl@redhat.com>
  143. - libaio 0.3.92 test release
  144. - build on x86-64
  145. * Thu Sep 12 2002 Benjamin LaHaise <bcrl@redhat.com>
  146. - libaio 0.3.91 test release
  147. - build on ia64
  148. - remove libredhat-kernel from the .spec file
  149. * Thu Sep 5 2002 Benjamin LaHaise <bcrl@redhat.com>
  150. - libaio 0.3.90 test release
  151. * Mon Apr 29 2002 Benjamin LaHaise <bcrl@redhat.com>
  152. - add requires initscripts >= 6.47-1 to get boot time libredhat-kernel
  153. linkage correct.
  154. - typo fix
  155. * Thu Apr 25 2002 Benjamin LaHaise <bcrl@redhat.com>
  156. - make /usr/lib/libredhat-kernel.so point to /lib/libredhat-kernel.so.1.0.0
  157. * Mon Apr 15 2002 Tim Powers <timp@redhat.com>
  158. - make the post scriptlet not use /bin/sh
  159. * Sat Apr 12 2002 Benjamin LaHaise <bcrl@redhat.com>
  160. - add /lib/libredhat-kernel* to %files.
  161. * Fri Apr 12 2002 Benjamin LaHaise <bcrl@redhat.com>
  162. - make the dummy install as /lib/libredhat-kernel.so.1.0.0 so
  163. that ldconfig will link against it if no other is installed.
  164. * Tue Jan 22 2002 Benjamin LaHaise <bcrl@redhat.com>
  165. - add io_getevents
  166. * Tue Jan 22 2002 Michael K. Johnson <johnsonm@redhat.com>
  167. - Make linker happy with /usr/lib symlink for libredhat-kernel.so
  168. * Mon Jan 21 2002 Michael K. Johnson <johnsonm@redhat.com>
  169. - Added stub library
  170. * Sun Jan 20 2002 Michael K. Johnson <johnsonm@redhat.com>
  171. - Initial packaging