2007-01-16 00:21:21 +01:00
|
|
|
#
|
|
|
|
# spec file for package libaio (Version 0.3.104)
|
|
|
|
#
|
2008-04-10 14:22:11 +02:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:21:21 +01:00
|
|
|
#
|
2008-12-05 15:37:12 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-08-02 22:54:08 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-16 00:21:21 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-10 14:22:11 +02:00
|
|
|
|
2007-08-02 22:54:08 +02:00
|
|
|
Name: libaio
|
2008-04-10 14:22:11 +02:00
|
|
|
License: LGPL v2.1 or later
|
2007-08-02 22:54:08 +02:00
|
|
|
Group: System/Libraries
|
2007-10-03 01:03:31 +02:00
|
|
|
AutoReqProv: on
|
2008-12-05 15:37:12 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: libaio-64bit
|
|
|
|
%endif
|
|
|
|
%ifarch %ix86 ppc
|
|
|
|
Obsoletes: libaio-32bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-08-02 22:54:08 +02:00
|
|
|
Version: 0.3.104
|
2008-12-05 15:37:12 +01:00
|
|
|
Release: 139
|
2007-08-02 22:54:08 +02:00
|
|
|
Summary: Linux-Native Asynchronous I/O Access Library
|
|
|
|
Source: libaio-%{version}.tar.bz2
|
|
|
|
Patch1: libaio-%{version}.diff
|
|
|
|
Patch2: libaio-optflags.diff
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-16 00:21:21 +01:00
|
|
|
|
|
|
|
%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 provides the Linux-native API for async I/O. The
|
|
|
|
POSIX async I/O facility requires this library to provide
|
2007-08-02 22:54:08 +02:00
|
|
|
kernel-accelerated async I/O capabilities, as do applications that
|
2007-01-16 00:21:21 +01:00
|
|
|
require the Linux-native async I/O API.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
2008-04-10 14:22:11 +02:00
|
|
|
License: LGPL v2.1 or later
|
2007-08-02 22:54:08 +02:00
|
|
|
Summary: Development Files for Linux-native Asynchronous I/O Access
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libaio = %{version}
|
2008-12-05 15:37:12 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: libaio-devel-64bit
|
|
|
|
%endif
|
|
|
|
%ifarch %ix86 ppc
|
|
|
|
Obsoletes: libaio-devel-32bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-01-16 00:21:21 +01:00
|
|
|
|
|
|
|
%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
|
2007-08-02 22:54:08 +02:00
|
|
|
%patch1
|
|
|
|
%patch2 -p1
|
2007-01-16 00:21:21 +01:00
|
|
|
|
|
|
|
%build
|
2007-08-02 22:54:08 +02:00
|
|
|
make OPTFLAGS="$RPM_OPT_FLAGS"
|
2007-01-16 00:21:21 +01:00
|
|
|
|
|
|
|
%install
|
2007-08-02 22:54:08 +02:00
|
|
|
make install prefix=%{buildroot}/usr libdir=%{buildroot}/%{_lib}
|
|
|
|
mkdir -p %{buildroot}%{_libdir}
|
|
|
|
mv %{buildroot}/%{_lib}/libaio.a %{buildroot}%{_libdir}/libaio.a
|
2007-10-03 01:03:31 +02:00
|
|
|
rm %{buildroot}/%{_lib}/libaio.so
|
|
|
|
ln -s ../../%{_lib}/libaio.so.1 %{buildroot}%{_libdir}/libaio.so
|
2007-01-16 00:21:21 +01:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(644,root,root,755)
|
|
|
|
%doc COPYING TODO
|
2007-08-02 22:54:08 +02:00
|
|
|
%attr(0755,root,root) /%{_lib}/libaio.*
|
2007-01-16 00:21:21 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(644,root,root,755)
|
|
|
|
/usr/include/libaio.h
|
|
|
|
%_libdir/libaio.a
|
|
|
|
%_libdir/libaio.so
|
2008-04-10 14:22:11 +02:00
|
|
|
|
2007-08-02 22:54:08 +02:00
|
|
|
%changelog
|
2008-12-05 15:37:12 +01:00
|
|
|
* Thu Dec 04 2008 olh@suse.de
|
|
|
|
- obsolete old -XXbit packages (bnc#437293)
|
2008-04-10 14:22:11 +02:00
|
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
|
|
- added baselibs.conf file to build xxbit packages
|
|
|
|
for multilib support
|
|
|
|
* Thu Sep 27 2007 hare@suse.de
|
2007-10-03 01:03:31 +02:00
|
|
|
- Fix dangling symlink (#307063)
|
2008-04-10 14:22:11 +02:00
|
|
|
* Thu Aug 02 2007 hare@suse.de
|
2007-08-02 22:54:08 +02:00
|
|
|
- Use RPM_OPT_FLAGS
|
|
|
|
- Fix installation directories
|
2008-04-10 14:22:11 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:21:21 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-04-10 14:22:11 +02:00
|
|
|
* Thu May 05 2005 schwab@suse.de
|
2007-01-16 00:21:21 +01:00
|
|
|
- Fix ia64 assembler.
|
2008-04-10 14:22:11 +02:00
|
|
|
* Wed Apr 27 2005 kukuk@suse.de
|
2007-01-16 00:21:21 +01:00
|
|
|
- Update to version 0.3.104
|
2008-04-10 14:22:11 +02:00
|
|
|
* Wed Dec 01 2004 kukuk@suse.de
|
2007-01-16 00:21:21 +01:00
|
|
|
- Update to version 0.3.102 [#44374]
|
2008-04-10 14:22:11 +02:00
|
|
|
* Tue Apr 20 2004 meissner@suse.de
|
2007-01-16 00:21:21 +01:00
|
|
|
- fixed ppc64 alignment problems. [#38801/LTC#7503]
|
2008-04-10 14:22:11 +02:00
|
|
|
* Fri Mar 12 2004 kukuk@suse.de
|
2007-01-16 00:21:21 +01:00
|
|
|
- Update to 0.3.98 [Bug #35266]
|
2008-04-10 14:22:11 +02:00
|
|
|
* Tue Mar 02 2004 ro@suse.de
|
2007-01-16 00:21:21 +01:00
|
|
|
- use -fPIC for shared objects on ppc
|
2008-04-10 14:22:11 +02:00
|
|
|
* Sun Jan 11 2004 adrian@suse.de
|
2007-01-16 00:21:21 +01:00
|
|
|
- add %%defattr and %%run_ldconfig
|
2008-04-10 14:22:11 +02:00
|
|
|
* Wed Oct 01 2003 schwab@suse.de
|
2007-01-16 00:21:21 +01:00
|
|
|
- Fix for ia64.
|
2008-04-10 14:22:11 +02:00
|
|
|
* Wed Apr 23 2003 coolo@suse.de
|
2007-01-16 00:21:21 +01:00
|
|
|
- fix build for lib64
|
2008-04-10 14:22:11 +02:00
|
|
|
* Wed Apr 23 2003 coolo@suse.de
|
2007-01-16 00:21:21 +01:00
|
|
|
- use BuildRoot
|
2008-04-10 14:22:11 +02:00
|
|
|
* Fri Apr 11 2003 ro@suse.de
|
2007-01-16 00:21:21 +01:00
|
|
|
- fix header to be includable with glibc (#26033)
|
2008-04-10 14:22:11 +02:00
|
|
|
* Thu Apr 03 2003 kukuk@suse.de
|
2007-01-16 00:21:21 +01:00
|
|
|
- Add missing "const" to libaio.h [#26030]
|
2008-04-10 14:22:11 +02:00
|
|
|
* Tue Oct 01 2002 meissner@suse.de
|
2007-01-16 00:21:21 +01:00
|
|
|
- Fixed __syscall_return for ppc.
|
2008-04-10 14:22:11 +02:00
|
|
|
* Fri Sep 20 2002 fehr@suse.de
|
2007-01-16 00:21:21 +01:00
|
|
|
- Add syscall defines for x86_64
|
|
|
|
- add Andreas fix for testsuite main program to compile on x86_64
|
|
|
|
- add another fix to make testsuite build again on ia64
|
2008-04-10 14:22:11 +02:00
|
|
|
* Thu Sep 19 2002 schwab@suse.de
|
2007-01-16 00:21:21 +01:00
|
|
|
- Add missing bits for ia64.
|
2008-04-10 14:22:11 +02:00
|
|
|
* Tue Sep 17 2002 ro@suse.de
|
2007-01-16 00:21:21 +01:00
|
|
|
- removed bogus self-provides
|
2008-04-10 14:22:11 +02:00
|
|
|
* Wed Sep 04 2002 fehr@suse.de
|
2007-01-16 00:21:21 +01:00
|
|
|
- make package from libaio-0.3.15-2.5
|