liburing/liburing.spec
yangchen 52c8cadb19 Update to liburing 2.4
(cherry picked from commit 896df988d2679c0019c0963acf30aefd2a781f6e)
2025-04-14 16:15:06 +08:00

71 lines
1.7 KiB
RPMSpec

Name: liburing
Version: 2.4
Release: 1
Summary: Linux-native io_uring I/O access library
License: (GPLv2 with exceptions and LGPLv2+) or MIT
Source0: https://brick.kernel.dk/snaps/%{name}-%{version}.tar.gz
URL: https://git.kernel.dk/cgit/liburing/
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: make
Patch1: 0001-enable-libc.patch
%description
Provides native async IO for the Linux kernel, in a fast and efficient
manner, for both buffered and O_DIRECT.
%package devel
Summary: Development files for Linux-native io_uring I/O access library
Requires: %{name}%{_isa} = %{version}-%{release}
Requires: pkgconfig
%description devel
This package provides header files to include and libraries to link with
for the Linux-native io_uring.
%prep
%autosetup -p1
%build
%set_build_flags
./configure --prefix=%{_prefix} --libdir=/%{_libdir} --libdevdir=/%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir}
%make_build
%install
%make_install
%files
%attr(0755,root,root) %{_libdir}/liburing.so.*
%attr(0755,root,root) %{_libdir}/liburing-ffi.so.*
%license COPYING
%files devel
%{_includedir}/liburing/
%{_includedir}/liburing.h
%{_libdir}/liburing.so
%{_libdir}/liburing-ffi.so
%exclude %{_libdir}/liburing.a
%exclude %{_libdir}/liburing-ffi.a
%{_libdir}/pkgconfig/*
%{_mandir}/man2/*
%{_mandir}/man3/*
%{_mandir}/man7/*
%changelog
* Mon Mar 31 2025 yangchen <yangchen145@huawei.com> - 2.4-1
- Update to liburing 2.4
* Mon Dec 12 2022 lihaoxiang <lihaoxiang9@huawei.com> - 2.3-1
- upgrade to liburing v2.3
* Fri Oct 21 2022 wuzx<wuzx1226@qq.com> - 0.7-3
- add sw64 patch
* Tue Aug 10 2021 Miaohe Lin <linmiaohe@huawei.com> - 0.7-2
- cope with variable SIGSTKSZ
* Mon Feb 22 2021 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 0.7-1
- init liburing v0.7