diff --git a/nbdkit.spec b/nbdkit.spec index 765cb34..6444ec8 100644 --- a/nbdkit.spec +++ b/nbdkit.spec @@ -52,8 +52,8 @@ ExclusiveArch: x86_64 %global source_directory 1.33-development Name: nbdkit -Version: 1.33.5 -Release: 2%{?dist} +Version: 1.33.6 +Release: 1%{?dist} Summary: NBD server License: BSD @@ -102,6 +102,7 @@ BuildRequires: e2fsprogs, e2fsprogs-devel %if !0%{?rhel} BuildRequires: xorriso BuildRequires: rb_libtorrent-devel +BuildRequires: libblkio-devel %endif BuildRequires: bash-completion BuildRequires: perl-devel @@ -260,6 +261,18 @@ This package contains example plugins for %{name}. # The plugins below have non-trivial dependencies are so are # packaged separately. +%if !0%{?rhel} +%package blkio-plugin +Summary: libblkio NVMe, vhost-user, vDPA, VFIO plugin for %{name} +License: BSD +Requires: %{name}-server%{?_isa} = %{version}-%{release} + +%description blkio-plugin +This package contains libblkio (NVMe, vhost-user, vDPA, VFIO) support +for %{name}. +%endif + + %if !0%{?rhel} %package cc-plugin Summary: Write small inline C plugins and scripts for %{name} @@ -708,6 +721,7 @@ export PYTHON=%{__python3} --enable-ruby \ --enable-tcl \ --enable-torrent \ + --with-libblkio \ --with-ext2 \ --with-iso \ --with-libvirt \ @@ -717,6 +731,7 @@ export PYTHON=%{__python3} --disable-ruby \ --disable-tcl \ --disable-torrent \ + --without-libblkio \ --without-ext2 \ --without-iso \ --without-libvirt \ @@ -894,6 +909,15 @@ export LIBGUESTFS_TRACE=1 %{_mandir}/man1/nbdkit-example*-plugin.1* +%if !0%{?rhel} +%files blkio-plugin +%doc README.md +%license LICENSE +%{_libdir}/%{name}/plugins/nbdkit-blkio-plugin.so +%{_mandir}/man1/nbdkit-blkio-plugin.1* +%endif + + %if !0%{?rhel} %files cc-plugin %doc README.md @@ -1219,6 +1243,10 @@ export LIBGUESTFS_TRACE=1 %changelog +* Wed Jan 11 2023 Richard W.M. Jones - 1.33.6-1 +- New upstream development version 1.33.6 +- New plugin: nbdkit-blkio-plugin + * Wed Jan 04 2023 Mamoru TASAKA - 1.33.5-2 - Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.2 diff --git a/sources b/sources index 651b89e..6b08f89 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (nbdkit-1.33.5.tar.gz) = 0b2562b35b059a0c218d27160af3eb0ff9465ce07caaba099e2f1c59c2672b7821f1d3fbebafbe2a419128779a64e2205807b8dd2f78c4196df649694422bbb6 -SHA512 (nbdkit-1.33.5.tar.gz.sig) = e3fe4e8cbee9d66b291d6f6a20442ec5a050fe88bc5084c07fd513a15f38db413ec1bddaffacc9fd2d30654d3b2c1f492f9ca329c8ec9e0c5a8628c1cacc8051 +SHA512 (nbdkit-1.33.6.tar.gz) = c5e8df85ba99526ece1cce73fa5eeb2f47c721c74743f38ed8c8f8b627f5590a5dc314d24a99d16347624a602902b43cda45389f9060d51c30ce46a91e3378ab +SHA512 (nbdkit-1.33.6.tar.gz.sig) = 81d00fd801374f4bc3110b6a46b65a57cfd4da6ef7c5694a3226a1aea69f27ca523cc7e38dceaf259d35c2626bfa06a362268c0d7b80b8fa62a31dd9b4597c80