f44050
Name: liburing
d5bad6
Version: 1.0.7
d5bad6
Release: 3%{?dist}
f44050
Summary: Linux-native io_uring I/O access library
f44050
License: LGPLv2+
f44050
Source: %{name}-%{version}.tar.bz2
f44050
URL: http://brick.kernel.dk/snaps/%{name}-%{version}.tar.bz2
f44050
BuildRequires: gcc
d5bad6
Patch0: liburing-always-build-with-fPIC.patch
f44050
f44050
%description
f44050
Provides native async IO for the Linux kernel, in a fast and efficient
f44050
manner, for both buffered and O_DIRECT.
f44050
f44050
%package devel
f44050
Summary: Development files for Linux-native io_uring I/O access library
f44050
Requires: %{name} = %{version}-%{release}
f44050
Requires: pkgconfig
f44050
f44050
%description devel
f44050
This package provides header files to include and libraries to link with
f44050
for the Linux-native io_uring.
f44050
f44050
%prep
f44050
%autosetup -p1
f44050
f44050
%build
d5bad6
./configure --prefix=%{_prefix} --libdir=/%{_libdir} --libdevdir=/%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir}
f44050
d5bad6
%make_build V=1
f44050
f44050
%install
f44050
%make_install
f44050
f44050
%files
f44050
%attr(0755,root,root) %{_libdir}/liburing.so.*
f44050
%doc COPYING
f44050
f44050
%files devel
f44050
%{_includedir}/liburing/
f44050
%{_includedir}/liburing.h
f44050
%{_libdir}/liburing.so
f44050
%{_libdir}/liburing.a
f44050
%{_libdir}/pkgconfig/*
f44050
%{_mandir}/man2/*
f44050
f44050
%changelog
d5bad6
* Thu Aug 20 2020 Jeff Moyer <jmoyer@redhat.com> - 1.0.7-3.el8
d5bad6
- Build with V=1 so that the build logs are useful.
d5bad6
- Related: rhbz#1862551
d5bad6
d5bad6
* Thu Aug 20 2020 Jeff Moyer <jmoyer@redhat.com> - 1.0.7-2.el8
d5bad6
- Fix versioning.  The installed library is 1.0.7, make the rpm match.
d5bad6
- bump release number for build, which includes -fPIC fix
d5bad6
- Related: rhbz#1862551
d5bad6
d5bad6
* Fri Jul 31 2020 Jeff Moyer <jmoyer@redhat.com> - 0.7-1.el8
d5bad6
- Update to upstream version 0.7.
d5bad6
- Resolves: 1862551
d5bad6
f44050
* Wed Nov  6 2019 Jeff Moyer <jmoyer@redhat.com> - 0.2-2.el8
f44050
- bump release to trigger gating tests
f44050
- Related: bz#1724804
f44050
f44050
* Thu Oct 31 2019 Jeff Moyer <jmoyer@redhat.com> - 0.2-1
f44050
- Initial rhel8 package.
f44050
- Resolves: bz#1724804
f44050
f44050
* Tue Jan 8 2019 Jens Axboe <axboe@kernel.dk> - 0.1
f44050
- Initial version