| 
									
										
										
										
											2012-08-16 15:55:36 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # spec file for package libguestfs
 | 
					
						
							|  |  |  | #
 | 
					
						
							| 
									
										
										
										
											2025-01-03 22:42:14 +00:00
										 |  |  | # Copyright (c) 2025 SUSE LLC
 | 
					
						
							| 
									
										
										
										
											2011-10-02 18:45:11 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # All modifications and additions to the file contributed by third parties
 | 
					
						
							|  |  |  | # remain the property of their copyright owners, unless otherwise agreed
 | 
					
						
							|  |  |  | # upon. The license for this file, and modifications and additions to the
 | 
					
						
							|  |  |  | # file, is the same license as for the pristine package itself (unless the
 | 
					
						
							|  |  |  | # license for the pristine package is not an Open Source License, in which
 | 
					
						
							|  |  |  | # case the license is the MIT License). An "Open Source License" is a
 | 
					
						
							|  |  |  | # license that conforms to the Open Source Definition (Version 1.9)
 | 
					
						
							|  |  |  | # published by the Open Source Initiative.
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-10-06 20:23:44 +00:00
										 |  |  | # Please submit bugfixes or comments via https://bugs.opensuse.org/
 | 
					
						
							| 
									
										
										
										
											2012-08-16 15:55:36 +00:00
										 |  |  | #
 | 
					
						
							| 
									
										
										
										
											2011-10-02 18:45:11 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-08-19 21:24:42 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | Name:           libguestfs
 | 
					
						
							| 
									
										
										
										
											2022-12-15 17:48:56 +00:00
										 |  |  | ExclusiveArch:  x86_64 ppc64 ppc64le s390x aarch64 riscv64
 | 
					
						
							| 
									
										
										
										
											2025-05-21 11:44:43 +00:00
										 |  |  | Version:        1.55.13
 | 
					
						
							| 
									
										
										
										
											2013-08-19 21:24:42 +00:00
										 |  |  | Release:        0
 | 
					
						
							| 
									
										
										
										
											2022-05-26 02:33:07 +00:00
										 |  |  | Summary:        Access and modify virtual machine disk images
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | License:        GPL-2.0-or-later
 | 
					
						
							|  |  |  | URL:            http://libguestfs.org
 | 
					
						
							| 
									
										
										
										
											2013-03-25 14:22:09 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | Source0:        %{name}-%{version}.tar.gz
 | 
					
						
							|  |  |  | Source1:        %{name}-%{version}.tar.gz.sig
 | 
					
						
							|  |  |  | Source3:        libguestfs.rpmlintrc
 | 
					
						
							|  |  |  | Source5:        guestfish.sh
 | 
					
						
							|  |  |  | Source100:      mount-rootfs-and-chroot.sh
 | 
					
						
							|  |  |  | Source101:      README
 | 
					
						
							| 
									
										
										
										
											2022-01-03 20:24:04 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | # Patches
 | 
					
						
							| 
									
										
										
										
											2024-02-06 17:46:24 +00:00
										 |  |  | Patch1:         use-rtc-driftfix-slew-for-x86-only.patch
 | 
					
						
							| 
									
										
										
										
											2025-05-13 12:00:21 +00:00
										 |  |  | Patch100:       use-fuse3-for-build.patch
 | 
					
						
							| 
									
										
										
										
											2013-03-25 14:22:09 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | BuildRequires:  bison
 | 
					
						
							|  |  |  | BuildRequires:  file-devel
 | 
					
						
							|  |  |  | BuildRequires:  flex
 | 
					
						
							|  |  |  | BuildRequires:  gawk
 | 
					
						
							|  |  |  | BuildRequires:  gcc-c++
 | 
					
						
							|  |  |  | BuildRequires:  gobject-introspection-devel
 | 
					
						
							|  |  |  | BuildRequires:  gperf
 | 
					
						
							| 
									
										
										
										
											2025-01-03 22:42:14 +00:00
										 |  |  | BuildRequires:  libjson-c-devel
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | BuildRequires:  libtool
 | 
					
						
							| 
									
										
										
										
											2023-02-09 22:19:33 +00:00
										 |  |  | BuildRequires:  ocaml-augeas-devel
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | BuildRequires:  ocaml-hivex-devel
 | 
					
						
							| 
									
										
										
										
											2024-01-08 15:51:35 +00:00
										 |  |  | BuildRequires:  ocaml-rpm-macros
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | BuildRequires:  po4a
 | 
					
						
							|  |  |  | BuildRequires:  readline-devel
 | 
					
						
							|  |  |  | BuildRequires:  supermin >= 5.1.18
 | 
					
						
							| 
									
										
										
										
											2022-11-29 19:57:00 +00:00
										 |  |  | BuildRequires:  zstd
 | 
					
						
							| 
									
										
										
										
											2025-01-30 17:35:34 +00:00
										 |  |  | BuildRequires:  ocaml(ocaml_base_version) >= 4.08
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | BuildRequires:  ocamlfind(findlib)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Getopt::Long)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Locale::TextDomain)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Module::Build)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Pod::Man)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Pod::Simple)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Pod::Usage)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Test::More)
 | 
					
						
							|  |  |  | BuildRequires:  pkgconfig(augeas)
 | 
					
						
							|  |  |  | BuildRequires:  pkgconfig(bash-completion)
 | 
					
						
							| 
									
										
										
										
											2025-05-13 12:00:21 +00:00
										 |  |  | %if 0%{?suse_version} >= 1600
 | 
					
						
							| 
									
										
										
										
											2025-05-01 21:08:28 +00:00
										 |  |  | BuildRequires:  pkgconfig(fuse3)
 | 
					
						
							| 
									
										
										
										
											2025-05-03 03:49:45 +00:00
										 |  |  | %else
 | 
					
						
							|  |  |  | BuildRequires:  pkgconfig(fuse)
 | 
					
						
							|  |  |  | %endif
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | BuildRequires:  pkgconfig(hivex)
 | 
					
						
							|  |  |  | BuildRequires:  pkgconfig(jansson)
 | 
					
						
							|  |  |  | BuildRequires:  pkgconfig(libacl)
 | 
					
						
							|  |  |  | BuildRequires:  pkgconfig(libcap)
 | 
					
						
							|  |  |  | BuildRequires:  pkgconfig(libconfig)
 | 
					
						
							|  |  |  | BuildRequires:  pkgconfig(liblzma)
 | 
					
						
							|  |  |  | BuildRequires:  pkgconfig(libpcre2-8)
 | 
					
						
							|  |  |  | BuildRequires:  pkgconfig(libtirpc)
 | 
					
						
							|  |  |  | BuildRequires:  pkgconfig(libvirt)
 | 
					
						
							|  |  |  | BuildRequires:  pkgconfig(libxml-2.0)
 | 
					
						
							| 
									
										
										
										
											2024-02-01 14:44:32 +00:00
										 |  |  | BuildRequires:  pkgconfig(libzstd)
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | BuildRequires:  pkgconfig(ncurses)
 | 
					
						
							|  |  |  | BuildRequires:  pkgconfig(python3)
 | 
					
						
							|  |  |  | BuildRequires:  pkgconfig(rpm) >= 4.6.0
 | 
					
						
							|  |  |  | BuildRequires:  pkgconfig(tinfo)
 | 
					
						
							| 
									
										
										
										
											2013-03-25 14:22:09 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-07-05 17:39:02 +00:00
										 |  |  | Requires:       libguestfs-appliance
 | 
					
						
							| 
									
										
										
										
											2022-05-23 17:30:45 +00:00
										 |  |  | Obsoletes:      guestfs-tools <= 1.44.2
 | 
					
						
							| 
									
										
										
										
											2016-06-22 19:08:28 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %description
 | 
					
						
							| 
									
										
										
										
											2022-05-26 02:33:07 +00:00
										 |  |  | Libguestfs is a library for accessing and modifying virtual machine
 | 
					
						
							|  |  |  | disk images.  http://libguestfs.org
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Libguestfs uses Linux kernel and qemu code, and can access any type of
 | 
					
						
							|  |  |  | guest filesystem that Linux and qemu can, including but not limited
 | 
					
						
							|  |  |  | to: ext2/3/4, btrfs, FAT and NTFS, LVM, many different disk partition
 | 
					
						
							|  |  |  | schemes, qcow, qcow2, vmdk.
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %prep
 | 
					
						
							| 
									
										
										
										
											2025-05-13 12:00:21 +00:00
										 |  |  | %autosetup -N
 | 
					
						
							|  |  |  | %autopatch -p1 -M 99
 | 
					
						
							|  |  |  | %if 0%{?suse_version} >= 1600
 | 
					
						
							|  |  |  | %autopatch -p1 -m 100
 | 
					
						
							|  |  |  | %endif
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-26 02:57:06 +00:00
										 |  |  | sed -i 's|RPMVSF_MASK_NOSIGNATURES|_RPMVSF_NOSIGNATURES|' daemon/rpm-c.c
 | 
					
						
							| 
									
										
										
										
											2024-01-08 15:49:08 +00:00
										 |  |  | sed -i 's/tar zcf/tar -zcf/' appliance/Makefile.am
 | 
					
						
							| 
									
										
										
										
											2022-05-26 02:57:06 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %build
 | 
					
						
							| 
									
										
										
										
											2024-01-08 15:49:08 +00:00
										 |  |  | # provide a wrapper to tar that creates bit-reproducible output (boo#1218191)
 | 
					
						
							|  |  |  | # used in supermin for base.tar.gz, in %install for zz-winsupport.tar.gz zz-scripts.tar.gz and in appliance/Makefile.am for 3 more .tar.gz files
 | 
					
						
							|  |  |  | SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH:-$(date -r %{SOURCE0} +%%s)}
 | 
					
						
							| 
									
										
										
										
											2024-01-09 23:04:21 +00:00
										 |  |  | mkdir -p ~/bin ; cat >~/bin/tar <<EOF
 | 
					
						
							| 
									
										
										
										
											2024-01-08 15:49:08 +00:00
										 |  |  | #!/bin/sh
 | 
					
						
							|  |  |  | exec /usr/bin/tar \
 | 
					
						
							|  |  |  |   --sort=name --clamp-mtime --mtime=@$SOURCE_DATE_EPOCH \
 | 
					
						
							|  |  |  |   --owner=0 --group=0 --numeric-owner \
 | 
					
						
							|  |  |  |   --pax-option=exthdr.name=%%d/PaxHeaders/%%f,delete=atime,delete=ctime \
 | 
					
						
							|  |  |  |   "\$@"
 | 
					
						
							|  |  |  | EOF
 | 
					
						
							|  |  |  | chmod a+x ~/bin/tar
 | 
					
						
							|  |  |  | PATH=~/bin:$PATH
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-03-30 18:23:56 +00:00
										 |  |  | %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 | 
					
						
							| 
									
										
										
										
											2014-07-07 08:21:47 +00:00
										 |  |  | # use 'env LIBGUESTFS_HV=/path/to/kvm libguestfs-test-tool' to verify
 | 
					
						
							|  |  |  | %define kvm_binary /bin/false
 | 
					
						
							|  |  |  | %ifarch aarch64
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %define kvm_binary %{_bindir}/qemu-system-aarch64
 | 
					
						
							| 
									
										
										
										
											2014-07-07 08:21:47 +00:00
										 |  |  | %endif
 | 
					
						
							| 
									
										
										
										
											2014-07-08 10:54:55 +00:00
										 |  |  | %ifarch ppc64le
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %define kvm_binary %{_bindir}/qemu-system-ppc64
 | 
					
						
							| 
									
										
										
										
											2014-07-08 10:54:55 +00:00
										 |  |  | %endif
 | 
					
						
							| 
									
										
										
										
											2014-07-07 08:21:47 +00:00
										 |  |  | %ifarch ppc64
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %define kvm_binary %{_bindir}/qemu-system-ppc64
 | 
					
						
							| 
									
										
										
										
											2014-07-07 08:21:47 +00:00
										 |  |  | %endif
 | 
					
						
							| 
									
										
										
										
											2022-12-15 17:48:56 +00:00
										 |  |  | %ifarch riscv64
 | 
					
						
							|  |  |  | %define kvm_binary %{_bindir}/qemu-system-riscv64
 | 
					
						
							|  |  |  | %endif
 | 
					
						
							| 
									
										
										
										
											2014-07-07 08:21:47 +00:00
										 |  |  | %ifarch s390x
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %define kvm_binary %{_bindir}/qemu-system-s390x
 | 
					
						
							| 
									
										
										
										
											2014-07-07 08:21:47 +00:00
										 |  |  | %endif
 | 
					
						
							|  |  |  | %ifarch x86_64
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %define kvm_binary %{_bindir}/qemu-system-x86_64
 | 
					
						
							| 
									
										
										
										
											2014-07-07 08:21:47 +00:00
										 |  |  | %endif
 | 
					
						
							|  |  |  | #
 | 
					
						
							| 
									
										
										
										
											2012-11-14 16:31:29 +00:00
										 |  |  | %define guestfs_docdir %{_defaultdocdir}/%{name}
 | 
					
						
							| 
									
										
										
										
											2016-05-25 12:44:28 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | export AWK='%{_bindir}/gawk'
 | 
					
						
							|  |  |  | export CPIO='%{_bindir}/cpio'
 | 
					
						
							|  |  |  | export GPERF='%{_bindir}/gperf'
 | 
					
						
							|  |  |  | export MKISOFS='%{_bindir}/xorrisofs'
 | 
					
						
							|  |  |  | export XMLLINT='%{_bindir}/xmllint'
 | 
					
						
							|  |  |  | export PO4A_GETTEXTIZE='%{_bindir}/po4a-gettextize'
 | 
					
						
							|  |  |  | export PO4A_TRANSLATE='%{_bindir}/po4a-translate'
 | 
					
						
							|  |  |  | export SQLITE3='%{_bindir}/sqlite3'
 | 
					
						
							|  |  |  | export PBMTEXT='%{_bindir}/pbmtext'
 | 
					
						
							|  |  |  | export PNMTOPNG='%{_bindir}/pnmtopng'
 | 
					
						
							|  |  |  | export BMPTOPNM='%{_bindir}/bmptopnm'
 | 
					
						
							|  |  |  | export PAMCUT='%{_bindir}/pamcut'
 | 
					
						
							|  |  |  | export WRESTOOL='%{_bindir}/wrestool'
 | 
					
						
							|  |  |  | export XZCAT='%{_bindir}/xzcat'
 | 
					
						
							|  |  |  | export VALGRIND='%{_bindir}/valgrind'
 | 
					
						
							|  |  |  | export FUSER='%{_bindir}/fuser'
 | 
					
						
							|  |  |  | export TOOL_TRUE='%{_bindir}/true'
 | 
					
						
							|  |  |  | export XGETTEXT='%{_bindir}/xgettext'
 | 
					
						
							|  |  |  | export MSGCAT='%{_bindir}/msgcat'
 | 
					
						
							|  |  |  | export MSGFMT='%{_bindir}/msgfmt'
 | 
					
						
							|  |  |  | export MSGMERGE='%{_bindir}/msgmerge'
 | 
					
						
							|  |  |  | export RPCGEN='%{_bindir}/rpcgen'
 | 
					
						
							|  |  |  | export SUPERMIN='%{_bindir}/supermin'
 | 
					
						
							|  |  |  | export QEMU="%{kvm_binary}"
 | 
					
						
							|  |  |  | export vmchannel_test=no
 | 
					
						
							|  |  |  | export PERL='%{_bindir}/perl'
 | 
					
						
							|  |  |  | export PYTHON='%{_bindir}/python3'
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | sed -i~ '
 | 
					
						
							|  |  |  | /test-data/d
 | 
					
						
							|  |  |  | ' configure.ac
 | 
					
						
							|  |  |  | diff -u "$_"~ "$_" && exit 0
 | 
					
						
							|  |  |  | sed -i~ '
 | 
					
						
							|  |  |  | /SUBDIRS/s@test-data@@
 | 
					
						
							|  |  |  | ' Makefile.am
 | 
					
						
							|  |  |  | diff -u "$_"~ "$_" && exit 0
 | 
					
						
							|  |  |  | autoreconf -fi
 | 
					
						
							| 
									
										
										
										
											2014-02-04 21:58:08 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %configure --help
 | 
					
						
							|  |  |  | %configure \
 | 
					
						
							|  |  |  |         --docdir=%{guestfs_docdir} \
 | 
					
						
							|  |  |  | 	--with-distro=SUSE \
 | 
					
						
							|  |  |  | 	--with-readline \
 | 
					
						
							|  |  |  |         --with-guestfs-path=%{_libdir}/guestfs \
 | 
					
						
							|  |  |  |         --with-qemu=$QEMU \
 | 
					
						
							|  |  |  |         --with-supermin-packager-config="$PWD/zypper.priv.conf --use-installed --verbose" \
 | 
					
						
							|  |  |  |         --without-java \
 | 
					
						
							| 
									
										
										
										
											2023-03-15 10:25:05 +00:00
										 |  |  |         --enable-appliance-format-auto \
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  |         --enable-daemon \
 | 
					
						
							|  |  |  | 	--enable-install-daemon \
 | 
					
						
							|  |  |  |         --enable-ocaml \
 | 
					
						
							|  |  |  |         --enable-perl \
 | 
					
						
							|  |  |  |         --enable-python \
 | 
					
						
							|  |  |  |         --disable-erlang \
 | 
					
						
							|  |  |  |         --disable-haskell \
 | 
					
						
							|  |  |  |         --disable-php \
 | 
					
						
							|  |  |  |         --disable-rpath \
 | 
					
						
							|  |  |  |         --disable-static \
 | 
					
						
							|  |  |  | 	%nil
 | 
					
						
							| 
									
										
										
										
											2011-10-02 18:45:11 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | # 'INSTALLDIRS' ensures that perl libs are installed in the vendor dir instead of the site dir
 | 
					
						
							|  |  |  | build_it() {
 | 
					
						
							|  |  |  | make \
 | 
					
						
							|  |  |  | 	INSTALLDIRS=vendor \
 | 
					
						
							|  |  |  | 	LD_RUN_PATH= \
 | 
					
						
							|  |  |  | 	"$@"
 | 
					
						
							|  |  |  | }
 | 
					
						
							| 
									
										
										
										
											2011-10-02 18:45:11 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | build_it %{?_smp_mflags} || build_it
 | 
					
						
							| 
									
										
										
										
											2016-07-28 10:00:45 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %install
 | 
					
						
							| 
									
										
										
										
											2024-01-08 15:49:08 +00:00
										 |  |  | PATH=~/bin:$PATH
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %make_install \
 | 
					
						
							|  |  |  | 	INSTALLDIRS=vendor \
 | 
					
						
							|  |  |  | 	udevrulesdir=%{_udevrulesdir}
 | 
					
						
							|  |  |  | find %buildroot -ls
 | 
					
						
							| 
									
										
										
										
											2016-07-28 10:00:45 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | rm -f $( find %buildroot -name '*.a' | grep -v /ocaml/ )
 | 
					
						
							| 
									
										
										
										
											2012-09-13 18:07:18 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | find %buildroot -name '*.la' -delete
 | 
					
						
							| 
									
										
										
										
											2012-09-13 18:07:18 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | mkdir -p %{buildroot}/etc/profile.d
 | 
					
						
							|  |  |  | cp %{S:5} %{buildroot}/etc/profile.d
 | 
					
						
							| 
									
										
										
										
											2012-09-13 18:07:18 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | # Perl
 | 
					
						
							|  |  |  | find %{buildroot}/ -name "*.bs" -size 0c -print -delete
 | 
					
						
							|  |  |  | %perl_process_packlist
 | 
					
						
							| 
									
										
										
										
											2012-09-13 18:07:18 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-01-08 15:18:16 +00:00
										 |  |  | # OCaml
 | 
					
						
							|  |  |  | %ocaml_create_file_list
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | # Supermin
 | 
					
						
							| 
									
										
										
										
											2024-01-11 22:57:43 +00:00
										 |  |  | # Use RPMs from packagelist for the packages file. Sort and clean leading whitespace.
 | 
					
						
							|  |  |  | sort -u appliance/packagelist | awk '{$1=$1};1' > %buildroot%_libdir/guestfs/supermin.d/packages
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | pushd $RPM_BUILD_ROOT%{_libdir}/guestfs/supermin.d
 | 
					
						
							| 
									
										
										
										
											2012-09-01 18:53:34 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | function remove
 | 
					
						
							|  |  |  | {
 | 
					
						
							|  |  |  |     grep -Ev "^$1$" < packages > packages-t
 | 
					
						
							|  |  |  |     mv packages-t packages
 | 
					
						
							|  |  |  | }
 | 
					
						
							| 
									
										
										
										
											2012-09-01 18:53:34 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | function move_to
 | 
					
						
							|  |  |  | {
 | 
					
						
							|  |  |  |     if ! grep -Esq "^$1$" packages; then
 | 
					
						
							|  |  |  |         echo "move_to $1: package name not found in packages file"
 | 
					
						
							|  |  |  |         exit 1
 | 
					
						
							|  |  |  |     fi
 | 
					
						
							|  |  |  |     remove "$1"
 | 
					
						
							|  |  |  |     echo "$1" >> "$2"
 | 
					
						
							|  |  |  | }
 | 
					
						
							| 
									
										
										
										
											2012-09-01 18:26:42 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | move_to iputils         zz-packages-rescue
 | 
					
						
							|  |  |  | move_to lsof            zz-packages-rescue
 | 
					
						
							|  |  |  | move_to pciutils        zz-packages-rescue
 | 
					
						
							|  |  |  | move_to strace          zz-packages-rescue
 | 
					
						
							|  |  |  | move_to vim             zz-packages-rescue
 | 
					
						
							|  |  |  | move_to rsync           zz-packages-rsync
 | 
					
						
							|  |  |  | move_to xfsprogs        zz-packages-xfs
 | 
					
						
							| 
									
										
										
										
											2012-09-01 18:26:42 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | popd
 | 
					
						
							| 
									
										
										
										
											2012-09-01 18:26:42 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | # Remove the .gitignore file from ocaml/html which will be copied to docdir.
 | 
					
						
							|  |  |  | rm ocaml/html/.gitignore
 | 
					
						
							| 
									
										
										
										
											2012-08-15 18:06:38 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %find_lang %{name}
 | 
					
						
							| 
									
										
										
										
											2012-11-19 16:25:26 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | # Appliance NTFS files
 | 
					
						
							|  |  |  | # Just copy the content of the ntfs packages
 | 
					
						
							|  |  |  | mkdir winsupport
 | 
					
						
							|  |  |  | for pkg in $(rpm -qa | grep ntfs); do
 | 
					
						
							|  |  |  |     rpm -ql $pkg > $pkg.list
 | 
					
						
							|  |  |  |     rsync -av --files-from $pkg.list / winsupport
 | 
					
						
							|  |  |  | done
 | 
					
						
							| 
									
										
										
										
											2017-09-01 14:44:47 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | cp %{S:101} winsupport
 | 
					
						
							| 
									
										
										
										
											2017-08-02 16:04:59 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | pushd winsupport
 | 
					
						
							| 
									
										
										
										
											2024-01-08 15:49:08 +00:00
										 |  |  | tar -czf %{buildroot}%{_libdir}/guestfs/supermin.d/zz-winsupport.tar.gz .
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | popd
 | 
					
						
							| 
									
										
										
										
											2011-10-02 18:45:11 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | cat > %{buildroot}%{_libdir}/guestfs/supermin.d/zz-packages-winsupport << EOF
 | 
					
						
							| 
									
										
										
										
											2025-05-13 12:00:21 +00:00
										 |  |  | %if 0%{?suse_version} >= 1600
 | 
					
						
							| 
									
										
										
										
											2025-05-01 21:08:28 +00:00
										 |  |  | libfuse3
 | 
					
						
							| 
									
										
										
										
											2025-05-03 03:49:45 +00:00
										 |  |  | %else
 | 
					
						
							|  |  |  | libfuse2
 | 
					
						
							|  |  |  | %endif
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | hwinfo
 | 
					
						
							|  |  |  | EOF
 | 
					
						
							| 
									
										
										
										
											2011-10-02 18:45:11 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-02-09 22:19:33 +00:00
										 |  |  | # Do some cleanup so that rpm can properly empty directories without permission denied
 | 
					
						
							| 
									
										
										
										
											2022-12-16 16:34:17 +00:00
										 |  |  | # The winsupport directory has already been tar'ed up, so we don't care much
 | 
					
						
							|  |  |  | find winsupport -type d -exec chmod 755 {} \;
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | mkdir -p %{buildroot}/tmp/usr/bin
 | 
					
						
							|  |  |  | cp %{S:100} %{buildroot}/tmp/usr/bin
 | 
					
						
							|  |  |  | chmod a+x %{buildroot}/tmp/usr/bin/*
 | 
					
						
							|  |  |  | pushd %{buildroot}/tmp
 | 
					
						
							|  |  |  | tar -czf %{buildroot}/%{_libdir}/guestfs/supermin.d/zz-scripts.tar.gz usr
 | 
					
						
							|  |  |  | popd
 | 
					
						
							|  |  |  | rm -rf %{buildroot}/tmp
 | 
					
						
							| 
									
										
										
										
											2021-12-21 20:41:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-26 02:33:07 +00:00
										 |  |  | %package -n libguestfs0
 | 
					
						
							|  |  |  | Summary:        Runtime library of libguestfs
 | 
					
						
							|  |  |  | Requires:       %{kvm_binary}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %description -n libguestfs0
 | 
					
						
							|  |  |  | Shared object library for libguestfs tools which are used to access
 | 
					
						
							|  |  |  | and modify virtual machines.
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %package -n libguestfsd
 | 
					
						
							|  |  |  | Summary:        Daemon for the libguestfs appliance
 | 
					
						
							|  |  |  | Provides:       guestfsd = %{version}
 | 
					
						
							|  |  |  | Obsoletes:      guestfsd < %{version}
 | 
					
						
							| 
									
										
										
										
											2014-01-22 10:15:09 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %description -n libguestfsd
 | 
					
						
							|  |  |  | guestfsd runs within the libguestfs appliance. It receives commands from the host
 | 
					
						
							|  |  |  | and performs the requested action by calling the helper binaries.
 | 
					
						
							|  |  |  | This package is only required for building the appliance.
 | 
					
						
							| 
									
										
										
										
											2014-01-22 10:15:09 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %package -n libguestfs-appliance
 | 
					
						
							| 
									
										
										
										
											2012-09-19 15:53:43 +00:00
										 |  |  | BuildRequires:  augeas-lenses
 | 
					
						
							| 
									
										
										
										
											2014-07-09 08:04:24 +00:00
										 |  |  | BuildRequires:  bc
 | 
					
						
							| 
									
										
										
										
											2012-09-03 18:08:08 +00:00
										 |  |  | BuildRequires:  btrfsprogs
 | 
					
						
							|  |  |  | BuildRequires:  bzip2
 | 
					
						
							|  |  |  | BuildRequires:  coreutils
 | 
					
						
							|  |  |  | BuildRequires:  cpio
 | 
					
						
							|  |  |  | BuildRequires:  cryptsetup
 | 
					
						
							| 
									
										
										
										
											2025-05-27 14:51:43 +00:00
										 |  |  | %if 0%{?suse_version} < 1600
 | 
					
						
							|  |  |  | BuildRequires:  dhcp-client
 | 
					
						
							|  |  |  | %else
 | 
					
						
							| 
									
										
										
										
											2025-05-27 14:44:56 +00:00
										 |  |  | BuildRequires:  dhcpcd
 | 
					
						
							| 
									
										
										
										
											2025-05-27 14:51:43 +00:00
										 |  |  | %endif
 | 
					
						
							| 
									
										
										
										
											2012-09-03 18:08:08 +00:00
										 |  |  | BuildRequires:  diffutils
 | 
					
						
							| 
									
										
										
										
											2012-09-03 18:10:43 +00:00
										 |  |  | BuildRequires:  dosfstools
 | 
					
						
							| 
									
										
										
										
											2012-09-03 18:08:08 +00:00
										 |  |  | BuildRequires:  e2fsprogs
 | 
					
						
							|  |  |  | BuildRequires:  file
 | 
					
						
							|  |  |  | BuildRequires:  findutils
 | 
					
						
							|  |  |  | BuildRequires:  glibc
 | 
					
						
							| 
									
										
										
										
											2014-07-04 07:52:15 +00:00
										 |  |  | BuildRequires:  gptfdisk
 | 
					
						
							| 
									
										
										
										
											2017-05-30 12:54:35 +00:00
										 |  |  | BuildRequires:  grep
 | 
					
						
							| 
									
										
										
										
											2012-09-03 18:08:08 +00:00
										 |  |  | BuildRequires:  gzip
 | 
					
						
							| 
									
										
										
										
											2016-11-30 17:07:51 +00:00
										 |  |  | BuildRequires:  initviocons
 | 
					
						
							| 
									
										
										
										
											2012-09-03 18:08:08 +00:00
										 |  |  | BuildRequires:  iproute2
 | 
					
						
							| 
									
										
										
										
											2012-09-13 05:10:10 +00:00
										 |  |  | BuildRequires:  jfsutils
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | BuildRequires:  ldmtool
 | 
					
						
							| 
									
										
										
										
											2012-09-03 18:08:08 +00:00
										 |  |  | BuildRequires:  lvm2
 | 
					
						
							|  |  |  | BuildRequires:  mdadm
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | BuildRequires:  mkisofs
 | 
					
						
							| 
									
										
										
										
											2012-09-03 18:08:08 +00:00
										 |  |  | BuildRequires:  module-init-tools
 | 
					
						
							| 
									
										
										
										
											2016-05-25 12:44:28 +00:00
										 |  |  | BuildRequires:  ncurses-utils
 | 
					
						
							| 
									
										
										
										
											2014-01-20 16:32:24 +00:00
										 |  |  | BuildRequires:  nfs-client
 | 
					
						
							| 
									
										
										
										
											2012-09-03 18:08:08 +00:00
										 |  |  | BuildRequires:  ntfs-3g
 | 
					
						
							|  |  |  | BuildRequires:  ntfsprogs
 | 
					
						
							| 
									
										
										
										
											2016-05-25 12:44:28 +00:00
										 |  |  | BuildRequires:  pam-config
 | 
					
						
							| 
									
										
										
										
											2012-09-03 18:08:08 +00:00
										 |  |  | BuildRequires:  parted
 | 
					
						
							| 
									
										
										
										
											2014-07-04 07:54:14 +00:00
										 |  |  | BuildRequires:  psmisc
 | 
					
						
							| 
									
										
										
										
											2016-05-25 12:44:28 +00:00
										 |  |  | BuildRequires:  sg3_utils
 | 
					
						
							| 
									
										
										
										
											2012-09-03 18:08:08 +00:00
										 |  |  | BuildRequires:  strace
 | 
					
						
							| 
									
										
										
										
											2025-04-03 17:44:32 +00:00
										 |  |  | %if 0%{?suse_version} < 1600
 | 
					
						
							| 
									
										
										
										
											2023-09-25 21:01:06 +00:00
										 |  |  | BuildRequires:  sysconfig-netconfig
 | 
					
						
							| 
									
										
										
										
											2025-04-03 17:44:32 +00:00
										 |  |  | %endif
 | 
					
						
							| 
									
										
										
										
											2014-07-04 07:52:15 +00:00
										 |  |  | %ifarch %ix86 x86_64
 | 
					
						
							|  |  |  | BuildRequires:  syslinux
 | 
					
						
							|  |  |  | %endif
 | 
					
						
							| 
									
										
										
										
											2012-09-03 18:08:08 +00:00
										 |  |  | BuildRequires:  tar
 | 
					
						
							| 
									
										
										
										
											2012-09-07 15:03:24 +00:00
										 |  |  | BuildRequires:  terminfo-base
 | 
					
						
							| 
									
										
										
										
											2016-05-25 12:44:28 +00:00
										 |  |  | BuildRequires:  tunctl
 | 
					
						
							| 
									
										
										
										
											2012-09-03 18:08:08 +00:00
										 |  |  | BuildRequires:  udev
 | 
					
						
							|  |  |  | BuildRequires:  util-linux
 | 
					
						
							| 
									
										
										
										
											2016-05-25 12:44:28 +00:00
										 |  |  | BuildRequires:  util-linux-lang
 | 
					
						
							| 
									
										
										
										
											2012-09-03 18:08:08 +00:00
										 |  |  | BuildRequires:  xfsprogs
 | 
					
						
							|  |  |  | BuildRequires:  xz
 | 
					
						
							| 
									
										
										
										
											2016-07-28 10:00:45 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-05 14:30:45 +00:00
										 |  |  | # Needed by guestfsd which is burried in the appliance
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | # The problem with this design is that rpm can't find the
 | 
					
						
							|  |  |  | # library dependencies from the guestfsd hidden in the
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | # daemon.tar.gz tarball. Supermin will compute an appliance
 | 
					
						
							| 
									
										
										
										
											2016-08-05 14:30:45 +00:00
										 |  |  | # at runtime based on the packages it will find on the host.
 | 
					
						
							|  |  |  | # Thus if there is no libaugeas, libhivex, etc on the host,
 | 
					
						
							|  |  |  | # the appliance will fail to start the guestfsd.
 | 
					
						
							| 
									
										
										
										
											2017-07-17 07:05:45 +00:00
										 |  |  | Requires:       augeas
 | 
					
						
							|  |  |  | Requires:       augeas-lenses
 | 
					
						
							| 
									
										
										
										
											2025-05-27 14:51:43 +00:00
										 |  |  | %if 0%{?suse_version} < 1600
 | 
					
						
							|  |  |  | Requires:       dhcp-client
 | 
					
						
							|  |  |  | %else
 | 
					
						
							| 
									
										
										
										
											2025-05-27 14:44:56 +00:00
										 |  |  | Requires:       dhcpcd
 | 
					
						
							| 
									
										
										
										
											2025-05-27 14:51:43 +00:00
										 |  |  | %endif
 | 
					
						
							| 
									
										
										
										
											2016-08-05 14:30:45 +00:00
										 |  |  | Requires:       libaugeas0
 | 
					
						
							|  |  |  | Requires:       libcap2
 | 
					
						
							| 
									
										
										
										
											2022-05-26 02:33:07 +00:00
										 |  |  | Requires:       libguestfs0
 | 
					
						
							| 
									
										
										
										
											2016-08-05 14:30:45 +00:00
										 |  |  | Requires:       libhivex0
 | 
					
						
							| 
									
										
										
										
											2025-03-28 17:33:05 +00:00
										 |  |  | Requires:       libpcre2-8-0
 | 
					
						
							| 
									
										
										
										
											2016-08-05 14:30:45 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-30 05:31:37 +00:00
										 |  |  | # For core disk features
 | 
					
						
							|  |  |  | Requires:       qemu-tools
 | 
					
						
							| 
									
										
										
										
											2024-05-07 16:32:24 +00:00
										 |  |  | Requires:       btrfsprogs
 | 
					
						
							|  |  |  | Requires:       cryptsetup
 | 
					
						
							|  |  |  | Requires:       dosfstools
 | 
					
						
							|  |  |  | Requires:       e2fsprogs
 | 
					
						
							|  |  |  | Requires:       gptfdisk
 | 
					
						
							|  |  |  | Requires:       jfsutils
 | 
					
						
							|  |  |  | Requires:       ldmtool
 | 
					
						
							|  |  |  | Requires:       mdadm
 | 
					
						
							|  |  |  | Requires:       mkisofs
 | 
					
						
							| 
									
										
										
										
											2024-05-08 17:04:13 +00:00
										 |  |  | Recommends:     ntfsprogs
 | 
					
						
							| 
									
										
										
										
											2024-05-07 16:32:24 +00:00
										 |  |  | Requires:       parted
 | 
					
						
							| 
									
										
										
										
											2023-07-05 17:39:02 +00:00
										 |  |  | Requires:       supermin >= 5.1.18
 | 
					
						
							| 
									
										
										
										
											2024-05-07 16:32:24 +00:00
										 |  |  | Requires:       xfsprogs
 | 
					
						
							| 
									
										
										
										
											2024-05-08 17:04:13 +00:00
										 |  |  | Recommends:     zerofree
 | 
					
						
							| 
									
										
										
										
											2016-08-30 05:31:37 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-10-02 18:45:11 +00:00
										 |  |  | Summary:        Virtual machine needed for libguestfs
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | Provides:       guestfs-data = %{version}
 | 
					
						
							|  |  |  | Obsoletes:      guestfs-data < %{version}
 | 
					
						
							| 
									
										
										
										
											2011-10-02 18:45:11 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %description -n libguestfs-appliance
 | 
					
						
							| 
									
										
										
										
											2022-05-26 02:33:07 +00:00
										 |  |  | libguestfs-appliance provides the appliance used by libguestfs.
 | 
					
						
							| 
									
										
										
										
											2011-10-02 18:45:11 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %package winsupport
 | 
					
						
							| 
									
										
										
										
											2017-09-25 09:23:26 +00:00
										 |  |  | Summary:        Windows guest support in libguestfs
 | 
					
						
							| 
									
										
										
										
											2017-09-21 09:01:23 +00:00
										 |  |  | Requires:       libguestfs >= 1.32
 | 
					
						
							|  |  |  | BuildRequires:  ntfs-3g
 | 
					
						
							|  |  |  | BuildRequires:  ntfsprogs
 | 
					
						
							|  |  |  | BuildRequires:  rsync
 | 
					
						
							| 
									
										
										
										
											2024-04-15 19:12:58 +00:00
										 |  |  | Requires:       ntfs-3g
 | 
					
						
							| 
									
										
										
										
											2024-05-07 21:00:57 +00:00
										 |  |  | Requires:       ntfsprogs
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | Provides:       guestfs-winsupport = %{version}
 | 
					
						
							|  |  |  | Obsoletes:      guestfs-winsupport < %{version}
 | 
					
						
							| 
									
										
										
										
											2017-09-21 09:01:23 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %description winsupport
 | 
					
						
							| 
									
										
										
										
											2017-09-21 09:01:23 +00:00
										 |  |  | Provides the needed pieces for libguestfs to handle Windows guests.
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-10-02 18:45:11 +00:00
										 |  |  | %package devel
 | 
					
						
							|  |  |  | Summary:        Development files for libguestfs
 | 
					
						
							| 
									
										
										
										
											2022-06-01 16:58:56 +00:00
										 |  |  | Requires:       libguestfs0 = %{version}
 | 
					
						
							| 
									
										
										
										
											2011-10-02 18:45:11 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %description devel
 | 
					
						
							|  |  |  | Development files for libguestfs.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | libguestfs is a set of tools for accessing and modifying virtual machine (VM)
 | 
					
						
							|  |  |  | disk images. You can use this for viewing and editing files inside guests,
 | 
					
						
							|  |  |  | scripting changes to VMs, monitoring disk used/free statistics, P2V, V2V,
 | 
					
						
							|  |  |  | performing partial backups, cloning VMs, and much else besides.
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %package bash-completion
 | 
					
						
							|  |  |  | Summary:        Bash tab-completion scripts for %{name} tools
 | 
					
						
							|  |  |  | BuildArch:      noarch
 | 
					
						
							|  |  |  | Requires:       bash-completion >= 2.0
 | 
					
						
							| 
									
										
										
										
											2011-10-02 18:45:11 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %description bash-completion
 | 
					
						
							|  |  |  | Install this package if you want intelligent bash tab-completion
 | 
					
						
							|  |  |  | for guestfish, guestmount and various virt-* tools.
 | 
					
						
							| 
									
										
										
										
											2021-12-21 20:41:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %package inspect-icons
 | 
					
						
							|  |  |  | Summary:        Additional dependencies for inspecting guest icons
 | 
					
						
							|  |  |  | BuildArch:      noarch
 | 
					
						
							|  |  |  | Requires:       %{name} = %{version}-%{release}
 | 
					
						
							| 
									
										
										
										
											2022-10-27 14:34:27 +00:00
										 |  |  | %if 0%{?suse_version} > 1500
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | Requires:       icoutils
 | 
					
						
							| 
									
										
										
										
											2022-10-27 14:34:27 +00:00
										 |  |  | %endif
 | 
					
						
							| 
									
										
										
										
											2021-12-21 20:41:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %description inspect-icons
 | 
					
						
							|  |  |  | %{name}-inspect-icons is a metapackage that pulls in additional
 | 
					
						
							|  |  |  | dependencies required by libguestfs to pull icons out of non-Linux
 | 
					
						
							|  |  |  | guests.  Install this package if you want libguestfs to be able to
 | 
					
						
							|  |  |  | inspect non-Linux guests and display icons from them.
 | 
					
						
							| 
									
										
										
										
											2021-12-21 20:41:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | The only reason this is a separate package is to avoid core libguestfs
 | 
					
						
							|  |  |  | having to depend on Perl.
 | 
					
						
							| 
									
										
										
										
											2021-12-21 20:41:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %package -n ocaml-%{name}
 | 
					
						
							|  |  |  | Summary:        OCaml bindings for %{name}
 | 
					
						
							|  |  |  | Requires:       %{name} = %{version}-%{release}
 | 
					
						
							| 
									
										
										
										
											2021-12-21 20:41:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %description -n ocaml-%{name}
 | 
					
						
							|  |  |  | ocaml-%{name} contains OCaml bindings for %{name}.
 | 
					
						
							| 
									
										
										
										
											2021-12-21 20:41:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | This is for toplevel and scripting access only.  To compile OCaml
 | 
					
						
							|  |  |  | programs which use %{name} you will also need ocaml-%{name}-devel.
 | 
					
						
							| 
									
										
										
										
											2021-12-21 20:41:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %package -n ocaml-%{name}-devel
 | 
					
						
							|  |  |  | Summary:        OCaml bindings for %{name}
 | 
					
						
							|  |  |  | Requires:       ocaml-%{name} = %{version}-%{release}
 | 
					
						
							| 
									
										
										
										
											2021-12-21 20:41:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %description -n ocaml-%{name}-devel
 | 
					
						
							|  |  |  | ocaml-%{name}-devel contains development libraries
 | 
					
						
							|  |  |  | required to use the OCaml bindings for %{name}.
 | 
					
						
							| 
									
										
										
										
											2021-12-21 20:41:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %package -n perl-Sys-Guestfs
 | 
					
						
							|  |  |  | Summary:        Perl bindings for %{name} (Sys::Guestfs)
 | 
					
						
							|  |  |  | Requires:       %{name} = %{version}-%{release}
 | 
					
						
							|  |  |  | Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 | 
					
						
							| 
									
										
										
										
											2021-12-21 20:41:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %description -n perl-Sys-Guestfs
 | 
					
						
							|  |  |  | perl-Sys-Guestfs contains Perl bindings for %{name} (Sys::Guestfs).
 | 
					
						
							| 
									
										
										
										
											2021-12-21 20:41:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %package -n python3-%{name}
 | 
					
						
							|  |  |  | Summary:        Python 3 bindings for %{name}
 | 
					
						
							|  |  |  | BuildRequires:  python-rpm-macros
 | 
					
						
							|  |  |  | Requires:       %{name} = %{version}-%{release}
 | 
					
						
							|  |  |  | %{?python_provide:%python_provide python3-%{name}}
 | 
					
						
							| 
									
										
										
										
											2021-12-21 20:41:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %description -n python3-%{name}
 | 
					
						
							|  |  |  | python3-%{name} contains Python 3 bindings for %{name}.
 | 
					
						
							| 
									
										
										
										
											2021-12-21 20:41:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %package -n rubygem-%{name}
 | 
					
						
							|  |  |  | Summary:        Ruby bindings for %{name}
 | 
					
						
							|  |  |  | BuildRequires:  ruby
 | 
					
						
							|  |  |  | BuildRequires:  ruby-devel
 | 
					
						
							|  |  |  | BuildRequires:  rubygem(rake)
 | 
					
						
							|  |  |  | Requires:       %{name} = %{version}-%{release}
 | 
					
						
							|  |  |  | Requires:       ruby
 | 
					
						
							| 
									
										
										
										
											2021-12-21 20:41:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %description -n rubygem-%{name}
 | 
					
						
							|  |  |  | ruby-%{name} contains Ruby bindings for %{name}.
 | 
					
						
							| 
									
										
										
										
											2016-06-22 19:08:28 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-23 18:42:01 +00:00
										 |  |  | %package -n lua-%{name}
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | Summary:        Lua bindings for %{name}
 | 
					
						
							|  |  |  | BuildRequires:  lua-devel
 | 
					
						
							|  |  |  | Requires:       %{name} = %{version}-%{release}
 | 
					
						
							|  |  |  | Requires:       lua
 | 
					
						
							| 
									
										
										
										
											2011-10-02 18:45:11 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-23 18:42:01 +00:00
										 |  |  | %description -n lua-%{name}
 | 
					
						
							|  |  |  | lua-%{name} contains Lua bindings for %{name}.
 | 
					
						
							| 
									
										
										
										
											2021-12-21 20:41:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-26 14:37:21 +00:00
										 |  |  | %package gobject-1_0
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | Summary:        GObject bindings for %{name}
 | 
					
						
							|  |  |  | Requires:       %{name} = %{version}-%{release}
 | 
					
						
							| 
									
										
										
										
											2022-05-26 02:33:07 +00:00
										 |  |  | Obsoletes:      libguestfs0 <= 1.44.2
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-26 14:37:21 +00:00
										 |  |  | %description gobject-1_0
 | 
					
						
							|  |  |  | %{name}-gobject-1_0 contains GObject bindings for %{name}.
 | 
					
						
							| 
									
										
										
										
											2021-12-21 20:41:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | To develop software against these bindings, you need to install
 | 
					
						
							|  |  |  | %{name}-gobject-devel.
 | 
					
						
							| 
									
										
										
										
											2021-12-21 20:41:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-26 02:33:07 +00:00
										 |  |  | %package typelib-Guestfs-1_0
 | 
					
						
							|  |  |  | Summary:        Libguestfs GObject introspection data
 | 
					
						
							|  |  |  | Group:          System/Libraries
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %description typelib-Guestfs-1_0
 | 
					
						
							|  |  |  | This package contains the GObject introspection data.
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %package gobject-devel
 | 
					
						
							|  |  |  | Summary:        GObject bindings for %{name}
 | 
					
						
							| 
									
										
										
										
											2022-06-01 16:02:45 +00:00
										 |  |  | Requires:       %{name}-gobject-1_0 = %{version}-%{release}
 | 
					
						
							| 
									
										
										
										
											2022-06-01 17:42:29 +00:00
										 |  |  | Requires:       glib2-devel
 | 
					
						
							| 
									
										
										
										
											2014-01-22 10:15:09 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %description gobject-devel
 | 
					
						
							|  |  |  | %{name}-gobject contains GObject bindings for %{name}.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | This package is needed if you want to write software using the
 | 
					
						
							|  |  |  | GObject bindings.  It also contains GObject Introspection information.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %package rescue
 | 
					
						
							| 
									
										
										
										
											2022-10-03 19:27:02 +00:00
										 |  |  | Summary:        Virt-rescue shell
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | BuildRequires:  iputils
 | 
					
						
							|  |  |  | BuildRequires:  lsof
 | 
					
						
							|  |  |  | BuildRequires:  pciutils
 | 
					
						
							|  |  |  | BuildRequires:  strace
 | 
					
						
							|  |  |  | BuildRequires:  vim
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %description rescue
 | 
					
						
							|  |  |  | This adds the virt-rescue shell which is a "rescue disk" for virtual
 | 
					
						
							|  |  |  | machines, and additional tools to use inside the shell such as ssh,
 | 
					
						
							|  |  |  | network utilities, editors and debugging utilities.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %package rsync
 | 
					
						
							| 
									
										
										
										
											2022-10-03 19:27:02 +00:00
										 |  |  | Summary:        Rsync support for %{name}
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | Requires:       %{name} = %{version}-%{release}
 | 
					
						
							|  |  |  | BuildRequires:  rsync
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %description rsync
 | 
					
						
							|  |  |  | This adds rsync support to %{name}.  Install it if you want to use
 | 
					
						
							|  |  |  | rsync to upload or download files into disk images.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %package xfs
 | 
					
						
							|  |  |  | Summary:        XFS support for %{name}
 | 
					
						
							|  |  |  | Requires:       %{name} = %{version}-%{release}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %description xfs
 | 
					
						
							|  |  |  | This adds XFS support to %{name}.  Install it if you want to process
 | 
					
						
							|  |  |  | disk images containing XFS.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %package man-pages-ja
 | 
					
						
							|  |  |  | Summary:        Japanese (ja) man pages for %{name}
 | 
					
						
							|  |  |  | BuildArch:      noarch
 | 
					
						
							|  |  |  | Requires:       %{name} = %{version}-%{release}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %description man-pages-ja
 | 
					
						
							|  |  |  | %{name}-man-pages-ja contains Japanese (ja) man pages
 | 
					
						
							|  |  |  | for %{name}.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %package man-pages-uk
 | 
					
						
							|  |  |  | Summary:        Ukrainian (uk) man pages for %{name}
 | 
					
						
							|  |  |  | BuildArch:      noarch
 | 
					
						
							|  |  |  | Requires:       %{name} = %{version}-%{release}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %description man-pages-uk
 | 
					
						
							|  |  |  | %{name}-man-pages-uk contains Ukrainian (uk) man pages
 | 
					
						
							|  |  |  | for %{name}.
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-26 02:57:06 +00:00
										 |  |  | %post -n %{name} -p /sbin/ldconfig
 | 
					
						
							|  |  |  | %postun -n %{name} -p /sbin/ldconfig
 | 
					
						
							|  |  |  | %post -n libguestfs0 -p /sbin/ldconfig
 | 
					
						
							|  |  |  | %postun -n libguestfs0 -p /sbin/ldconfig
 | 
					
						
							| 
									
										
										
										
											2022-05-26 14:37:21 +00:00
										 |  |  | %post -n %{name}-gobject-1_0 -p /sbin/ldconfig
 | 
					
						
							|  |  |  | %postun -n %{name}-gobject-1_0 -p /sbin/ldconfig
 | 
					
						
							| 
									
										
										
										
											2022-05-26 02:57:06 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %files -f %{name}.lang
 | 
					
						
							|  |  |  | %license README COPYING
 | 
					
						
							|  |  |  | %{_bindir}/guestfish
 | 
					
						
							|  |  |  | %{_bindir}/guestmount
 | 
					
						
							|  |  |  | %{_bindir}/guestunmount
 | 
					
						
							|  |  |  | %{_bindir}/libguestfs-test-tool
 | 
					
						
							|  |  |  | %{_bindir}/virt-copy-in
 | 
					
						
							|  |  |  | %{_bindir}/virt-copy-out
 | 
					
						
							|  |  |  | %{_bindir}/virt-tar-in
 | 
					
						
							|  |  |  | %{_bindir}/virt-tar-out
 | 
					
						
							|  |  |  | %{_mandir}/man1/guestfish.1*
 | 
					
						
							|  |  |  | %{_mandir}/man1/guestfs-faq.1*
 | 
					
						
							|  |  |  | %{_mandir}/man1/guestfs-performance.1*
 | 
					
						
							|  |  |  | %{_mandir}/man1/guestfs-recipes.1*
 | 
					
						
							| 
									
										
										
										
											2022-03-17 22:27:27 +00:00
										 |  |  | %{_mandir}/man1/guestfs-release-notes.1.gz
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %{_mandir}/man1/guestfs-release-notes-1*.1*
 | 
					
						
							|  |  |  | %{_mandir}/man1/guestfs-security.1*
 | 
					
						
							|  |  |  | %{_mandir}/man1/guestmount.1*
 | 
					
						
							|  |  |  | %{_mandir}/man1/guestunmount.1*
 | 
					
						
							|  |  |  | %{_mandir}/man1/libguestfs-test-tool.1*
 | 
					
						
							|  |  |  | %{_mandir}/man1/virt-copy-in.1*
 | 
					
						
							|  |  |  | %{_mandir}/man1/virt-copy-out.1*
 | 
					
						
							|  |  |  | %{_mandir}/man1/virt-tar-in.1*
 | 
					
						
							|  |  |  | %{_mandir}/man1/virt-tar-out.1*
 | 
					
						
							|  |  |  | %{_mandir}/man5/libguestfs-tools.conf.5*
 | 
					
						
							|  |  |  | %config %{_sysconfdir}/profile.d/guestfish.sh
 | 
					
						
							|  |  |  | %config(noreplace) %{_sysconfdir}/libguestfs-tools.conf
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-26 02:33:07 +00:00
										 |  |  | %files -n libguestfs0
 | 
					
						
							|  |  |  | %license COPYING.LIB
 | 
					
						
							|  |  |  | %{_libdir}/libguestfs.so.*
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %files -n libguestfs-appliance
 | 
					
						
							| 
									
										
										
										
											2017-09-21 09:01:23 +00:00
										 |  |  | %dir %{_libdir}/guestfs
 | 
					
						
							|  |  |  | %dir %{_libdir}/guestfs/supermin.d
 | 
					
						
							|  |  |  | %{_libdir}/guestfs/supermin.d/base.tar.gz
 | 
					
						
							|  |  |  | %{_libdir}/guestfs/supermin.d/daemon.tar.gz
 | 
					
						
							|  |  |  | %{_libdir}/guestfs/supermin.d/init.tar.gz
 | 
					
						
							|  |  |  | %{_libdir}/guestfs/supermin.d/udev-rules.tar.gz
 | 
					
						
							|  |  |  | %{_libdir}/guestfs/supermin.d/excludefiles
 | 
					
						
							|  |  |  | %{_libdir}/guestfs/supermin.d/hostfiles
 | 
					
						
							|  |  |  | %{_libdir}/guestfs/supermin.d/packages
 | 
					
						
							|  |  |  | %{_libdir}/guestfs/supermin.d/zz-scripts.tar.gz
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %files winsupport
 | 
					
						
							| 
									
										
										
										
											2017-09-21 09:01:23 +00:00
										 |  |  | %{_libdir}/guestfs/supermin.d/zz-*winsupport*
 | 
					
						
							| 
									
										
										
										
											2011-10-02 18:45:11 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %files bash-completion
 | 
					
						
							|  |  |  | %dir %{_datadir}/bash-completion/completions
 | 
					
						
							|  |  |  | %{_datadir}/bash-completion/completions/guestfish
 | 
					
						
							|  |  |  | %{_datadir}/bash-completion/completions/guestmount
 | 
					
						
							|  |  |  | %{_datadir}/bash-completion/completions/guestunmount
 | 
					
						
							|  |  |  | %{_datadir}/bash-completion/completions/libguestfs-test-tool
 | 
					
						
							|  |  |  | %{_datadir}/bash-completion/completions/virt-copy-in
 | 
					
						
							|  |  |  | %{_datadir}/bash-completion/completions/virt-copy-out
 | 
					
						
							|  |  |  | %{_datadir}/bash-completion/completions/virt-rescue
 | 
					
						
							|  |  |  | %{_datadir}/bash-completion/completions/virt-tar-in
 | 
					
						
							|  |  |  | %{_datadir}/bash-completion/completions/virt-tar-out
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %files inspect-icons
 | 
					
						
							|  |  |  | # no files
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-01-08 15:18:16 +00:00
										 |  |  | %files -n ocaml-%{name} -f %name.files
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-01-08 15:18:16 +00:00
										 |  |  | %files -n ocaml-%{name}-devel -f %name.files.devel
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %doc ocaml/examples/*.ml ocaml/html
 | 
					
						
							|  |  |  | %{_mandir}/man3/guestfs-ocaml.3*
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %files -n perl-Sys-Guestfs
 | 
					
						
							|  |  |  | %{perl_vendorarch}/*
 | 
					
						
							|  |  |  | %doc perl/examples/*.pl
 | 
					
						
							|  |  |  | %{_mandir}/man3/Sys::Guestfs.3pm*
 | 
					
						
							|  |  |  | %{_mandir}/man3/guestfs-perl.3*
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %files -n python3-%{name}
 | 
					
						
							|  |  |  | %doc python/examples/*.py
 | 
					
						
							|  |  |  | %{python3_sitearch}/libguestfsmod*.so
 | 
					
						
							|  |  |  | %{python3_sitearch}/guestfs.py
 | 
					
						
							|  |  |  | %{_mandir}/man3/guestfs-python.3*
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %files -n rubygem-%{name}
 | 
					
						
							|  |  |  | %doc ruby/examples/*.rb
 | 
					
						
							|  |  |  | %doc ruby/doc/site/*
 | 
					
						
							|  |  |  | %{_libdir}/ruby
 | 
					
						
							|  |  |  | %{_mandir}/man3/guestfs-ruby.3*
 | 
					
						
							| 
									
										
										
										
											2011-10-02 18:45:11 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-23 18:42:01 +00:00
										 |  |  | %files -n lua-%{name}
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %doc lua/examples/*.lua
 | 
					
						
							|  |  |  | %doc lua/examples/LICENSE
 | 
					
						
							|  |  |  | %{_libdir}/lua
 | 
					
						
							|  |  |  | %{_mandir}/man3/guestfs-lua.3*
 | 
					
						
							| 
									
										
										
										
											2022-02-07 22:47:47 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-26 14:37:21 +00:00
										 |  |  | %files gobject-1_0
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %{_libdir}/libguestfs-gobject-1.0.so.0*
 | 
					
						
							| 
									
										
										
										
											2022-05-26 02:33:07 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %files typelib-Guestfs-1_0
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %{_libdir}/girepository-1.0/Guestfs-1.0.typelib
 | 
					
						
							| 
									
										
										
										
											2022-02-07 22:47:47 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %files gobject-devel
 | 
					
						
							|  |  |  | %{_libdir}/libguestfs-gobject-1.0.so
 | 
					
						
							|  |  |  | %{_includedir}/guestfs-gobject.h
 | 
					
						
							|  |  |  | %dir %{_includedir}/guestfs-gobject
 | 
					
						
							|  |  |  | %{_includedir}/guestfs-gobject/*.h
 | 
					
						
							|  |  |  | %{_datadir}/gir-1.0/Guestfs-1.0.gir
 | 
					
						
							|  |  |  | %{_libdir}/pkgconfig/libguestfs-gobject-1.0.pc
 | 
					
						
							|  |  |  | %{_mandir}/man3/guestfs-gobject.3*
 | 
					
						
							| 
									
										
										
										
											2011-10-02 18:45:11 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %files devel
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %doc examples/*.c
 | 
					
						
							|  |  |  | %{_sbindir}/libguestfs-make-fixed-appliance
 | 
					
						
							| 
									
										
										
										
											2011-10-02 18:45:11 +00:00
										 |  |  | %{_libdir}/*.so
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %{_libdir}/pkgconfig/libguestfs.pc
 | 
					
						
							| 
									
										
										
										
											2011-10-02 18:45:11 +00:00
										 |  |  | %{_includedir}/guestfs.h
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %{_mandir}/man1/guestfs-building.1*
 | 
					
						
							|  |  |  | %{_mandir}/man1/guestfs-hacking.1*
 | 
					
						
							|  |  |  | %{_mandir}/man1/guestfs-internals.1*
 | 
					
						
							|  |  |  | %{_mandir}/man1/guestfs-testing.1*
 | 
					
						
							|  |  |  | %{_mandir}/man1/libguestfs-make-fixed-appliance.1*
 | 
					
						
							|  |  |  | %{_mandir}/man3/guestfs.3*
 | 
					
						
							|  |  |  | %{_mandir}/man3/guestfs-examples.3*
 | 
					
						
							|  |  |  | %{_mandir}/man3/libguestfs.3*
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %files -n libguestfsd
 | 
					
						
							| 
									
										
										
										
											2021-07-19 15:36:33 +00:00
										 |  |  | %{_udevrulesdir}
 | 
					
						
							| 
									
										
										
										
											2012-09-01 18:53:34 +00:00
										 |  |  | %{_sbindir}/guestfsd
 | 
					
						
							| 
									
										
										
										
											2012-10-08 10:07:43 +00:00
										 |  |  | %{_mandir}/man8/*
 | 
					
						
							| 
									
										
										
										
											2012-09-01 18:53:34 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %files rescue
 | 
					
						
							|  |  |  | %{_libdir}/guestfs/supermin.d/zz-packages-rescue
 | 
					
						
							|  |  |  | %{_bindir}/virt-rescue
 | 
					
						
							|  |  |  | %{_mandir}/man1/virt-rescue.1*
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %files rsync
 | 
					
						
							|  |  |  | %{_libdir}/guestfs/supermin.d/zz-packages-rsync
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %files xfs
 | 
					
						
							|  |  |  | %{_libdir}/guestfs/supermin.d/zz-packages-xfs
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %files man-pages-ja
 | 
					
						
							|  |  |  | %lang(ja) %{_mandir}/ja/man1/*.1*
 | 
					
						
							|  |  |  | %lang(ja) %{_mandir}/ja/man3/*.3*
 | 
					
						
							|  |  |  | %lang(ja) %{_mandir}/ja/man5/*.5*
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %files man-pages-uk
 | 
					
						
							| 
									
										
										
										
											2022-05-26 02:57:06 +00:00
										 |  |  | %if 0%{?suse_version} <= 1500
 | 
					
						
							|  |  |  | %dir %{_mandir}/uk
 | 
					
						
							|  |  |  | %dir %{_mandir}/uk/man{1,3,5}
 | 
					
						
							|  |  |  | %endif
 | 
					
						
							| 
									
										
										
										
											2022-02-24 22:27:30 +00:00
										 |  |  | %lang(uk) %{_mandir}/uk/man1/*.1*
 | 
					
						
							|  |  |  | %lang(uk) %{_mandir}/uk/man3/*.3*
 | 
					
						
							|  |  |  | %lang(uk) %{_mandir}/uk/man5/*.5*
 | 
					
						
							| 
									
										
										
										
											2011-10-02 18:45:11 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %changelog
 |