1 %global forgeurl https://gitlab.com/libblkio/libblkio
2 %global commit c8f5ed9a1460d90a522bda55da09f013fa7da61c
3 # Upstream has not tagged any versions so far.
7 Summary: Block device I/O library
11 Source: %{forgesource}
12 License: ASL 2.0 or MIT
14 # Basic build requirements.
15 BuildRequires: gcc, gcc-c++
19 BuildRequires: rustfmt
21 BuildRequires: python3-docutils
22 BuildRequires: liburing-devel
23 BuildRequires: pkgconf
27 libblkio is a library for high-performance block device I/O with
28 support for multi-queue devices. A C API is provided so that
29 applications can use the library from most programming languages.
33 Summary: Development tools for %{name}
34 Requires: %{name}%{_isa} = %{version}-%{release}
38 This package contains development tools for %{name}.
53 pushd %{buildroot}%{_libdir}
54 ln -s libblkio.so libblkio.so.0
55 ln -s libblkio.so.0 libblkio.so.0.0
60 %license LICENSE-APACHE LICENSE-MIT LICENSE.crosvm
62 %{_libdir}/libblkio.so.0*
66 %license LICENSE-APACHE LICENSE-MIT LICENSE.crosvm
68 %{_includedir}/blkio.h
69 %{_libdir}/libblkio.so
70 %{_libdir}/pkgconfig/blkio.pc
71 %{_mandir}/man3/blkio.3*
75 * Tue Sep 06 2022 Richard W.M. Jones <rjones@redhat.com> - 0.1-1