blob: bfe46bdcd3970a71292e6e69c0bbf87bc586cd79 [file] [log] [blame]
Jens Axboef93c84e2019-01-08 06:51:07 -07001Name: liburing
Jens Axboe94ba6372020-06-18 14:57:13 -06002Version: 0.7
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
Jens Axboef93c84e2019-01-08 06:51:07 -070010
11%description
12Provides native async IO for the Linux kernel, in a fast and efficient
13manner, for both buffered and O_DIRECT.
14
15%package devel
16Summary: Development files for Linux-native io_uring I/O access library
Stefan Hajnoczia4a015a2019-12-13 10:16:40 +000017Requires: %{name}%{_isa} = %{version}-%{release}
Jeff Moyer0781f2a2019-11-05 08:39:17 +010018Requires: pkgconfig
Jens Axboef93c84e2019-01-08 06:51:07 -070019
20%description devel
21This package provides header files to include and libraries to link with
22for the Linux-native io_uring.
23
24%prep
Jeff Moyer0781f2a2019-11-05 08:39:17 +010025%autosetup
Jens Axboef93c84e2019-01-08 06:51:07 -070026
27%build
Stefan Hajnoczia4a015a2019-12-13 10:16:40 +000028%set_build_flags
Stefan Hajnoczi88329a72020-03-19 13:26:58 +000029./configure --prefix=%{_prefix} --libdir=/%{_libdir} --libdevdir=/%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir}
Jeff Moyer0781f2a2019-11-05 08:39:17 +010030
31%make_build
Jens Axboef93c84e2019-01-08 06:51:07 -070032
33%install
Jeff Moyer0781f2a2019-11-05 08:39:17 +010034%make_install
Jens Axboef93c84e2019-01-08 06:51:07 -070035
36%files
Jens Axboef93c84e2019-01-08 06:51:07 -070037%attr(0755,root,root) %{_libdir}/liburing.so.*
Stefan Hajnoczia4a015a2019-12-13 10:16:40 +000038%license COPYING
Jens Axboef93c84e2019-01-08 06:51:07 -070039
40%files devel
Jeff Moyer0781f2a2019-11-05 08:39:17 +010041%{_includedir}/liburing/
42%{_includedir}/liburing.h
43%{_libdir}/liburing.so
Stefan Hajnoczia4a015a2019-12-13 10:16:40 +000044%exclude %{_libdir}/liburing.a
Jeff Moyer0781f2a2019-11-05 08:39:17 +010045%{_libdir}/pkgconfig/*
46%{_mandir}/man2/*
Jens Axboef93c84e2019-01-08 06:51:07 -070047
48%changelog
Jeff Moyer0781f2a2019-11-05 08:39:17 +010049* 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 Axboef93c84e2019-01-08 06:51:07 -070062* Tue Jan 8 2019 Jens Axboe <axboe@kernel.dk> - 0.1
63- Initial version