diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-12-20 15:13:45 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-12-20 15:30:46 +0900 |
commit | d2a3e84821deffc8dff00876ff83adb60d7a03ef (patch) | |
tree | 4bb39038954bf0b50191b05f492cc221e60e3586 | |
parent | 04f1658bf12f0c5ec9387469f17e1301cb1e6c33 (diff) | |
download | libaio-accepted/tizen_7.0_unified.tar.gz libaio-accepted/tizen_7.0_unified.tar.bz2 libaio-accepted/tizen_7.0_unified.zip |
Bump to libaio 0.3.112tizen_7.0_m2_releasesubmit/tizen/20211221.045457accepted/tizen/unified/20211222.230208accepted/tizen/7.0/unified/hotfix/20221116.110936accepted/tizen/7.0/unified/20221110.060108tizen_7.0_hotfixtizen_7.0sandbox/dh0128.kwak/libaio-0.3.112-20211220sandbox/backup/libaio_0.3.112_20221228accepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unified
Change-Id: I7017baea7af4ef146a491d5a704e9756c50b86bc
-rw-r--r-- | libaio.spec | 221 | ||||
-rw-r--r-- | packaging/baselibs.conf | 4 | ||||
-rw-r--r-- | packaging/libaio.manifest | 5 | ||||
-rw-r--r-- | packaging/libaio.spec | 57 |
4 files changed, 66 insertions, 221 deletions
diff --git a/libaio.spec b/libaio.spec deleted file mode 100644 index d1fa2cc..0000000 --- a/libaio.spec +++ /dev/null @@ -1,221 +0,0 @@ -Name: libaio -Version: 0.3.112 -Release: 1 -Summary: Linux-native asynchronous I/O access library -License: LGPL -Group: System Environment/Libraries -Source: %{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-root -# Fix ExclusiveArch as we implement this functionality on more architectures -ExclusiveArch: i386 x86_64 ia64 s390 s390x ppc ppc64 ppc64pseries ppc64iseries alpha alphaev6 %{arm} - -%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 -Provides: libaio.so.1 - -%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 - -%build -make - -%install -[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT - -make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr libdir=/%{_libdir} - -%clean -[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - -%files -%defattr(-,root,root) -%attr(0755,root,root) %{_libdir}/libaio.so.* -%doc COPYING TODO - -%files devel -%defattr(-,root,root) -%attr(0644,root,root) %{_includedir}/* -%attr(0755,root,root) %{_libdir}/libaio.so -%attr(0644,root,root) %{_libdir}/libaio.a - -%changelog -* Mon Oct 22 2018 Jeff Moyer <jmoyer@redhat.com> - 0.3.112-1 -- Add async poll support (Christoph Hellwig) -- Use canonical DESTDIR= environment variable (Thomas Petazzoni) -- Add ability to disable building the shared library (Thomas Petazzoni) - -* Tue Mar 6 2018 Jeff Moyer <jmoyer@redhat.com> - 0.3.111-1 -- Add two new tests to the test harness (Jeff Moyer) -- Generic arch dectection for padding defines (Nathan Rossi) -- harness: don't hardcode page size (Jeff Moyer) -- harness: add a test case for mremap (Jeff Moyer) -- libaio: harness: fix build errors due to attribute warn_unused_result (Mauricio Faria de Oliveira) -- libaio: harness: fix build error due to linker search order (Mauricio Faria de Oliveira) -- harness: add test for allocating aio-max-nr ioctxs (Jeff Moyer) -- Add support for preadv2/pwritev2 (Jeff Moyer) -- syscall-generic: don't overwrite errno (Jeff Moyer) -- syscall: get rid of custom syscall implementation (Jeff Moyer) -- Change syscall-arm64.h to syscall-generic.h (Icenowy Zheng) -- Use generic syscall number schema for RISC-V (Icenowy Zheng) -- Add endian detection (LE) and bit width detection (32/64) for RISC-V (Icenowy Zheng) -- Makefile: convert tag and archive targets to git (Jeff Moyer) - -* Fri Jul 5 2013 Jeff Moyer <jmoyer@redhat.com> - 0.3.110-1 -- Add suport for sparc and arm64 (Mike Frysinger and Jeff Moyer) -- Add generic syscall fallbacks (Mike Frysinger) -- Update man pages (Jeff Moyer and Cyril Hrubis) -- Build system fixes (Mike Frysinger) - -* Tue Jun 9 2009 Jeff Moyer <jmoyer@redhat.com> - 0.3.108-1 -- add ARM architecture support (grabbed from Debian arches tree) -- replace check of __i386__ with __LP64__ in test harness (Jeff Moyer) -- change the .spec's copyright tag to license - -* Wed Jan 9 2008 Jeff Moyer <jmoyer@redhat.com> - 0.3.107-1 -- Fix the test harness (Rusty Russell) -- Add eventfd support (Rusty Russell) - -* Tue Jan 3 2006 Jeff Moyer <jmoyer@redhat.com> - 0.3.106-1 -- Add a .proc directive for the ia64_aio_raw_syscall macro. This sounds a lot - like the previous entry, but that one fixed the __ia64_raw_syscall macro, - located in syscall-ia64.h. This macro is in raw_syscall.c, which pretty much - only exists for ia64. This bug prevented the package from building with - newer version of gcc. - -* Mon Aug 1 2005 Jeff Moyer <jmoyer@redhat.com> - 0.3.105-1 -- Add a .proc directive for the ia64 raw syscall macro. - -* Fri Apr 1 2005 Jeff Moyer <jmoyer@redhat.com> - 0.3.104-1 -- Add Alpha architecture support. (Sergey Tikhonov <tsv@solvo.ru>) - -* Tue Jan 25 2005 Jeff Moyer <jmoyer@redhat.com> - 0.3.103-1 -- Fix SONAME breakage. In changing file names around, I also changed the - SONAME, which is a no no. - -* Thu Oct 14 2004 Jeff Moyer <jmoyer@redhat.com> - 0.3.102-1 -- S390 asm had a bug; I forgot to update the clobber list. Lucky for me, - newer compilers complain about such things. -- Also update the s390 asm to look more like the new kernel variants. - -* Wed Oct 13 2004 Jeff Moyer <jmoyer@redhat.com> - 0.3.101-1 -- Revert syscall return values to be -ERRNO. This was an inadvertant bug - introduced when clobber lists changed. -- add ppc64pseries and ppc64iseries to exclusivearch - -* Tue Sep 14 2004 Jeff Moyer <jmoyer@redhat.com> - 0.3.100-1 -- Switch around the tests for _PPC_ and _powerpc64_ so that the ppc64 - platforms get the right padding. - -* Wed Jul 14 2004 Jeff Moyer <jmoyer@redhat.com> - 0.3.99-4 -- Ok, there was a race in moving the cvs module. Someone rebuild from - the old cvs into fc3. *sigh* bumping rev. - -* Wed Jul 14 2004 Jeff Moyer <jmoyer@redhat.com> - 0.3.99-3 -- Actually provide libaio.so.1. - -* Tue Mar 30 2004 Jeff Moyer <jmoyer@redhat.com> - 0.3.99-2 -- Apparently the 0.3.93 patch was not meant for 0.3.96. Backed it out. - -* Tue Mar 30 2004 Jeff Moyer <jmoyer@redhat.com> - 0.3.99-1 -- Fix compat calls. -- make library .so.1.0.0 and make symlinks properly. -- Fix header file for inclusion in c++ code. - -* Thu Feb 26 2004 Jeff Moyer <jmoyer@redhat.com> 0.3.98-2 -- bah. fix version nr in changelog. - -* Thu Feb 26 2004 Jeff Moyer <jmoyer@redhat.com> 0.3.98-1 -- fix compiler warnings. - -* Thu Feb 26 2004 Jeff Moyer <jmoyer@redhat.com> 0.3.97-2 -- make srpm was using rpm to do a build. changed that to use rpmbuild if - it exists, and fallback to rpm if it doesn't. - -* Tue Feb 24 2004 Jeff Moyer <jmoyer@redhat.com> 0.3.97-1 -- Use libc syscall(2) instead of rolling our own calling mechanism. This - change is inspired due to a failure to build with newer gcc, since clobber - lists were wrong. -- Add -fpic to the CFLAGS for all architectures. Should address bz #109457. -- change a #include from <linux/types.h> to <sys/types.h>. Fixes a build - issue on s390. - -* Wed Jul 7 2003 Bill Nottingham <notting@redhat.com> 0.3.96-3 -- fix paths on lib64 arches - -* Wed Jun 18 2003 Michael K. Johnson <johnsonm@redhat.com> 0.3.96-2 -- optimization in io_getevents from Arjan van de Ven in 0.3.96-1 -- deal with ia64 in 0.3.96-2 - -* Wed May 28 2003 Michael K. Johnson <johnsonm@redhat.com> 0.3.95-1 -- ppc bugfix from Julie DeWandel - -* Tue May 20 2003 Michael K. Johnson <johnsonm@redhat.com> 0.3.94-1 -- symbol versioning fix from Ulrich Drepper - -* Mon Jan 27 2003 Benjamin LaHaise <bcrl@redhat.com> -- bump to 0.3.93-3 for rebuild. - -* Mon Dec 16 2002 Benjamin LaHaise <bcrl@redhat.com> -- libaio 0.3.93 test release -- add powerpc support from Gianni Tedesco <gianni@ecsc.co.uk> -- add s/390 support from Arnd Bergmann <arnd@bergmann-dalldorf.de> - -* Fri Sep 12 2002 Benjamin LaHaise <bcrl@redhat.com> -- libaio 0.3.92 test release -- build on x86-64 - -* Thu Sep 12 2002 Benjamin LaHaise <bcrl@redhat.com> -- libaio 0.3.91 test release -- build on ia64 -- remove libredhat-kernel from the .spec file - -* Thu Sep 5 2002 Benjamin LaHaise <bcrl@redhat.com> -- libaio 0.3.90 test release - -* Mon Apr 29 2002 Benjamin LaHaise <bcrl@redhat.com> -- add requires initscripts >= 6.47-1 to get boot time libredhat-kernel - linkage correct. -- typo fix - -* Thu Apr 25 2002 Benjamin LaHaise <bcrl@redhat.com> -- make /usr/lib/libredhat-kernel.so point to /lib/libredhat-kernel.so.1.0.0 - -* Mon Apr 15 2002 Tim Powers <timp@redhat.com> -- make the post scriptlet not use /bin/sh - -* Sat Apr 12 2002 Benjamin LaHaise <bcrl@redhat.com> -- add /lib/libredhat-kernel* to %files. - -* Fri Apr 12 2002 Benjamin LaHaise <bcrl@redhat.com> -- make the dummy install as /lib/libredhat-kernel.so.1.0.0 so - that ldconfig will link against it if no other is installed. - -* Tue Jan 22 2002 Benjamin LaHaise <bcrl@redhat.com> -- add io_getevents - -* Tue Jan 22 2002 Michael K. Johnson <johnsonm@redhat.com> -- Make linker happy with /usr/lib symlink for libredhat-kernel.so - -* Mon Jan 21 2002 Michael K. Johnson <johnsonm@redhat.com> -- Added stub library - -* Sun Jan 20 2002 Michael K. Johnson <johnsonm@redhat.com> -- Initial packaging diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf new file mode 100644 index 0000000..6c6e9b6 --- /dev/null +++ b/packaging/baselibs.conf @@ -0,0 +1,4 @@ +libaio +libaio-devel + requires "libaio-<targettype> = <version>" + diff --git a/packaging/libaio.manifest b/packaging/libaio.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/libaio.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/libaio.spec b/packaging/libaio.spec new file mode 100644 index 0000000..3706770 --- /dev/null +++ b/packaging/libaio.spec @@ -0,0 +1,57 @@ +Name: libaio +Version: 0.3.112 +Release: 0 +Summary: Linux-Native Asynchronous I/O Access Library +License: LGPL-2.1+ +Group: Development/Libraries +Url: http://kernel.org/pub/linux/libs/aio/ +Source: libaio-%{version}.tar.bz2 +Source2: baselibs.conf +Source1001: libaio.manifest + +%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 +kernel-accelerated async I/O capabilities, as do applications that +require the Linux-native async I/O API. + + +%package devel +Summary: Development Files for Linux-native Asynchronous I/O Access +Group: Development/Libraries/C and C++ +Requires: %name = %version, glibc-devel + +%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 +cp %{SOURCE1001} . + +%build +#diable asan check option. +%{?asan:/usr/bin/gcc-unforce-options} +%__make %{?_smp_mflags} CC="%__cc" OPTFLAGS="$RPM_OPT_FLAGS" + +%install +%__make install prefix=%{buildroot}/usr libdir=%{buildroot}/%{_libdir} + +rm -f "%buildroot/%_libdir"/*.a + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%manifest %{name}.manifest +%license COPYING +%_libdir/libaio.so.* + +%files devel +%manifest %{name}.manifest +/usr/include/libaio.h +%_libdir/libaio.so |