# Enable to make the appliance use virtio_blk # Default is enabled %if %{defined libguestfs_virtio} %global with_virtio %{libguestfs_virtio} %else %global with_virtio 1 %endif # Enable to run tests during check # Default is enabled # %if %{defined libguestfs_runtests} %global runtests %{libguestfs_runtests} %else %global runtests 0 %endif # Note there needs to be some work done on this package. # The problem is that the package using supermin to generate # an image using the current cauldron build. This can cause # errors if the cauldron build is inconsistent, and this # creates a problem in that the same build will produce # different images. # # What really should happen is that we should rewrite this # so that the boot image is created when rpm is installed. Summary: Access and modify virtual machine disk images Name: libguestfs Epoch: 1 Version: 1.27.39 Release: %mkrel 10 License: LGPLv2+ Group: System/Libraries URL: http://libguestfs.org/ Source0: http://libguestfs.org/download/1.27-development/%{name}-%{version}.tar.gz #Patch0: libguestfs-1.23.13-mga-automake-selinux.patch Patch2: libguestfs-1.23.13-mga-lua.patch Patch3: libguestfs-1.27.39-mga-xml.patch # make v2v causes problems with parallel compiles Patch4: libguestfs-1.27.39-mga-parallel-make.patch BuildRequires: perl BuildRequires: hivex-devel >= 1.2.2 BuildRequires: augeas-devel >= 0.5.0 BuildRequires: augeas >= 0.5.0 BuildRequires: readline-devel BuildRequires: cdrkit-genisoimage BuildRequires: libxml2-devel BuildRequires: qemu >= 0.10 #BuildRequires: createrepo BuildRequires: selinux-devel BuildRequires: pcre-devel BuildRequires: file-devel BuildRequires: libvirt-devel BuildRequires: po4a BuildRequires: ncurses-devel BuildRequires: lvm2 BuildRequires: ntfs-3g BuildRequires: util-linux-ng BuildRequires: makedev BuildRequires: net-tools BuildRequires: file BuildRequires: module-init-tools BuildRequires: procps BuildRequires: strace BuildRequires: iputils BuildRequires: dosfstools BuildRequires: zerofree BuildRequires: lsof BuildRequires: scrub BuildRequires: libselinux BuildRequires: parted BuildRequires: e2fsprogs BuildRequires: btrfs-progs BuildRequires: gfs2-utils BuildRequires: hfsplus-tools BuildRequires: nilfs-utils BuildRequires: reiserfs-utils BuildRequires: jfsutils BuildRequires: xfsprogs BuildRequires: vim-minimal BuildRequires: cryptsetup-luks BuildRequires: grub BuildRequires: ntfsprogs BuildRequires: ocaml BuildRequires: ocaml-findlib-devel BuildRequires: ocaml-xml-light-devel BuildRequires: perl-devel BuildRequires: perl-Test-Simple BuildRequires: perl-Test-Pod BuildRequires: perl-Test-Pod-Coverage BuildRequires: perl-ExtUtils-MakeMaker BuildRequires: perl-String-ShellQuote BuildRequires: perl-XML-Writer BuildRequires: perl-libintl-perl # For virt tools BuildRequires: perl(Pod::Usage) BuildRequires: perl(Getopt::Long) BuildRequires: perl(Sys::Virt) BuildRequires: perl(Locale::TextDomain) BuildRequires: perl(Win::Hivex) BuildRequires: perl(Win::Hivex::Regedit) BuildRequires: python-devel BuildRequires: ruby-devel BuildRequires: ruby-rake BuildRequires: java BuildRequires: jpackage-utils BuildRequires: java-devel BuildRequires: php-devel BuildRequires: php-cli BuildRequires: ghc BuildRequires: pkgconfig(lua) BuildRequires: pkgconfig(bash-completion) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(libsystemd-journal) BuildRequires: pkgconfig(fuse) BuildRequires: pkgconfig(yajl) # not required by devel pkg (unlike FC): BuildRequires: yajl BuildRequires: golang BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(libconfig) # Needed to pull in hivex libraries BuildRequires: hivex # For libguestfs-tools: BuildRequires: qemu-img BuildRequires: supermin >= 5.1 # Runtime requires: Requires: qemu >= 0.12 # For libguestfs-test-tool. Requires: cdrkit-genisoimage Requires: libselinux-utils Requires: nilfs-utils Requires: hivex BuildRequires: gperf BuildRequires: erlang-compiler BuildRequires: erlang-devel BuildRequires: erlang-tools BuildRequires: erlang-erl_interface %if %{runtests} BuildRequires: ruby-test-unit %endif # Provide our own custom requires for the supermin appliance. Source1: libguestfs-find-requires.sh %global _use_internal_dependency_generator 0 %global __find_provides %{_rpmconfigdir}/find-provides %global __find_requires %{SOURCE1} %{_rpmconfigdir}/find-requires # libguestfs live service Source2: guestfsd.service Source3: 99-guestfsd.rules # Guestfish colour prompts. Source5: guestfish.sh %description Libguestfs is a library for accessing and modifying guest disk images. Amongst the things this is good for: making batch configuration changes to guests, getting disk used/free statistics (see also: virt-df), migrating between virtualization systems (see also: virt-p2v), performing partial backups, performing partial guest clones, cloning guests and changing registry/UUID/hostname info, and much else besides. 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. Libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, what filesystem is in each LV, etc.). It can also run commands in the context of the guest. %package devel Summary: Development tools and libraries for %{name} Group: System/Libraries Requires: %{name} = %{epoch}:%{version}-%{release} Requires: pkgconfig %description devel %{name}-devel contains development tools and libraries for %{name}. %package -n guestfish Summary: Shell for accessing and modifying virtual machine disk images Group: Development/Tools License: GPLv2+ Requires: %{name} = %{epoch}:%{version}-%{release} Requires: perl Requires: hexedit %description -n guestfish Guestfish is the Filesystem Interactive SHell, for accessing and modifying virtual machine disk images from the command line and shell scripts. %package mount Summary: Mount guest filesystems on the host using FUSE and libguestfs Group: Development/Tools License: GPLv2+ Requires: %{name} = %{epoch}:%{version}-%{release} Requires: virt-inspector %description mount The guestmount command lets you mount guest filesystems on the host using FUSE and %{name}. %package tools-c Summary: System administration tools for virtual machines License: GPLv2+ Requires: %{name} = %{epoch}:%{version}-%{release} # for guestfish: #Requires: /usr/bin/emacs #theoretically, but too large Requires: hexedit Requires: less Requires: man Requires: vim-minimal # for virt-builder: Requires: gnupg Requires: xz #Requires: nbdkit, nbdkit-plugin-xz Requires: curl %description tools-c This package contains miscellaneous system administrator command line tools for virtual machines. Note that you should install %{name}-tools (which pulls in this package). This package is only used directly when you want to avoid dependencies on Perl. %package tools Summary: System administration tools for virtual machines Group: Development/Tools License: GPLv2+ Requires: %{name} = %{epoch}:%{version}-%{release} Requires: %{name}-tools-c = %{epoch}:%{version}-%{release} Requires: guestfish Requires: perl-Sys-Virt Requires: perl-String-ShellQuote Requires: perl-XML-Writer Requires: hivex >= 1.2.2 Requires: qemu-img # Obsolete and replace earlier packages. Provides: virt-cat = %{epoch}:%{version}-%{release} Obsoletes: virt-cat < %{epoch}:%{version}-%{release} Provides: virt-df = %{epoch}:%{version}-%{release} Obsoletes: virt-df < %{epoch}:%{version}-%{release} Provides: virt-inspector = %{epoch}:%{version}-%{release} Obsoletes: virt-inspector < %{epoch}:%{version}-%{release} # RHBZ#514309 Provides: virt-df2 = %{epoch}:%{version}-%{release} Obsoletes: virt-df2 < %{epoch}:%{version}-%{release} # These were never packages: Provides: virt-edit = %{epoch}:%{version}-%{release} Provides: virt-rescue = %{epoch}:%{version}-%{release} %description tools This package contains miscellaneous system administrator command line tools for virtual machines. Virt-cat is a command line tool to display the contents of a file in a virtual machine. Virt-df is a command line tool to display free space on virtual machine filesystems. Unlike other tools, it doesnât just display the amount of space allocated to a virtual machine, but can look inside the virtual machine to see how much space is really being used. It is like the df(1) command, but for virtual machines, except that it also works for Windows virtual machines. Virt-edit is a command line tool to edit the contents of a file in a virtual machine. Virt-inspector examines a virtual machine and tries to determine the version of the OS, the kernel version, what drivers are installed, whether the virtual machine is fully virtualized (FV) or para-virtualized (PV), what applications are installed and more. Virt-list-filesystems can be used to list out the filesystems in a virtual machine image (for shell scripts etc). Virt-list-partitions can be used to list out the partitions in a virtual machine image. Virt-ls is a command line tool to list out files in a virtual machine. Virt-make-fs is a command line tool to build a filesystem out of a collection of files or a tarball. Virt-rescue provides a rescue shell for making interactive, unstructured fixes to virtual machines. Virt-resize can resize existing virtual machine disk images. Virt-tar is an archive, backup and upload tool for virtual machines. Virt-win-reg lets you look inside the Windows Registry for Windows virtual machines. %package -n virt-v2v Summary: Convert a virtual machine to run on KVM License: GPLv2+ Requires: %{name} = %{epoch}:%{version}-%{release} Requires: %{name}-tools-c = %{epoch}:%{version}-%{release} Requires: gawk Requires: gzip Requires: curl # for virsh: Requires: libvirt-utils # 'strip' binary is required by virt-p2v-make-kickstart. Requires: binutils # For rhsrvany.exe, used to install firstboot scripts in Windows guests. #Requires: mingw32-srvany >= 1.0-13 %description -n virt-v2v Virt-v2v and virt-p2v are tools that convert virtual machines from non-KVM hypervisors, or physical machines, to run under KVM. %package bash-completion Summary: Bash tab-completion scripts for %{name} tools BuildArch: noarch Requires: bash-completion >= 2.0 Requires: %{name}-tools-c = %{epoch}:%{version}-%{release} %description bash-completion Install this package if you want intelligent bash tab-completion for guestfish, guestmount and various virt-* tools %package live-service Summary: %{name} live service Requires(post): systemd-units Requires(preun): systemd-units Requires(postun): systemd-units %description live-service You can install just this package in virtual machines in order to enable libguestfs live service (eg. guestfish --live), which lets you safely edit files in running guests. This daemon is *not* required by %{name}. # https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd %post live-service %systemd_post guestfsd.service %preun live-service %systemd_preun guestfsd.service %postun live-service %systemd_postun_with_restart guestfsd.service %package -n ocaml-%{name} Summary: OCaml bindings for %{name} Group: Development/OCaml Requires: %{name} = %{epoch}:%{version}-%{release} %description -n ocaml-%{name} ocaml-%{name} contains OCaml bindings for %{name}. This is for toplevel and scripting access only. To compile OCaml programs which use %{name} you will also need ocaml-%{name}-devel. %package -n ocaml-%{name}-devel Summary: OCaml bindings for %{name} Group: Development/OCaml Requires: ocaml-%{name} = %{epoch}:%{version}-%{release} %description -n ocaml-%{name}-devel ocaml-%{name}-devel contains development libraries required to use the OCaml bindings for %{name}. %package -n perl-%{name} Summary: Perl bindings for %{name} Group: Development/Perl Requires: %{name} = %{epoch}:%{version}-%{release} Requires: perl Requires: perl-XML-XPath %description -n perl-%{name} perl-%{name} contains Perl bindings for %{name}. %package -n python-%{name} Summary: Python bindings for %{name} Group: Development/Perl Requires: %{name} = %{epoch}:%{version}-%{release} %description -n python-%{name} python-%{name} contains Python bindings for %{name}. %package -n ruby-%{name} Summary: Ruby bindings for %{name} Group: Development/Ruby Requires: %{name} = %{epoch}:%{version}-%{release} Provides: ruby-guestfs = %{version} %description -n ruby-%{name} ruby-%{name} contains Ruby bindings for %{name}. %package java Summary: Java bindings for %{name} Group: Development/Java Requires: %{name} = %{epoch}:%{version}-%{release} Requires: java >= 1.5.0 Requires: jpackage-utils %description java %{name}-java contains Java bindings for %{name}. If you want to develop software in Java which uses %{name}, then you will also need %{name}-java-devel. %package java-devel Summary: Java development package for %{name} Group: Development/Java Requires: %{name} = %{epoch}:%{version}-%{release} Requires: %{name}-java = %{epoch}:%{version}-%{release} %description java-devel %{name}-java-devel contains the tools for developing Java software using %{name}. See also %{name}-javadoc. %package javadoc Summary: Java documentation for %{name} Group: Development/Java Requires: %{name} = %{epoch}:%{version}-%{release} Requires: %{name}-java = %{epoch}:%{version}-%{release} Requires: jpackage-utils %description javadoc %{name}-javadoc contains the Java documentation for %{name}. %package -n php-%{name} Summary: PHP bindings for %{name} Group: Development/PHP Requires: %{name} = %{epoch}:%{version}-%{release} Requires: php %description -n php-%{name} php-%{name} contains PHP bindings for %{name}. %package -n erlang-%{name} Summary: Erlang bindings for %{name} Group: Development/Erlang Requires: %{name} = %{epoch}:%{version}-%{release} %description -n erlang-%{name} erlang-%{name} contains Erlang bindings for %{name}. %package -n gobject-%{name} Summary: Gobject bindings for %{name} Group: Development/Other Requires: %{name} = %{epoch}:%{version}-%{release} %description -n gobject-%{name} gobject-%{name} contains gobject bindings for %{name}. %package -n lua-%{name} Summary: Lua bindings for %{name} Group: Development/Other Requires: %{name} = %{epoch}:%{version}-%{release} %description -n lua-%{name} lua-%{name} contains lua bindings for %{name}. %package -n golang-%{name} Summary: Go bindings for %{name} Group: Development/Other Requires: %{name} = %{epoch}:%{version}-%{release} %description -n golang-%{name} golang-%{name} contains go bindings for %{name}. %package man-pages-ja Summary: Japanese (ja) man pages for %{name} BuildArch: noarch Requires: %{name} = %{epoch}:%{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} = %{epoch}:%{version}-%{release} %description man-pages-uk %{name}-man-pages-uk contains Ukrainian (uk) man pages for %{name}. %prep %setup -q %apply_patches mkdir -p daemon/m4 autoreconf -fi %build %configure2_5x \ --prefix=%{_prefix} --libdir=%{_libdir} \ --mandir=%{_mandir} \ --sysconfdir=%{_sysconfdir} \ --with-default-backend=libvirt \ --with-qemu="qemu-kvm qemu-system-%{_build_arch} qemu" \ --enable-supermin \ --enable-install-daemon \ %if %{with_virtio} --with-drive-if=virtio \ %endif # 'INSTALLDIRS' ensures that perl libs are installed in the vendor dir # not the site dir. # %make INSTALLDIRS=vendor DISTRO=MAGEIA # Useful for debugging appliance problems. #echo "==== files in initramfs ====" #find initramfs -type f echo "==== hostfiles ====" ls -l appliance/supermin.d/hostfiles cat appliance/supermin.d/hostfiles echo "============" # This file is creeping over 1 MB uncompressed, and since it is # included in the -devel subpackage, compress it to reduce # installation size. gzip -9 ChangeLog %check %if %{runtests} # do not use libvirt export LIBGUESTFS_BACKEND=direct # Enable debugging - very useful if a test does fail, although # it produces masses of output in the build.log. export LIBGUESTFS_DEBUG=1 # Enable trace. Since libguestfs 1.9.7 this produces 'greppable' # output even when combined with trace (see RHBZ#673477). export LIBGUESTFS_TRACE=1 # This test fails because we build the ISO after encoding the checksum # of the ISO in the test itself. Need to fix the test to work out the # checksum at runtime. export SKIP_TEST_CHECKSUM_DEVICE=1 # Disable virt-format test (RHBZ#872831). export SKIP_TEST_VIRT_FORMAT_SH=1 # Disable set_label tests (RHBZ#906777). export SKIP_TEST_SET_LABEL=1 # Disable test-btrfs-devices on ix86 only. It fails on Fedora 19 (but not # Fedora 18 nor Fedora 20) with: # guestfsd: error: tar subcommand failed on directory: /data3: tar: ./10/q/4: Cannot open: No space left on device # This seems to be a transient kernel problem, fixed in F20. %ifarch %{ix86} export SKIP_TEST_BTRFS_DEVICES_SH=1 %endif # Disable mdadm test, buggy in kernel 3.13 (RHBZ#1033971). export SKIP_TEST_MDADM_SH=1 # Disable NBD test, buggy in qemu 1.7.0 (RHBZ#1034433). export SKIP_TEST_NBD_PL=1 # Disable parallel virt-alignment-scan & virt-df tests (RHBZ#1025942). export SKIP_TEST_VIRT_ALIGNMENT_SCAN_GUESTS_SH=1 export SKIP_TEST_VIRT_DF_GUESTS_SH=1 # Skip gnulib tests which fail (probably these are kernel/glibc bugs). pushd gnulib/tests make -k check ||: for f in test-getaddrinfo test-utimens ; do rm -f $f $f.o touch $f.o echo 'exit 77' > $f chmod +x $f done popd # Do make quickcheck first, to fail early if the appliance or libvirt # is obviously broken. Also dump libvirt log files if this happens. # Since it's most likely libvirt which is broken, make sure libvirt # debugging is enabled here. if ! make quickcheck LIBVIRT_DEBUG=1; then cat $HOME/.cache/libvirt/qemu/log/* exit 1 fi make check -k %endif %install # 'INSTALLDIRS' ensures that Perl and Ruby libs are installed in the # vendor dir not the site dir. make DESTDIR=$RPM_BUILD_ROOT INSTALLDIRS=vendor install # Delete static libraries, libtool files. rm $( find $RPM_BUILD_ROOT -path '*/ocaml/guestfs' -prune -o -name '*.a' -print ) find $RPM_BUILD_ROOT -name '*.la' -delete # Delete some bogus Perl files. find $RPM_BUILD_ROOT -name perllocal.pod -delete find $RPM_BUILD_ROOT -name .packlist -delete find $RPM_BUILD_ROOT -name '*.bs' -delete find $RPM_BUILD_ROOT -name 'bindtests.pl' -delete # Don't use versioned jar file (RHBZ#1022133). # See: https://bugzilla.redhat.com/show_bug.cgi?id=1022184#c4 mv $RPM_BUILD_ROOT%{_datadir}/java/%{name}-%{version}.jar \ $RPM_BUILD_ROOT%{_datadir}/java/%{name}.jar # golang: Ignore what libguestfs upstream installs, and just copy the # source files to %{_datadir}/gocode/src. %ifarch %{golang_arches} rm -r $RPM_BUILD_ROOT/usr/lib/golang mkdir -p $RPM_BUILD_ROOT%{_datadir}/gocode/src cp -a golang/src/libguestfs.org $RPM_BUILD_ROOT%{_datadir}/gocode/src %endif # Delete the ordinary appliance, leaving just the supermin appliance. rm -f $RPM_BUILD_ROOT%{_libdir}/guestfs/vmlinuz.* rm -f $RPM_BUILD_ROOT%{_libdir}/guestfs/initramfs.* # Clean up the examples/ directory which will get installed in %doc. # Note we can't delete the original examples/Makefile because that # will be needed by the check section later in the RPM build. cp -a examples ex pushd ex make clean rm Makefile* rm -rf .deps .libs popd # Same for ocaml/examples. cp -a ocaml/examples ocaml/ex pushd ocaml/ex make clean rm Makefile* popd rm -f $RPM_BUILD_ROOT%{python_sitearch}/libguestfsmod.a rm -f $RPM_BUILD_ROOT%{python_sitearch}/libguestfsmod.la if [ "$RPM_BUILD_ROOT%{python_sitearch}" != "$RPM_BUILD_ROOT%{python_sitelib}" ]; then mkdir -p $RPM_BUILD_ROOT%{python_sitelib} mv $RPM_BUILD_ROOT%{python_sitearch}/guestfs.py* \ $RPM_BUILD_ROOT%{python_sitelib}/ fi # Remove static-linked Java bindings. rm -f $RPM_BUILD_ROOT%{_libdir}/libguestfs_jni.a rm -f $RPM_BUILD_ROOT%{_libdir}/libguestfs_jni.la # Move installed documentation back to the source directory so # we can install it using a %%doc rule. mv $RPM_BUILD_ROOT%{_docdir}/libguestfs installed-docs # For the libguestfs-live-service subpackage install the systemd # service and udev rules. mkdir -p $RPM_BUILD_ROOT%{_unitdir} mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/udev/rules.d install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_unitdir} install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_prefix}/lib/udev/rules.d # This deals with UsrMove: mv $RPM_BUILD_ROOT/lib/udev/rules.d/99-guestfs-serial.rules \ $RPM_BUILD_ROOT%{_prefix}/lib/udev/rules.d # Guestfish colour prompts. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d install -m 0644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d # Find locale files. %find_lang %{name} %files -f %{name}.lang %doc COPYING %{_bindir}/libguestfs-test-tool %{_sbindir}/libguestfs-make-fixed-appliance %{_libdir}/guestfs/ %{_libdir}/libguestfs.so.* %{_mandir}/man1/guestfs-faq.1* %{_mandir}/man1/guestfs-performance.1* %{_mandir}/man1/guestfs-recipes.1* %{_mandir}/man1/guestfs-release-notes.1* %{_mandir}/man1/guestfs-testing.1* %{_mandir}/man1/libguestfs-test-tool.1* %files devel %doc BUGS ChangeLog.gz HACKING TODO README %doc ex html/guestfs.3.html html/pod.css %doc installed-docs/* %{_libdir}/libguestfs.so %{_sbindir}/libguestfs-make-fixed-appliance %{_mandir}/man1/libguestfs-make-fixed-appliance.1* %{_mandir}/man3/guestfs.3* %{_mandir}/man3/guestfs-examples.3* %{_mandir}/man3/libguestfs.3* %{_includedir}/guestfs.h %{_libdir}/pkgconfig/libguestfs.pc %files -n guestfish %doc html/guestfish.1.html html/pod.css %{_bindir}/guestfish %{_mandir}/man1/guestfish.1* %files mount %doc COPYING %{_bindir}/guestmount %{_mandir}/man1/guestmount.1* %{_mandir}/man1/guestunmount.1* %{_bindir}/guestunmount %files tools-c %doc README %config(noreplace) %{_sysconfdir}/libguestfs-tools.conf %{_sysconfdir}/virt-builder %dir %{_sysconfdir}/xdg/virt-builder %dir %{_sysconfdir}/xdg/virt-builder/repos.d %config %{_sysconfdir}/xdg/virt-builder/repos.d/libguestfs.conf %config %{_sysconfdir}/xdg/virt-builder/repos.d/libguestfs.gpg %config %{_sysconfdir}/profile.d/guestfish.sh %{_mandir}/man5/libguestfs-tools.conf.5* %{_bindir}/guestfish %{_mandir}/man1/guestfish.1* %{_bindir}/guestmount %{_mandir}/man1/guestmount.1* %{_bindir}/guestunmount %{_mandir}/man1/guestunmount.1* %{_bindir}/virt-alignment-scan %{_mandir}/man1/virt-alignment-scan.1* %{_bindir}/virt-builder %{_mandir}/man1/virt-builder.1* %{_bindir}/virt-cat %{_mandir}/man1/virt-cat.1* %{_bindir}/virt-copy-in %{_mandir}/man1/virt-copy-in.1* %{_bindir}/virt-copy-out %{_mandir}/man1/virt-copy-out.1* %{_bindir}/virt-customize %{_mandir}/man1/virt-customize.1* %{_bindir}/virt-df %{_mandir}/man1/virt-df.1* %{_bindir}/virt-diff %{_mandir}/man1/virt-diff.1* %{_bindir}/virt-edit %{_mandir}/man1/virt-edit.1* %{_bindir}/virt-filesystems %{_mandir}/man1/virt-filesystems.1* %{_bindir}/virt-format %{_mandir}/man1/virt-format.1* %{_bindir}/virt-index-validate %{_mandir}/man1/virt-index-validate.1* %{_bindir}/virt-inspector %{_mandir}/man1/virt-inspector.1* %{_bindir}/virt-log %{_mandir}/man1/virt-log.1* %{_bindir}/virt-ls %{_mandir}/man1/virt-ls.1* %{_bindir}/virt-make-fs %{_mandir}/man1/virt-make-fs.1* %{_bindir}/virt-rescue %{_mandir}/man1/virt-rescue.1* %{_bindir}/virt-resize %{_mandir}/man1/virt-resize.1* %{_bindir}/virt-sparsify %{_mandir}/man1/virt-sparsify.1* %{_bindir}/virt-sysprep %{_mandir}/man1/virt-sysprep.1* %{_bindir}/virt-tar-in %{_mandir}/man1/virt-tar-in.1* %{_bindir}/virt-tar-out %{_mandir}/man1/virt-tar-out.1* %files tools %doc README %{_bindir}/virt-list-filesystems %{_mandir}/man1/virt-list-filesystems.1* %{_bindir}/virt-list-partitions %{_mandir}/man1/virt-list-partitions.1* %{_bindir}/virt-tar %{_mandir}/man1/virt-tar.1* %{_bindir}/virt-win-reg %{_mandir}/man1/virt-win-reg.1* %files -n virt-v2v %doc COPYING README v2v/TODO %{_libexecdir}/virt-p2v %{_bindir}/virt-p2v-make-disk %{_bindir}/virt-p2v-make-kickstart %{_bindir}/virt-v2v %{_mandir}/man1/virt-p2v.1* %{_mandir}/man1/virt-p2v-make-disk.1* %{_mandir}/man1/virt-p2v-make-kickstart.1* %{_mandir}/man1/virt-v2v.1* %{_datadir}/virt-p2v #%{_datadir}/virt-tools %files bash-completion %dir %{_datadir}/bash-completion/completions %{_datadir}/bash-completion/completions/guestfish %{_datadir}/bash-completion/completions/guestmount %{_datadir}/bash-completion/completions/virt-* %files live-service %doc COPYING README %{_sbindir}/guestfsd %{_unitdir}/guestfsd.service %{_mandir}/man8/guestfsd.8* %{_prefix}/lib/udev/rules.d/99-guestfsd.rules %{_prefix}/lib/udev/rules.d/99-guestfs-serial.rules %files -n ocaml-%{name} %doc README %{_libdir}/ocaml/guestfs %exclude %{_libdir}/ocaml/guestfs/*.a %exclude %{_libdir}/ocaml/guestfs/*.cmxa %exclude %{_libdir}/ocaml/guestfs/*.cmx %exclude %{_libdir}/ocaml/guestfs/*.mli %{_libdir}/ocaml/stublibs/*.so %{_libdir}/ocaml/stublibs/*.so.owner %files -n ocaml-%{name}-devel %doc ocaml/ex %{_mandir}/man3/guestfs-ocaml.3* %{_libdir}/ocaml/guestfs/*.a %{_libdir}/ocaml/guestfs/*.cmxa %{_libdir}/ocaml/guestfs/*.cmx %{_libdir}/ocaml/guestfs/*.mli %files -n perl-%{name} %doc perl/examples %{perl_vendorarch}/* %{_mandir}/man3/Sys::Guestfs.3pm* %{_mandir}/man3/guestfs-perl.3* %files -n python-%{name} %doc README %{python_sitearch}/* %{python_sitelib}/*.py* %{_mandir}/man3/guestfs-python.3* %files -n ruby-%{name} %doc README %{ruby_vendorlibdir}/guestfs.rb %{ruby_vendorarchdir}/_guestfs.so %{_mandir}/man3/guestfs-ruby.3* %files java %doc README %{_libdir}/libguestfs_jni*.so.* %{_datadir}/java/*.jar %files java-devel %doc README %{_libdir}/libguestfs_jni*.so %{_mandir}/man3/guestfs-java.3* %{_mandir}/uk/man3/guestfs-java.3* %files javadoc %doc README %{_datadir}/javadoc/%{name} %files -n php-%{name} %doc php/README-PHP %dir %{_sysconfdir}/php.d %{_sysconfdir}/php.d/guestfs_php.ini %{_libdir}/php/extensions/guestfs_php.so %files -n erlang-%{name} %{_bindir}/erl-guestfs %{_libdir}/erlang/lib/libguestfs-*/ebin/*.beam %{_mandir}/man3/guestfs-erlang.3* %{_mandir}/uk/man3/guestfs-erlang.3* %files -n gobject-%{name} %{_includedir}/guestfs-gobject.h %{_includedir}/guestfs-gobject/* %{_libdir}/libguestfs-gobject-* %{_libdir}/pkgconfig/libguestfs-gobject-1.0.pc %{_libdir}/girepository-1.0/Guestfs-1.0.typelib %{_datadir}/gir-1.0/* %{_datadir}/gtk-doc/* %files -n lua-%{name} %{_libdir}/lua/*/* %{_mandir}/man3/guestfs-lua.3* %{_mandir}/uk/man3/guestfs-lua.3* %files -n golang-%{name} %{_libdir}/golang/* %{_mandir}/man3/guestfs-golang.3* %{_mandir}/uk/man3/guestfs-golang.3* %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 %lang(uk) %{_mandir}/uk/man1/*.1* %lang(uk) %{_mandir}/uk/man3/*.3* %lang(uk) %{_mandir}/uk/man5/*.5* %changelog * Wed Oct 15 2014 umeabot <umeabot> 1:1.27.39-10.mga5 + Revision: 746635 - Second Mageia 5 Mass Rebuild * Mon Oct 06 2014 joequant <joequant> 1:1.27.39-9.mga5 + Revision: 737050 - add missing requires * Sat Sep 27 2014 tv <tv> 1:1.27.39-8.mga5 + Revision: 726072 - remove file deps added by joequant 2 weeks ago * Fri Sep 26 2014 tv <tv> 1:1.27.39-7.mga5 + Revision: 725102 - rebuild for bogus file deps * Mon Sep 22 2014 tv <tv> 1:1.27.39-6.mga5 + Revision: 718658 - rebuild to get rid of /bin/bash deps + umeabot <umeabot> - Mageia 5 Mass Rebuild + joequant <joequant> - split up packages like fedora * Tue Sep 09 2014 joequant <joequant> 1:1.27.39-3.mga5 + Revision: 673831 - put in hivex in build * Mon Sep 08 2014 joequant <joequant> 1:1.27.39-2.mga5 + Revision: 673764 - turn off default - parallel compile except for v2v - start up tests - add comment * Sun Sep 07 2014 tv <tv> 1:1.27.39-1.mga5 + Revision: 673330 - fix build + adjust file list - rediff patch 2 - new release * Thu Sep 04 2014 joequant <joequant> 1:1.27.33-3.mga5 + Revision: 671748 - rebuild against new systemd so that supermin will pick up libraries * Sat Aug 30 2014 joequant <joequant> 1:1.27.33-2.mga5 + Revision: 669375 - single thread build - increment version - add ocaml compiler libs to buildrequires - update * Fri Jun 06 2014 tv <tv> 1:1.27.14-3.mga5 + Revision: 633888 - BR yajl * Fri Jun 06 2014 tv <tv> 1:1.27.14-2.mga5 + Revision: 633884 - fix bogus package name in upstreamed patch should fix the following error: "guestfsd: error while loading shared libraries: libyajl.so.2: cannot open shared object file: No such file or directory" * Thu Jun 05 2014 tv <tv> 1:1.27.14-1.mga5 + Revision: 633581 - drop merged patch - new release * Thu May 29 2014 joequant <joequant> 1:1.27.13-1.mga5 + Revision: 627433 - upgrade to 1.27.13 * Thu May 29 2014 joequant <joequant> 1:1.26.2-1.mga5 + Revision: 627391 - add requirements for perl tools - more debug lines - add listdrivers for test - sync files - update to 1.26.2 * Fri Apr 25 2014 blino <blino> 1:1.24.5-3.mga5 + Revision: 617711 - remove apparently useless dependency to iurt * Mon Feb 24 2014 tmb <tmb> 1:1.24.5-2.mga5 + Revision: 596623 - guestfish: change file requires to package requires (mga#12869) * Fri Jan 24 2014 oden <oden> 1:1.24.5-1.mga4 + Revision: 567708 - 1.24.5 - rediff patches + pterjan <pterjan> - Rebuild for new PHP * Mon Jan 06 2014 dmorgan <dmorgan> 1:1.24.0-8.mga4 + Revision: 565001 - Rebuild to please autobuild * Thu Nov 28 2013 joequant <joequant> 1:1.24.0-7.mga4 + Revision: 553811 - remove custom requires * Thu Nov 28 2013 joequant <joequant> 1:1.24.0-6.mga4 + Revision: 553804 - package libraries with readlink * Mon Nov 25 2013 joequant <joequant> 1:1.24.0-5.mga4 + Revision: 553073 - don't use custom requires for libguestfs * Tue Nov 19 2013 colin <colin> 1:1.24.0-4.mga4 + Revision: 551956 - Rebuild for new libdri * Tue Nov 12 2013 tv <tv> 1:1.24.0-3.mga4 + Revision: 550710 - requires supermin-helper in order to be able to mount disk images * Wed Oct 23 2013 joequant <joequant> 1:1.24.0-2.mga4 + Revision: 546691 - fix mandir error in build - upgrade to 1.24.0 - fix 11497 - CVE 2013-4419 + umeabot <umeabot> - Mageia 4 Mass Rebuild * Mon Oct 14 2013 joequant <joequant> 1:1.23.31-1.mga4 + Revision: 497105 - update to 1.23.31 * Thu Oct 10 2013 joequant <joequant> 1:1.23.28-1.mga4 + Revision: 494749 - upgrade to 1.23.28 * Wed Oct 09 2013 joequant <joequant> 1:1.23.27-1.mga4 + Revision: 494027 - add source package - upgrade to 1.22.27 and golang * Tue Oct 08 2013 colin <colin> 1:1.23.20-4.mga4 + Revision: 493619 - Rebuild for new ncurses based termcap * Thu Sep 26 2013 fwang <fwang> 1:1.23.20-3.mga4 + Revision: 486526 - update file list - rebuild for ruby 2.0 * Sun Sep 08 2013 joequant <joequant> 1:1.23.20-2.mga4 + Revision: 476207 - add requires * Mon Sep 02 2013 joequant <joequant> 1:1.23.20-1.mga4 + Revision: 474327 - upgrade to 1.23.20 * Sat Aug 31 2013 fwang <fwang> 1:1.23.13-8.mga4 + Revision: 473668 - rebuild for new sasl * Sat Aug 24 2013 fwang <fwang> 1:1.23.13-7.mga4 + Revision: 470446 - rebuild for new mesagl * Mon Aug 19 2013 joequant <joequant> 1:1.23.13-6.mga4 + Revision: 467602 - reduce description length * Sat Aug 17 2013 joequant <joequant> 1:1.23.13-5.mga4 + Revision: 467320 - bump to new supermin * Sat Aug 17 2013 joequant <joequant> 1:1.23.13-4.mga4 + Revision: 467154 - fix libintl dep * Sat Aug 17 2013 fwang <fwang> 1:1.23.13-3.mga4 + Revision: 467092 - drop invalid ruby req * Fri Aug 16 2013 joequant <joequant> 1:1.23.13-2.mga4 + Revision: 466909 - add build requires - libguestfs fixes * Wed Aug 14 2013 joequant <joequant> 1:1.23.13-1.mga4 + Revision: 466430 - add buildrequires as pkgconfig - add more build requires - fix build requires - fix libguestfs group - add sources for libguestfs - upgrade and update libguestfs - revert deletion + saispo <saispo> - imported package libguestfs