Jens Axboe | f93c84e | 2019-01-08 06:51:07 -0700 | [diff] [blame] | 1 | Name: liburing |
Jens Axboe | f65f0e8 | 2020-02-25 22:00:33 -0700 | [diff] [blame] | 2 | Version: 0.6 |
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 |
Jens Axboe | f93c84e | 2019-01-08 06:51:07 -0700 | [diff] [blame] | 10 | |
| 11 | %description |
| 12 | Provides native async IO for the Linux kernel, in a fast and efficient |
| 13 | manner, for both buffered and O_DIRECT. |
| 14 | |
| 15 | %package devel |
| 16 | Summary: Development files for Linux-native io_uring I/O access library |
Stefan Hajnoczi | a4a015a | 2019-12-13 10:16:40 +0000 | [diff] [blame] | 17 | Requires: %{name}%{_isa} = %{version}-%{release} |
Jeff Moyer | 0781f2a | 2019-11-05 08:39:17 +0100 | [diff] [blame] | 18 | Requires: pkgconfig |
Jens Axboe | f93c84e | 2019-01-08 06:51:07 -0700 | [diff] [blame] | 19 | |
| 20 | %description devel |
| 21 | This package provides header files to include and libraries to link with |
| 22 | for the Linux-native io_uring. |
| 23 | |
| 24 | %prep |
Jeff Moyer | 0781f2a | 2019-11-05 08:39:17 +0100 | [diff] [blame] | 25 | %autosetup |
Jens Axboe | f93c84e | 2019-01-08 06:51:07 -0700 | [diff] [blame] | 26 | |
| 27 | %build |
Stefan Hajnoczi | a4a015a | 2019-12-13 10:16:40 +0000 | [diff] [blame] | 28 | %set_build_flags |
Stefan Hajnoczi | 88329a7 | 2020-03-19 13:26:58 +0000 | [diff] [blame] | 29 | ./configure --prefix=%{_prefix} --libdir=/%{_libdir} --libdevdir=/%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir} |
Jeff Moyer | 0781f2a | 2019-11-05 08:39:17 +0100 | [diff] [blame] | 30 | |
| 31 | %make_build |
Jens Axboe | f93c84e | 2019-01-08 06:51:07 -0700 | [diff] [blame] | 32 | |
| 33 | %install |
Jeff Moyer | 0781f2a | 2019-11-05 08:39:17 +0100 | [diff] [blame] | 34 | %make_install |
Jens Axboe | f93c84e | 2019-01-08 06:51:07 -0700 | [diff] [blame] | 35 | |
| 36 | %files |
Jens Axboe | f93c84e | 2019-01-08 06:51:07 -0700 | [diff] [blame] | 37 | %attr(0755,root,root) %{_libdir}/liburing.so.* |
Stefan Hajnoczi | a4a015a | 2019-12-13 10:16:40 +0000 | [diff] [blame] | 38 | %license COPYING |
Jens Axboe | f93c84e | 2019-01-08 06:51:07 -0700 | [diff] [blame] | 39 | |
| 40 | %files devel |
Jeff Moyer | 0781f2a | 2019-11-05 08:39:17 +0100 | [diff] [blame] | 41 | %{_includedir}/liburing/ |
| 42 | %{_includedir}/liburing.h |
| 43 | %{_libdir}/liburing.so |
Stefan Hajnoczi | a4a015a | 2019-12-13 10:16:40 +0000 | [diff] [blame] | 44 | %exclude %{_libdir}/liburing.a |
Jeff Moyer | 0781f2a | 2019-11-05 08:39:17 +0100 | [diff] [blame] | 45 | %{_libdir}/pkgconfig/* |
| 46 | %{_mandir}/man2/* |
Jens Axboe | f93c84e | 2019-01-08 06:51:07 -0700 | [diff] [blame] | 47 | |
| 48 | %changelog |
Jeff Moyer | 0781f2a | 2019-11-05 08:39:17 +0100 | [diff] [blame] | 49 | * Thu Oct 31 2019 Jeff Moyer <jmoyer@redhat.com> - 0.2-1 |
| 50 | - Add io_uring_cq_ready() |
| 51 | - Add io_uring_peek_batch_cqe() |
| 52 | - Add io_uring_prep_accept() |
| 53 | - Add io_uring_prep_{recv,send}msg() |
| 54 | - Add io_uring_prep_timeout_remove() |
| 55 | - Add io_uring_queue_init_params() |
| 56 | - Add io_uring_register_files_update() |
| 57 | - Add io_uring_sq_space_left() |
| 58 | - Add io_uring_wait_cqe_timeout() |
| 59 | - Add io_uring_wait_cqes() |
| 60 | - Add io_uring_wait_cqes_timeout() |
| 61 | |
Jens Axboe | f93c84e | 2019-01-08 06:51:07 -0700 | [diff] [blame] | 62 | * Tue Jan 8 2019 Jens Axboe <axboe@kernel.dk> - 0.1 |
| 63 | - Initial version |