spec: Add two packages.
1. Add qemu-block-rbd package. 2. Add qemu-block-ssh package. Signed-off-by: Ming Yang <yangming73@huawei.com>
This commit is contained in:
parent
c14fc30cad
commit
c0ee9876b5
39
qemu.spec
39
qemu.spec
@ -1,6 +1,6 @@
|
|||||||
Name: qemu
|
Name: qemu
|
||||||
Version: 4.1.0
|
Version: 4.1.0
|
||||||
Release: 36
|
Release: 37
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Summary: QEMU is a generic and open source machine emulator and virtualizer
|
Summary: QEMU is a generic and open source machine emulator and virtualizer
|
||||||
License: GPLv2 and BSD and MIT and CC-BY
|
License: GPLv2 and BSD and MIT and CC-BY
|
||||||
@ -328,6 +328,10 @@ BuildRequires: pam-devel
|
|||||||
BuildRequires: perl-Test-Harness
|
BuildRequires: perl-Test-Harness
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: librbd-devel
|
BuildRequires: librbd-devel
|
||||||
|
BuildRequires: krb5-devel
|
||||||
|
BuildRequires: libssh-devel
|
||||||
|
BuildRequires: glib2
|
||||||
|
|
||||||
%ifarch aarch64
|
%ifarch aarch64
|
||||||
BuildRequires: libfdt-devel
|
BuildRequires: libfdt-devel
|
||||||
BuildRequires: virglrenderer-devel
|
BuildRequires: virglrenderer-devel
|
||||||
@ -375,6 +379,16 @@ Summary: QEMU command line tool for manipulating disk images
|
|||||||
%description img
|
%description img
|
||||||
This package provides a command line tool for manipulating disk images
|
This package provides a command line tool for manipulating disk images
|
||||||
|
|
||||||
|
%package block-rbd
|
||||||
|
Summary: Qemu-block-rbd
|
||||||
|
%description block-rbd
|
||||||
|
This package provides RBD support for Qemu
|
||||||
|
|
||||||
|
%package block-ssh
|
||||||
|
Summary: Qemu-block-ssh
|
||||||
|
%description block-ssh
|
||||||
|
This package provides block-ssh support for Qemu
|
||||||
|
|
||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
%package seabios
|
%package seabios
|
||||||
Summary: QEMU seabios
|
Summary: QEMU seabios
|
||||||
@ -428,6 +442,8 @@ buildldflags="VL_LDFLAGS=-Wl,--build-id"
|
|||||||
--enable-cap-ng \
|
--enable-cap-ng \
|
||||||
--enable-vhost-user \
|
--enable-vhost-user \
|
||||||
--enable-tpm \
|
--enable-tpm \
|
||||||
|
--enable-modules \
|
||||||
|
--enable-libssh \
|
||||||
%ifarch aarch64
|
%ifarch aarch64
|
||||||
--enable-fdt \
|
--enable-fdt \
|
||||||
--enable-virglrenderer \
|
--enable-virglrenderer \
|
||||||
@ -511,7 +527,16 @@ rm -f %{buildroot}%{_datadir}/%{name}/edk2*
|
|||||||
rm -rf %{buildroot}%{_datadir}/%{name}/firmware
|
rm -rf %{buildroot}%{_datadir}/%{name}/firmware
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/opensbi*
|
rm -rf %{buildroot}%{_datadir}/%{name}/opensbi*
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/qemu-nsis.bmp
|
rm -rf %{buildroot}%{_datadir}/%{name}/qemu-nsis.bmp
|
||||||
|
rm -rf %{buildroot}%{_libdir}/%{name}/audio-oss.so
|
||||||
|
rm -rf %{buildroot}%{_libdir}/%{name}/audio-pa.so
|
||||||
|
rm -rf %{buildroot}%{_libdir}/%{name}/block-curl.so
|
||||||
|
rm -rf %{buildroot}%{_libdir}/%{name}/block-iscsi.so
|
||||||
|
rm -rf %{buildroot}%{_libdir}/%{name}/block-gluster.so
|
||||||
|
rm -rf %{buildroot}%{_libdir}/%{name}/ui-curses.so
|
||||||
|
rm -rf %{buildroot}%{_libdir}/%{name}/ui-gtk.so
|
||||||
|
rm -rf %{buildroot}%{_libdir}/%{name}/ui-sdl.so
|
||||||
|
rm -rf %{buildroot}%{_libexecdir}/vhost-user-gpu
|
||||||
|
rm -rf %{buildroot}%{_datadir}/%{name}/vhost-user/50-qemu-gpu.json
|
||||||
|
|
||||||
for f in %{buildroot}%{_bindir}/* %{buildroot}%{_libdir}/* \
|
for f in %{buildroot}%{_bindir}/* %{buildroot}%{_libdir}/* \
|
||||||
%{buildroot}%{_libexecdir}/*; do
|
%{buildroot}%{_libexecdir}/*; do
|
||||||
@ -624,6 +649,12 @@ getent passwd qemu >/dev/null || \
|
|||||||
%{_bindir}/qemu-io
|
%{_bindir}/qemu-io
|
||||||
%{_bindir}/qemu-nbd
|
%{_bindir}/qemu-nbd
|
||||||
|
|
||||||
|
%files block-rbd
|
||||||
|
%{_libdir}/%{name}/block-rbd.so
|
||||||
|
|
||||||
|
%files block-ssh
|
||||||
|
%{_libdir}/%{name}/block-ssh.so
|
||||||
|
|
||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
%files seabios
|
%files seabios
|
||||||
%{_datadir}/%{name}/bios-256k.bin
|
%{_datadir}/%{name}/bios-256k.bin
|
||||||
@ -631,6 +662,10 @@ getent passwd qemu >/dev/null || \
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 25 2020 Huawei Technologies Co., Ltd <yangming73@huawei.com>
|
||||||
|
- add qemu-block-rbd package
|
||||||
|
- add qemu-block-ssh package
|
||||||
|
|
||||||
* Wed Nov 11 2020 Huawei Technologies Co., Ltd <alex.chen@huawei.com>
|
* Wed Nov 11 2020 Huawei Technologies Co., Ltd <alex.chen@huawei.com>
|
||||||
- hw: usb: hcd-ohci: check for processed TD before retire
|
- hw: usb: hcd-ohci: check for processed TD before retire
|
||||||
- hw: ehci: check return value of 'usb_packet_map'
|
- hw: ehci: check return value of 'usb_packet_map'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user