987e04
Name: liburing
987e04
Version: 0.7
987e04
Release: 7%{?dist}
987e04
Summary: Linux-native io_uring I/O access library
987e04
License: (GPLv2 with exceptions and LGPLv2+) or MIT
987e04
Source0: https://brick.kernel.dk/snaps/%{name}-%{version}.tar.gz
987e04
Source1: https://brick.kernel.dk/snaps/%{name}-%{version}.tar.gz.asc
987e04
URL: https://git.kernel.dk/cgit/liburing/
987e04
BuildRequires: gcc
987e04
BuildRequires: make
987e04
987e04
Patch0: 8aac320-examples-ucontext-cp.c-cope-with-variable-SIGSTKSZ.patch
987e04
987e04
%description
987e04
Provides native async IO for the Linux kernel, in a fast and efficient
987e04
manner, for both buffered and O_DIRECT.
987e04
987e04
%package devel
987e04
Summary: Development files for Linux-native io_uring I/O access library
987e04
Requires: %{name}%{_isa} = %{version}-%{release}
987e04
Requires: pkgconfig
987e04
987e04
%description devel
987e04
This package provides header files to include and libraries to link with
987e04
for the Linux-native io_uring.
987e04
987e04
%prep
987e04
%autosetup -p1
987e04
987e04
%build
987e04
%set_build_flags
987e04
./configure --prefix=%{_prefix} --libdir=/%{_libdir} --libdevdir=/%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir}
987e04
987e04
%make_build
987e04
987e04
%install
987e04
%make_install
987e04
987e04
%files
987e04
%attr(0755,root,root) %{_libdir}/liburing.so.*
987e04
%license COPYING
987e04
987e04
%files devel
987e04
%{_includedir}/liburing/
987e04
%{_includedir}/liburing.h
987e04
%{_libdir}/liburing.so
987e04
%exclude %{_libdir}/liburing.a
987e04
%{_libdir}/pkgconfig/*
987e04
%{_mandir}/man2/*
987e04
987e04
%changelog
987e04
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.7-7
987e04
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
987e04
  Related: rhbz#1991688
987e04
987e04
* Fri Jul 09 2021 Jeff Moyer <jmoyer@redhat.com> - 0.7-6
987e04
- Fix up use of SIGSTKSZ (Jeff Moyer)
987e04
- Resolves: rhbz#1980845
987e04
987e04
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.7-5
987e04
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
987e04
987e04
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-4
987e04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
987e04
987e04
* Mon Oct 19 2020 Davide Cavalca <dcavalca@fb.com> - 0.7-3
987e04
- Drop exclude for armv7hl as it's no longer necessary
987e04
987e04
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-2
987e04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
987e04
987e04
* Tue Jul 21 2020 Stefan Hajnoczi <stefanha@redhat.com> - 0.7-1
987e04
- Add io_uring_cq_eventfd_toggle() helper for new IORING_CQ_EVENTFD_DISABLED flag
987e04
- Add IORING_OP_TEE
987e04
- Documentation fixes and improvements
987e04
987e04
* Thu May 7 2020 Stefan Hajnoczi <stefanha@redhat.com> - 0.6-1
987e04
- add io_uring_prep_splice()
987e04
- add io_uring_prep_provide_buffers()
987e04
- add io_uring_prep_remove_buffers()
987e04
- add io_uring_register_eventfd_async()
987e04
- reinstate io_uring_unregister_eventfd() (it was accidentally removed in 0.4)
987e04
987e04
* Thu Mar 19 2020 Stefan Hajnoczi <stefanha@redhat.com> - 0.5-1
987e04
- Update license to GPL-2.0 OR MIT
987e04
- Add io_uring_prep_epoll_ctl()
987e04
- Add io_uring_get_probe(), io_uring_get_probe_ring()
987e04
- Add io_uring_register_probe()
987e04
- Add io_uring_{register,unregister}_personality()
987e04
- Add io_uring_prep_{recv,send}()
987e04
- Add io_uring_prep_openat2()
987e04
- Add io_uring_ring_dontfork()
987e04
- Add io_uring_prep_read() and io_uring_prep_write()
987e04
- Documentation fixes and improvements
987e04
987e04
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-2
987e04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
987e04
987e04
* Tue Jan 7 2020 Stefan Hajnoczi <stefanha@redhat.com> - 0.3-1
987e04
- Add IORING_OP_STATX
987e04
- Add IORING_OP_OPENAT/IORING_OP_CLOSE helpers
987e04
- Add prep helpers for IORING_OP_FILES_UPDATE and IORING_OP_FALLOCATE
987e04
- Add io_uring_prep_connect() helper
987e04
- Add io_uring_wait_cqe_nr()
987e04
- Add IORING_OP_ASYNC_CANCEL and prep helper
987e04
987e04
* Thu Oct 31 2019 Jeff Moyer <jmoyer@redhat.com> - 0.2-1
987e04
- Add io_uring_cq_ready()
987e04
- Add io_uring_peek_batch_cqe()
987e04
- Add io_uring_prep_accept()
987e04
- Add io_uring_prep_{recv,send}msg()
987e04
- Add io_uring_prep_timeout_remove()
987e04
- Add io_uring_queue_init_params()
987e04
- Add io_uring_register_files_update()
987e04
- Add io_uring_sq_space_left()
987e04
- Add io_uring_wait_cqe_timeout()
987e04
- Add io_uring_wait_cqes()
987e04
- Add io_uring_wait_cqes_timeout()
987e04
987e04
* Tue Jan 8 2019 Jens Axboe <axboe@kernel.dk> - 0.1
987e04
- Initial version