[openSUSE] Add packaging for documentation in info format #65
@@ -97,6 +97,28 @@ if build_docs
|
||||
alias_target('sphinxdocs', sphinxdocs)
|
||||
alias_target('html', sphinxdocs)
|
||||
alias_target('man', sphinxmans)
|
||||
|
||||
# Add a target to build and install a Texinfo version of the QEMU
|
||||
# manual, if 'makeinfo' is available.
|
||||
makeinfo = find_program(['texi2any', 'makeinfo'])
|
||||
if makeinfo.found()
|
||||
sphinxtexi = custom_target(
|
||||
'qemu.texi',
|
||||
output: ['qemu.texi', 'sphinxtexi.stamp'],
|
||||
depfile: 'sphinxtexi.d',
|
||||
command: [SPHINX_ARGS, '-Ddepfile=@DEPFILE@',
|
||||
'-Ddepfile_stamp=@OUTPUT1@', '-b', 'texinfo',
|
||||
'-d', private_dir, input_dir, meson.current_build_dir()])
|
||||
sphinxinfo = custom_target(
|
||||
'qemu.info',
|
||||
input: sphinxtexi,
|
||||
output: 'qemu.info',
|
||||
install: true,
|
||||
install_dir: get_option('infodir'),
|
||||
command: [makeinfo, '--no-split', '--output=@OUTPUT@', '@INPUT0@'])
|
||||
alias_target('texi', sphinxtexi)
|
||||
alias_target('info', sphinxinfo)
|
||||
endif
|
||||
endif
|
||||
|
||||
test('QAPI firmware.json regression tests', qapi_gen,
|
||||
|
||||
@@ -27,7 +27,7 @@ URL: https://www.qemu.org/
|
||||
Summary: CPU emulator for user space
|
||||
License: BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT
|
||||
Group: System/Emulators/PC
|
||||
Version: 9.2.2
|
||||
Version: 9.2.3
|
||||
Release: 0
|
||||
Source0: qemu-%{version}.tar.xz
|
||||
Source1: common.inc
|
||||
|
||||
@@ -88,7 +88,7 @@ URL: https://www.qemu.org/
|
||||
Summary: Machine emulator and virtualizer
|
||||
License: BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT
|
||||
Group: System/Emulators/PC
|
||||
Version: 9.2.2
|
||||
Version: 9.2.3
|
||||
Release: 0
|
||||
Source0: qemu-%{version}.tar.xz
|
||||
Source1: common.inc
|
||||
@@ -166,6 +166,7 @@ BuildRequires: python3-sphinx_rtd_theme
|
||||
BuildRequires: python311-Sphinx
|
||||
BuildRequires: python311-base
|
||||
%endif
|
||||
BuildRequires: texinfo
|
||||
BuildRequires: Mesa-devel
|
||||
BuildRequires: bison
|
||||
BuildRequires: brlapi-devel
|
||||
@@ -1966,4 +1967,19 @@ Suggests: qemu
|
||||
|
||||
This package contains user and developer documentation for QEMU.
|
||||
|
||||
%package info
|
||||
Summary: Documentation for QEMU in the info-pages format
|
||||
Group: System/Emulators/PC
|
||||
BuildArch: noarch
|
||||
Suggests: qemu
|
||||
|
||||
%files info
|
||||
%{_infodir}/*
|
||||
|
||||
%description info
|
||||
%{generic_qemu_description}
|
||||
|
||||
This package contains user and developer documentation for QEMU in
|
||||
the GNU info-pages format.
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user