Blame SPECS/libaio.spec

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