Jens Axboe | f93c84e | 2019-01-08 06:51:07 -0700 | [diff] [blame] | 1 | Name: liburing |
Stefan Hajnoczi | 1815337 | 2021-03-09 14:19:12 +0000 | [diff] [blame] | 2 | Version: 2.0 |
Jeff Moyer | 0781f2a | 2019-11-05 08:39:17 +0100 | [diff] [blame] | 3 | Release: 1%{?dist} |
Jens Axboe | f93c84e | 2019-01-08 06:51:07 -0700 | [diff] [blame] | 4 | Summary: Linux-native io_uring I/O access library |
Guillem Jover | e2840c9 | 2020-04-10 18:57:14 +0200 | [diff] [blame] | 5 | License: (GPLv2 with exceptions and LGPLv2+) or MIT |
Jens Axboe | 17d1876 | 2020-02-11 20:24:45 -0700 | [diff] [blame] | 6 | Source0: https://brick.kernel.dk/snaps/%{name}-%{version}.tar.gz |
| 7 | Source1: https://brick.kernel.dk/snaps/%{name}-%{version}.tar.gz.asc |
Stefan Hajnoczi | a4a015a | 2019-12-13 10:16:40 +0000 | [diff] [blame] | 8 | URL: https://git.kernel.dk/cgit/liburing/ |
Jeff Moyer | 0781f2a | 2019-11-05 08:39:17 +0100 | [diff] [blame] | 9 | BuildRequires: gcc |
Stefan Hajnoczi | a9f23f0 | 2021-03-09 14:19:13 +0000 | [diff] [blame] | 10 | BuildRequires: make |
Jens Axboe | f93c84e | 2019-01-08 06:51:07 -0700 | [diff] [blame] | 11 | |
| 12 | %description |
| 13 | Provides native async IO for the Linux kernel, in a fast and efficient |
| 14 | manner, for both buffered and O_DIRECT. |
| 15 | |
| 16 | %package devel |
| 17 | Summary: Development files for Linux-native io_uring I/O access library |
Stefan Hajnoczi | a4a015a | 2019-12-13 10:16:40 +0000 | [diff] [blame] | 18 | Requires: %{name}%{_isa} = %{version}-%{release} |
Jeff Moyer | 0781f2a | 2019-11-05 08:39:17 +0100 | [diff] [blame] | 19 | Requires: pkgconfig |
Jens Axboe | f93c84e | 2019-01-08 06:51:07 -0700 | [diff] [blame] | 20 | |
| 21 | %description devel |
| 22 | This package provides header files to include and libraries to link with |
| 23 | for the Linux-native io_uring. |
| 24 | |
| 25 | %prep |
Jeff Moyer | 0781f2a | 2019-11-05 08:39:17 +0100 | [diff] [blame] | 26 | %autosetup |
Jens Axboe | f93c84e | 2019-01-08 06:51:07 -0700 | [diff] [blame] | 27 | |
| 28 | %build |
Stefan Hajnoczi | a4a015a | 2019-12-13 10:16:40 +0000 | [diff] [blame] | 29 | %set_build_flags |
Stefan Hajnoczi | 88329a7 | 2020-03-19 13:26:58 +0000 | [diff] [blame] | 30 | ./configure --prefix=%{_prefix} --libdir=/%{_libdir} --libdevdir=/%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir} |
Jeff Moyer | 0781f2a | 2019-11-05 08:39:17 +0100 | [diff] [blame] | 31 | |
| 32 | %make_build |
Jens Axboe | f93c84e | 2019-01-08 06:51:07 -0700 | [diff] [blame] | 33 | |
| 34 | %install |
Jeff Moyer | 0781f2a | 2019-11-05 08:39:17 +0100 | [diff] [blame] | 35 | %make_install |
Jens Axboe | f93c84e | 2019-01-08 06:51:07 -0700 | [diff] [blame] | 36 | |
| 37 | %files |
Jens Axboe | f93c84e | 2019-01-08 06:51:07 -0700 | [diff] [blame] | 38 | %attr(0755,root,root) %{_libdir}/liburing.so.* |
Stefan Hajnoczi | a4a015a | 2019-12-13 10:16:40 +0000 | [diff] [blame] | 39 | %license COPYING |
Jens Axboe | f93c84e | 2019-01-08 06:51:07 -0700 | [diff] [blame] | 40 | |
| 41 | %files devel |
Jeff Moyer | 0781f2a | 2019-11-05 08:39:17 +0100 | [diff] [blame] | 42 | %{_includedir}/liburing/ |
| 43 | %{_includedir}/liburing.h |
| 44 | %{_libdir}/liburing.so |
Stefan Hajnoczi | a4a015a | 2019-12-13 10:16:40 +0000 | [diff] [blame] | 45 | %exclude %{_libdir}/liburing.a |
Jeff Moyer | 0781f2a | 2019-11-05 08:39:17 +0100 | [diff] [blame] | 46 | %{_libdir}/pkgconfig/* |
| 47 | %{_mandir}/man2/* |
Paul Ewing | 71d3dbf | 2020-09-15 22:18:56 -0700 | [diff] [blame] | 48 | %{_mandir}/man3/* |
Uman Shahzad | c2eb593 | 2021-02-13 11:08:40 +0500 | [diff] [blame] | 49 | %{_mandir}/man7/* |
Jens Axboe | f93c84e | 2019-01-08 06:51:07 -0700 | [diff] [blame] | 50 | |
| 51 | %changelog |
Jeff Moyer | 0781f2a | 2019-11-05 08:39:17 +0100 | [diff] [blame] | 52 | * Thu Oct 31 2019 Jeff Moyer <jmoyer@redhat.com> - 0.2-1 |
| 53 | - Add io_uring_cq_ready() |
| 54 | - Add io_uring_peek_batch_cqe() |
| 55 | - Add io_uring_prep_accept() |
| 56 | - Add io_uring_prep_{recv,send}msg() |
| 57 | - Add io_uring_prep_timeout_remove() |
| 58 | - Add io_uring_queue_init_params() |
| 59 | - Add io_uring_register_files_update() |
| 60 | - Add io_uring_sq_space_left() |
| 61 | - Add io_uring_wait_cqe_timeout() |
| 62 | - Add io_uring_wait_cqes() |
| 63 | - Add io_uring_wait_cqes_timeout() |
| 64 | |
Jens Axboe | f93c84e | 2019-01-08 06:51:07 -0700 | [diff] [blame] | 65 | * Tue Jan 8 2019 Jens Axboe <axboe@kernel.dk> - 0.1 |
| 66 | - Initial version |