|
|
f44050 |
Name: liburing
|
|
|
bfffda |
Version: 2.0
|
|
|
bfffda |
Release: 1%{?dist}
|
|
|
f44050 |
Summary: Linux-native io_uring I/O access library
|
|
|
bfffda |
License: (GPLv2 with exceptions and LGPLv2+) or MIT
|
|
|
bfffda |
Source0: https://brick.kernel.dk/snaps/%{name}-%{version}.tar.gz
|
|
|
bfffda |
URL: https://git.kernel.dk/cgit/liburing/
|
|
|
f44050 |
BuildRequires: gcc
|
|
|
bfffda |
BuildRequires: make
|
|
|
bfffda |
Patch1: 0001-spec-bump-version-to-2.0.patch
|
|
|
bfffda |
Patch2: 0002-spec-add-explicit-build-dependency-on-make.patch
|
|
|
bfffda |
Patch3: 0003-test-get-rid-of-x86_64-isms-in-the-test-code.patch
|
|
|
bfffda |
Patch4: 0004-examples-ucontext-cp.c-cope-with-variable-SIGSTKSZ.patch
|
|
|
f44050 |
|
|
|
f44050 |
%description
|
|
|
f44050 |
Provides native async IO for the Linux kernel, in a fast and efficient
|
|
|
f44050 |
manner, for both buffered and O_DIRECT.
|
|
|
f44050 |
|
|
|
f44050 |
%package devel
|
|
|
f44050 |
Summary: Development files for Linux-native io_uring I/O access library
|
|
|
bfffda |
Requires: %{name}%{_isa} = %{version}-%{release}
|
|
|
f44050 |
Requires: pkgconfig
|
|
|
f44050 |
|
|
|
f44050 |
%description devel
|
|
|
f44050 |
This package provides header files to include and libraries to link with
|
|
|
f44050 |
for the Linux-native io_uring.
|
|
|
f44050 |
|
|
|
f44050 |
%prep
|
|
|
f44050 |
%autosetup -p1
|
|
|
f44050 |
|
|
|
f44050 |
%build
|
|
|
bfffda |
%set_build_flags
|
|
|
804243 |
./configure --prefix=%{_prefix} --libdir=/%{_libdir} --libdevdir=/%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir}
|
|
|
f44050 |
|
|
|
bfffda |
%make_build
|
|
|
f44050 |
|
|
|
f44050 |
%install
|
|
|
f44050 |
%make_install
|
|
|
f44050 |
|
|
|
f44050 |
%files
|
|
|
f44050 |
%attr(0755,root,root) %{_libdir}/liburing.so.*
|
|
|
bfffda |
%license COPYING
|
|
|
f44050 |
|
|
|
f44050 |
%files devel
|
|
|
f44050 |
%{_includedir}/liburing/
|
|
|
f44050 |
%{_includedir}/liburing.h
|
|
|
f44050 |
%{_libdir}/liburing.so
|
|
|
bfffda |
%exclude %{_libdir}/liburing.a
|
|
|
f44050 |
%{_libdir}/pkgconfig/*
|
|
|
f44050 |
%{_mandir}/man2/*
|
|
|
bfffda |
%{_mandir}/man3/*
|
|
|
bfffda |
%{_mandir}/man7/*
|
|
|
f44050 |
|
|
|
f44050 |
%changelog
|
|
|
bfffda |
* Thu Jul 22 2021 Kaleb S. KEITHLEY
|
|
|
bfffda |
- Initial build for storage9s-gluster-9-*
|
|
|
804243 |
|
|
|
bfffda |
* Tue Apr 13 2021 Stefan Hajnoczi <stefanha@redhat.com> - 2.0-1
|
|
|
bfffda |
- Update to liburing 2.0. This release is source-compatible with 0.7 but
|
|
|
bfffda |
applications must be recompiled since <liburing.h> struct sizes have changed.
|
|
|
bfffda |
- Add man3 and man7 documentation
|
|
|
804243 |
|
|
|
bfffda |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-4
|
|
|
bfffda |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
804243 |
|
|
|
bfffda |
* Mon Oct 19 2020 Davide Cavalca <dcavalca@fb.com> - 0.7-3
|
|
|
bfffda |
- Drop exclude for armv7hl as it's no longer necessary
|
|
|
bfffda |
|
|
|
bfffda |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-2
|
|
|
bfffda |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
bfffda |
|
|
|
bfffda |
* Tue Jul 21 2020 Stefan Hajnoczi <stefanha@redhat.com> - 0.7-1
|
|
|
bfffda |
- Add io_uring_cq_eventfd_toggle() helper for new IORING_CQ_EVENTFD_DISABLED flag
|
|
|
bfffda |
- Add IORING_OP_TEE
|
|
|
bfffda |
- Documentation fixes and improvements
|
|
|
bfffda |
|
|
|
bfffda |
* Thu May 7 2020 Stefan Hajnoczi <stefanha@redhat.com> - 0.6-1
|
|
|
bfffda |
- add io_uring_prep_splice()
|
|
|
bfffda |
- add io_uring_prep_provide_buffers()
|
|
|
bfffda |
- add io_uring_prep_remove_buffers()
|
|
|
bfffda |
- add io_uring_register_eventfd_async()
|
|
|
bfffda |
- reinstate io_uring_unregister_eventfd() (it was accidentally removed in 0.4)
|
|
|
bfffda |
|
|
|
bfffda |
* Thu Mar 19 2020 Stefan Hajnoczi <stefanha@redhat.com> - 0.5-1
|
|
|
bfffda |
- Update license to GPL-2.0 OR MIT
|
|
|
bfffda |
- Add io_uring_prep_epoll_ctl()
|
|
|
bfffda |
- Add io_uring_get_probe(), io_uring_get_probe_ring()
|
|
|
bfffda |
- Add io_uring_register_probe()
|
|
|
bfffda |
- Add io_uring_{register,unregister}_personality()
|
|
|
bfffda |
- Add io_uring_prep_{recv,send}()
|
|
|
bfffda |
- Add io_uring_prep_openat2()
|
|
|
bfffda |
- Add io_uring_ring_dontfork()
|
|
|
bfffda |
- Add io_uring_prep_read() and io_uring_prep_write()
|
|
|
bfffda |
- Documentation fixes and improvements
|
|
|
bfffda |
|
|
|
bfffda |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-2
|
|
|
bfffda |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
bfffda |
|
|
|
bfffda |
* Tue Jan 7 2020 Stefan Hajnoczi <stefanha@redhat.com> - 0.3-1
|
|
|
bfffda |
- Add IORING_OP_STATX
|
|
|
bfffda |
- Add IORING_OP_OPENAT/IORING_OP_CLOSE helpers
|
|
|
bfffda |
- Add prep helpers for IORING_OP_FILES_UPDATE and IORING_OP_FALLOCATE
|
|
|
bfffda |
- Add io_uring_prep_connect() helper
|
|
|
bfffda |
- Add io_uring_wait_cqe_nr()
|
|
|
bfffda |
- Add IORING_OP_ASYNC_CANCEL and prep helper
|
|
|
f44050 |
|
|
|
f44050 |
* Thu Oct 31 2019 Jeff Moyer <jmoyer@redhat.com> - 0.2-1
|
|
|
bfffda |
- Add io_uring_cq_ready()
|
|
|
bfffda |
- Add io_uring_peek_batch_cqe()
|
|
|
bfffda |
- Add io_uring_prep_accept()
|
|
|
bfffda |
- Add io_uring_prep_{recv,send}msg()
|
|
|
bfffda |
- Add io_uring_prep_timeout_remove()
|
|
|
bfffda |
- Add io_uring_queue_init_params()
|
|
|
bfffda |
- Add io_uring_register_files_update()
|
|
|
bfffda |
- Add io_uring_sq_space_left()
|
|
|
bfffda |
- Add io_uring_wait_cqe_timeout()
|
|
|
bfffda |
- Add io_uring_wait_cqes()
|
|
|
bfffda |
- Add io_uring_wait_cqes_timeout()
|
|
|
f44050 |
|
|
|
f44050 |
* Tue Jan 8 2019 Jens Axboe <axboe@kernel.dk> - 0.1
|
|
|
f44050 |
- Initial version
|