blob: 0268d2369c54a6bec952221916c5ec3b27388d05 [file] [log] [blame]
Jens Axboef93c84e2019-01-08 06:51:07 -07001Name: liburing
Stefan Hajnoczi18153372021-03-09 14:19:12 +00002Version: 2.0
Jeff Moyer0781f2a2019-11-05 08:39:17 +01003Release: 1%{?dist}
Jens Axboef93c84e2019-01-08 06:51:07 -07004Summary: Linux-native io_uring I/O access library
Guillem Jovere2840c92020-04-10 18:57:14 +02005License: (GPLv2 with exceptions and LGPLv2+) or MIT
Jens Axboe17d18762020-02-11 20:24:45 -07006Source0: https://brick.kernel.dk/snaps/%{name}-%{version}.tar.gz
7Source1: https://brick.kernel.dk/snaps/%{name}-%{version}.tar.gz.asc
Stefan Hajnoczia4a015a2019-12-13 10:16:40 +00008URL: https://git.kernel.dk/cgit/liburing/
Jeff Moyer0781f2a2019-11-05 08:39:17 +01009BuildRequires: gcc
Stefan Hajnoczia9f23f02021-03-09 14:19:13 +000010BuildRequires: make
Jens Axboef93c84e2019-01-08 06:51:07 -070011
12%description
13Provides native async IO for the Linux kernel, in a fast and efficient
14manner, for both buffered and O_DIRECT.
15
16%package devel
17Summary: Development files for Linux-native io_uring I/O access library
Stefan Hajnoczia4a015a2019-12-13 10:16:40 +000018Requires: %{name}%{_isa} = %{version}-%{release}
Jeff Moyer0781f2a2019-11-05 08:39:17 +010019Requires: pkgconfig
Jens Axboef93c84e2019-01-08 06:51:07 -070020
21%description devel
22This package provides header files to include and libraries to link with
23for the Linux-native io_uring.
24
25%prep
Jeff Moyer0781f2a2019-11-05 08:39:17 +010026%autosetup
Jens Axboef93c84e2019-01-08 06:51:07 -070027
28%build
Stefan Hajnoczia4a015a2019-12-13 10:16:40 +000029%set_build_flags
Stefan Hajnoczi88329a72020-03-19 13:26:58 +000030./configure --prefix=%{_prefix} --libdir=/%{_libdir} --libdevdir=/%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir}
Jeff Moyer0781f2a2019-11-05 08:39:17 +010031
32%make_build
Jens Axboef93c84e2019-01-08 06:51:07 -070033
34%install
Jeff Moyer0781f2a2019-11-05 08:39:17 +010035%make_install
Jens Axboef93c84e2019-01-08 06:51:07 -070036
37%files
Jens Axboef93c84e2019-01-08 06:51:07 -070038%attr(0755,root,root) %{_libdir}/liburing.so.*
Stefan Hajnoczia4a015a2019-12-13 10:16:40 +000039%license COPYING
Jens Axboef93c84e2019-01-08 06:51:07 -070040
41%files devel
Jeff Moyer0781f2a2019-11-05 08:39:17 +010042%{_includedir}/liburing/
43%{_includedir}/liburing.h
44%{_libdir}/liburing.so
Stefan Hajnoczia4a015a2019-12-13 10:16:40 +000045%exclude %{_libdir}/liburing.a
Jeff Moyer0781f2a2019-11-05 08:39:17 +010046%{_libdir}/pkgconfig/*
47%{_mandir}/man2/*
Paul Ewing71d3dbf2020-09-15 22:18:56 -070048%{_mandir}/man3/*
Uman Shahzadc2eb5932021-02-13 11:08:40 +050049%{_mandir}/man7/*
Jens Axboef93c84e2019-01-08 06:51:07 -070050
51%changelog
Jeff Moyer0781f2a2019-11-05 08:39:17 +010052* 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 Axboef93c84e2019-01-08 06:51:07 -070065* Tue Jan 8 2019 Jens Axboe <axboe@kernel.dk> - 0.1
66- Initial version