diff --git a/liburing-2.1.tar.gz b/liburing-2.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..a45022550b67396b176328dd9830afdf99e5e6f8 Binary files /dev/null and b/liburing-2.1.tar.gz differ diff --git a/liburing.spec b/liburing.spec new file mode 100644 index 0000000000000000000000000000000000000000..5262e0c27dab8fe52a87b92b37023d068a046780 --- /dev/null +++ b/liburing.spec @@ -0,0 +1,52 @@ +Name: liburing +Version: 2.1 +Release: 1%{?dist} +Summary: Linux-native io_uring I/O access library +License: (GPLv2 with exceptions and LGPLv2+) or MIT +Source0: https://github.com/axboe/liburing/archive/refs/tags/%{name}-%{version}.tar.gz +URL: https://github.com/axboe/liburing +BuildRequires: gcc +BuildRequires: make + +%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 + +%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.* +%license COPYING + +%files devel +%{_includedir}/liburing/ +%{_includedir}/liburing.h +%{_libdir}/liburing.so +%exclude %{_libdir}/liburing.a +%{_libdir}/pkgconfig/* +%{_mandir}/man2/* +%{_mandir}/man3/* +%{_mandir}/man7/* + +%changelog +* Mon Apr 18 2022 gcdota930915 - 2.1-1 +- Init from upstream version 2.1