blob: e542771d9decdccbfa24a6d1432b183f4de78b48 [file] [log] [blame]
Jens Axboef93c84e2019-01-08 06:51:07 -07001Name: liburing
Stefan Hajnoczi9ba6a2a2019-11-05 08:39:15 +01002Version: 0.2
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
Stefan Hajnoczi9ae3fa52019-08-03 09:45:24 +01005License: LGPLv2+
Jens Axboef93c84e2019-01-08 06:51:07 -07006Source: %{name}-%{version}.tar.gz
Jeff Moyer0781f2a2019-11-05 08:39:17 +01007URL: https://git.kernel.dk/cgit/liburing/snapshot/%{name}-%{version}.tar.gz
8BuildRequires: gcc
Jens Axboef93c84e2019-01-08 06:51:07 -07009
10%description
11Provides native async IO for the Linux kernel, in a fast and efficient
12manner, for both buffered and O_DIRECT.
13
14%package devel
15Summary: Development files for Linux-native io_uring I/O access library
Jeff Moyer0781f2a2019-11-05 08:39:17 +010016Requires: %{name} = %{version}-%{release}
17Requires: pkgconfig
Jens Axboef93c84e2019-01-08 06:51:07 -070018
19%description devel
20This package provides header files to include and libraries to link with
21for the Linux-native io_uring.
22
23%prep
Jeff Moyer0781f2a2019-11-05 08:39:17 +010024%autosetup
Jens Axboef93c84e2019-01-08 06:51:07 -070025
26%build
Jeff Moyer0781f2a2019-11-05 08:39:17 +010027./configure --prefix=%{_prefix} --libdir=/%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir}
28
29%make_build
Jens Axboef93c84e2019-01-08 06:51:07 -070030
31%install
Jeff Moyer0781f2a2019-11-05 08:39:17 +010032%make_install
Jens Axboef93c84e2019-01-08 06:51:07 -070033
34%files
Jens Axboef93c84e2019-01-08 06:51:07 -070035%attr(0755,root,root) %{_libdir}/liburing.so.*
Jens Axboe63505832019-05-16 20:35:19 -060036%doc COPYING
Jens Axboef93c84e2019-01-08 06:51:07 -070037
38%files devel
Jeff Moyer0781f2a2019-11-05 08:39:17 +010039%{_includedir}/liburing/
40%{_includedir}/liburing.h
41%{_libdir}/liburing.so
42%{_libdir}/liburing.a
43%{_libdir}/pkgconfig/*
44%{_mandir}/man2/*
Jens Axboef93c84e2019-01-08 06:51:07 -070045
46%changelog
Jeff Moyer0781f2a2019-11-05 08:39:17 +010047* Thu Oct 31 2019 Jeff Moyer <jmoyer@redhat.com> - 0.2-1
48- Add io_uring_cq_ready()
49- Add io_uring_peek_batch_cqe()
50- Add io_uring_prep_accept()
51- Add io_uring_prep_{recv,send}msg()
52- Add io_uring_prep_timeout_remove()
53- Add io_uring_queue_init_params()
54- Add io_uring_register_files_update()
55- Add io_uring_sq_space_left()
56- Add io_uring_wait_cqe_timeout()
57- Add io_uring_wait_cqes()
58- Add io_uring_wait_cqes_timeout()
59
Jens Axboef93c84e2019-01-08 06:51:07 -070060* Tue Jan 8 2019 Jens Axboe <axboe@kernel.dk> - 0.1
61- Initial version