psss / rpms / libguestfs

Forked from rpms/libguestfs 5 years ago
Clone
a7fb5ae
# Enable to build w/o network.
a7fb5ae
%global buildnonet 1
a7fb5ae
a7fb5ae
Summary:     Access and modify virtual machine disk images
a7fb5ae
Name:        libguestfs
e11029f
Version:     1.0.59
e11029f
Release:     1%{?dist}
a7fb5ae
License:     LGPLv2+
a7fb5ae
Group:       Development/Libraries
5906ffe
URL:         http://libguestfs.org/
5906ffe
Source0:     http://libguestfs.org/download/%{name}-%{version}.tar.gz
a7fb5ae
BuildRoot:   %{_tmppath}/%{name}-%{version}-%{release}-root
a7fb5ae
a7fb5ae
# Basic build requirements:
a7fb5ae
BuildRequires: /usr/bin/pod2man
a7fb5ae
BuildRequires: /usr/bin/pod2text
722136a
BuildRequires: febootstrap >= 2.3
a7fb5ae
BuildRequires: augeas-devel >= 0.5.0
a7fb5ae
BuildRequires: readline-devel
8031aac
BuildRequires: squashfs-tools
4b3258e
BuildRequires: qemu-kvm >= 0.10-7
a7fb5ae
BuildRequires: createrepo
4214883
BuildRequires: glibc-static
a7fb5ae
a7fb5ae
# This is only needed for RHEL 5 because readline-devel doesn't
a7fb5ae
# properly depend on it, but doesn't do any harm on other platforms:
a7fb5ae
BuildRequires: ncurses-devel
a7fb5ae
722136a
# Build requirements for the appliance (see 'make.sh.in' in the source):
a7fb5ae
BuildRequires: kernel, bash, coreutils, lvm2, ntfs-3g, util-linux-ng
a7fb5ae
BuildRequires: MAKEDEV, net-tools, augeas-libs, file
a7fb5ae
BuildRequires: module-init-tools, procps, strace, iputils
0d9a1a8
BuildRequires: dosfstools, zerofree, lsof, scrub
a104b39
%ifarch %{ix86} x86_64
a104b39
BuildRequires: grub, ntfsprogs
a104b39
%endif
a7fb5ae
722136a
# Must match the above set of BuildRequires exactly!
722136a
Requires:      kernel, bash, coreutils, lvm2, ntfs-3g, util-linux-ng
722136a
Requires:      MAKEDEV, net-tools, augeas-libs, file
722136a
Requires:      module-init-tools, procps, strace, iputils
0d9a1a8
Requires:      dosfstools, zerofree, lsof, scrub
722136a
%ifarch %{ix86} x86_64
722136a
Requires:      grub, ntfsprogs
722136a
%endif
722136a
a7fb5ae
# These are only required if you want to build the bindings for
a7fb5ae
# different languages:
a7fb5ae
BuildRequires: ocaml
a7fb5ae
BuildRequires: ocaml-findlib-devel
a7fb5ae
BuildRequires: perl-devel
a7fb5ae
BuildRequires: perl-Test-Simple
a7fb5ae
BuildRequires: perl-Test-Pod
a7fb5ae
BuildRequires: perl-Test-Pod-Coverage
a7fb5ae
BuildRequires: perl-ExtUtils-MakeMaker
36e84d1
BuildRequires: perl-XML-Writer
a7fb5ae
BuildRequires: python-devel
a7fb5ae
BuildRequires: ruby-devel
a7fb5ae
BuildRequires: rubygem-rake
a7fb5ae
BuildRequires: java >= 1.5.0
a7fb5ae
BuildRequires: jpackage-utils
a7fb5ae
BuildRequires: java-devel
a7fb5ae
a7fb5ae
# For virt-inspector:
a7fb5ae
BuildRequires: perl-Sys-Virt
a7fb5ae
a7fb5ae
# Runtime requires:
153288f
Requires:      qemu-kvm >= 0.10-7
153288f
153288f
# For virt-inspector --windows-registry option.
944a04a
# NB: Enable this when available in Fedora-11:
944a04a
# https://admin.fedoraproject.org/updates/chntpw-0.99.6-8.fc11
944a04a
#Requires:      chntpw >= 0.99.6-8
a7fb5ae
a7fb5ae
a7fb5ae
%description
a7fb5ae
Libguestfs is a library for accessing and modifying guest disk images.
a7fb5ae
Amongst the things this is good for: making batch configuration
a7fb5ae
changes to guests, getting disk used/free statistics (see also:
a7fb5ae
virt-df), migrating between virtualization systems (see also:
a7fb5ae
virt-p2v), performing partial backups, performing partial guest
a7fb5ae
clones, cloning guests and changing registry/UUID/hostname info, and
a7fb5ae
much else besides.
a7fb5ae
a7fb5ae
Libguestfs uses Linux kernel and qemu code, and can access any type of
a7fb5ae
guest filesystem that Linux and qemu can, including but not limited
a7fb5ae
to: ext2/3/4, btrfs, FAT and NTFS, LVM, many different disk partition
a7fb5ae
schemes, qcow, qcow2, vmdk.
a7fb5ae
a7fb5ae
Libguestfs provides ways to enumerate guest storage (eg. partitions,
a7fb5ae
LVs, what filesystem is in each LV, etc.).  It can also run commands
a7fb5ae
in the context of the guest.  Also you can access filesystems over FTP.
a7fb5ae
a7fb5ae
Libguestfs is a library that can be linked with C and C++ management
a7fb5ae
programs.
a7fb5ae
a7fb5ae
See also the 'guestfish' package for shell scripting and command line
a7fb5ae
access.
a7fb5ae
a7fb5ae
For Perl bindings, see 'perl-libguestfs'.
a7fb5ae
a7fb5ae
For OCaml bindings, see 'ocaml-libguestfs-devel'.
a7fb5ae
a7fb5ae
For Python bindings, see 'python-libguestfs'.
a7fb5ae
a7fb5ae
For Ruby bindings, see 'ruby-libguestfs'.
a7fb5ae
a7fb5ae
For Java bindings, see 'libguestfs-java-devel'.
a7fb5ae
a7fb5ae
a7fb5ae
%package devel
a7fb5ae
Summary:     Development tools and libraries for %{name}
a7fb5ae
Group:       Development/Libraries
a7fb5ae
Requires:    %{name} = %{version}-%{release}
a7fb5ae
Requires:    pkgconfig
a7fb5ae
a7fb5ae
a7fb5ae
%description devel
a7fb5ae
%{name}-devel contains development tools and libraries
a7fb5ae
for %{name}.
a7fb5ae
a7fb5ae
a7fb5ae
%package -n guestfish
a7fb5ae
Summary:     Shell for accessing and modifying virtual machine disk images
a7fb5ae
Group:       Development/Tools
a7fb5ae
License:     GPLv2+
a7fb5ae
Requires:    %{name} = %{version}-%{release}
a7fb5ae
Requires:    /usr/bin/pod2text
1529695
Requires:    virt-inspector
a7fb5ae
a7fb5ae
a7fb5ae
%description -n guestfish
a7fb5ae
Guestfish is the Filesystem Interactive SHell, for accessing and
a7fb5ae
modifying virtual machine disk images from the command line and shell
a7fb5ae
scripts.
a7fb5ae
a7fb5ae
a7fb5ae
%package -n virt-inspector
a7fb5ae
Summary:     Display OS version, kernel, drivers, etc in a virtual machine
a7fb5ae
Group:       Development/Tools
a7fb5ae
License:     GPLv2+
a7fb5ae
Requires:    %{name} = %{version}-%{release}
a7fb5ae
Requires:    guestfish
a7fb5ae
Requires:    perl-Sys-Virt
a7fb5ae
a7fb5ae
a7fb5ae
%description -n virt-inspector
a7fb5ae
Virt-inspector examines a virtual machine and tries to determine the
a7fb5ae
version of the OS, the kernel version, what drivers are installed,
a7fb5ae
whether the virtual machine is fully virtualized (FV) or
a7fb5ae
para-virtualized (PV), what applications are installed and more.
a7fb5ae
a7fb5ae
76efcf7
%package -n virt-df2
76efcf7
Summary:     Display free space on virtual filesystems
76efcf7
Group:       Development/Tools
76efcf7
License:     GPLv2+
76efcf7
Requires:    %{name} = %{version}-%{release}
76efcf7
Requires:    perl-Sys-Virt
76efcf7
Obsoletes:   virt-df
76efcf7
Provides:    virt-df
76efcf7
76efcf7
76efcf7
%description -n virt-df2
76efcf7
"virt-df" is a command line tool to display free space on virtual
76efcf7
machine filesystems.  Unlike other tools, it doesn’t just display the
76efcf7
amount of space allocated to a virtual machine, but can look inside
76efcf7
the virtual machine to see how much space is really being used.
76efcf7
76efcf7
It is like the df(1) command, but for virtual machines, except that it
76efcf7
also works for Windows virtual machines.
76efcf7
76efcf7
a7fb5ae
%package -n ocaml-%{name}
a7fb5ae
Summary:     OCaml bindings for %{name}
a7fb5ae
Group:       Development/Libraries
a7fb5ae
Requires:    %{name} = %{version}-%{release}
a7fb5ae
a7fb5ae
a7fb5ae
%description -n ocaml-%{name}
a7fb5ae
ocaml-%{name} contains OCaml bindings for %{name}.
a7fb5ae
a7fb5ae
This is for toplevel and scripting access only.  To compile OCaml
a7fb5ae
programs which use %{name} you will also need ocaml-%{name}-devel.
a7fb5ae
a7fb5ae
a7fb5ae
%package -n ocaml-%{name}-devel
a7fb5ae
Summary:     OCaml bindings for %{name}
a7fb5ae
Group:       Development/Libraries
a7fb5ae
Requires:    ocaml-%{name} = %{version}-%{release}
a7fb5ae
a7fb5ae
a7fb5ae
%description -n ocaml-%{name}-devel
a7fb5ae
ocaml-%{name}-devel contains development libraries
a7fb5ae
required to use the OCaml bindings for %{name}.
a7fb5ae
a7fb5ae
a7fb5ae
%package -n perl-%{name}
a7fb5ae
Summary:     Perl bindings for %{name}
a7fb5ae
Group:       Development/Libraries
a7fb5ae
Requires:    %{name} = %{version}-%{release}
a7fb5ae
Requires:    perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
a7fb5ae
a7fb5ae
a7fb5ae
%description -n perl-%{name}
a7fb5ae
perl-%{name} contains Perl bindings for %{name}.
a7fb5ae
a7fb5ae
a7fb5ae
%package -n python-%{name}
a7fb5ae
Summary:     Python bindings for %{name}
a7fb5ae
Group:       Development/Libraries
a7fb5ae
Requires:    %{name} = %{version}-%{release}
a7fb5ae
a7fb5ae
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
a7fb5ae
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
a7fb5ae
a7fb5ae
%description -n python-%{name}
a7fb5ae
python-%{name} contains Python bindings for %{name}.
a7fb5ae
a7fb5ae
a7fb5ae
%package -n ruby-%{name}
a7fb5ae
Summary:     Ruby bindings for %{name}
a7fb5ae
Group:       Development/Libraries
a7fb5ae
Requires:    %{name} = %{version}-%{release}
a7fb5ae
Requires:    ruby(abi) = 1.8
a7fb5ae
Provides:    ruby(guestfs) = %{version}
a7fb5ae
a7fb5ae
%{!?ruby_sitelib: %define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")}
a7fb5ae
%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")}
a7fb5ae
a7fb5ae
%description -n ruby-%{name}
a7fb5ae
ruby-%{name} contains Ruby bindings for %{name}.
a7fb5ae
a7fb5ae
a7fb5ae
%package java
a7fb5ae
Summary:     Java bindings for %{name}
a7fb5ae
Group:       Development/Libraries
a7fb5ae
Requires:    %{name} = %{version}-%{release}
a7fb5ae
Requires:    java >= 1.5.0
a7fb5ae
Requires:    jpackage-utils
a7fb5ae
a7fb5ae
%description java
a7fb5ae
%{name}-java contains Java bindings for %{name}.
a7fb5ae
a7fb5ae
If you want to develop software in Java which uses %{name}, then
a7fb5ae
you will also need %{name}-java-devel.
a7fb5ae
a7fb5ae
a7fb5ae
%package java-devel
a7fb5ae
Summary:     Java development package for %{name}
a7fb5ae
Group:       Development/Libraries
a7fb5ae
Requires:    %{name} = %{version}-%{release}
a7fb5ae
Requires:    %{name}-java = %{version}-%{release}
a7fb5ae
a7fb5ae
%description java-devel
a7fb5ae
%{name}-java-devel contains the tools for developing Java software
a7fb5ae
using %{name}.
a7fb5ae
a7fb5ae
See also %{name}-javadoc.
a7fb5ae
a7fb5ae
a7fb5ae
%package javadoc
a7fb5ae
Summary:     Java documentation for %{name}
a7fb5ae
Group:       Development/Libraries
a7fb5ae
Requires:    %{name} = %{version}-%{release}
a7fb5ae
Requires:    %{name}-java = %{version}-%{release}
a7fb5ae
Requires:    jpackage-utils
a7fb5ae
a7fb5ae
%description javadoc
a7fb5ae
%{name}-javadoc contains the Java documentation for %{name}.
a7fb5ae
a7fb5ae
a7fb5ae
%prep
a7fb5ae
%setup -q
a7fb5ae
a7fb5ae
mkdir -p daemon/m4
a7fb5ae
a7fb5ae
a7fb5ae
%build
a7fb5ae
%if %{buildnonet}
a7fb5ae
mkdir repo
9a71447
find /var/cache/yum -type f -name '*.rpm' -print0 | xargs -0 cp -t repo
a7fb5ae
createrepo repo
4214883
%define extra --with-mirror=file://$(pwd)/repo --with-repo=fedora-12 --with-updates=none
a7fb5ae
%else
a7fb5ae
%define extra %nil
a7fb5ae
%endif
a7fb5ae
a7fb5ae
./configure \
a7fb5ae
  --prefix=%{_prefix} --libdir=%{_libdir} \
a7fb5ae
  --mandir=%{_mandir} \
a7fb5ae
  --with-qemu="qemu-kvm qemu-system-%{_build_arch} qemu" \
a7fb5ae
  --enable-debug-command \
722136a
  --enable-supermin \
a7fb5ae
  %{extra}
a7fb5ae
a7fb5ae
# This ensures that /usr/sbin/chroot is on the path.  Not needed
a7fb5ae
# except for RHEL 5, it shouldn't do any harm on other platforms.
a7fb5ae
export PATH=/usr/sbin:$PATH
a7fb5ae
a7fb5ae
# 'INSTALLDIRS' ensures that perl libs are installed in the vendor dir
a7fb5ae
# not the site dir.
a7fb5ae
make INSTALLDIRS=vendor %{?_smp_mflags}
a7fb5ae
a7fb5ae
a7fb5ae
%check
f2ed3ce
# Enable debugging - very useful if a test does fail, although
f2ed3ce
# it produces masses of output in the build.log.
f2ed3ce
export LIBGUESTFS_DEBUG=1
f2ed3ce
a104b39
# Uncomment one of these, depending on whether you want to
a104b39
# do a very long and thorough test ('make check') or just
a104b39
# a quick test to see if things generally work.
a104b39
a104b39
# Currently tests are disabled on all architectures because of:
4960eb4
#   BZ 494075/504273 (ppc, ppc64) - possibly now fixed
4960eb4
#   BZ 505109 (ppc, ppc64) - openbios boot failure
f2ed3ce
#   BZ 502058 (i386, x86-64) - only on F-11 we think, seems to work on F-12
648e800
#   BZ 502074 (i386) - sha1sum segfault on F-11 only
e2f94a2
#   BZ 503236 (i386) - cryptomgr_test at doublefault_fn (F-12 only)
e3f1237
#   BZ 507066 (all) - sequence of chroot calls makes fs unmountable (F-12 only)
76efcf7
#                     (fixed?)
a104b39
f2ed3ce
# Workaround for BZ 502058.  This is only needed for F-11, but
f2ed3ce
# won't harm other builds.
722136a
export LIBGUESTFS_APPEND="noapic"
f2ed3ce
648e800
%ifarch x86_64
f2ed3ce
make check
f2ed3ce
%endif
a104b39
a104b39
# Quick test:
a104b39
#./fish/guestfish -v <
a104b39
#alloc test.img 100M
a104b39
#run
a104b39
#sfdisk /dev/sda 0 0 0 ,
a104b39
#pvcreate /dev/sda1
a104b39
#vgcreate VG /dev/sda1
a104b39
#lvcreate LV1 VG 10M
a104b39
#lvcreate LV2 VG 10M
a104b39
#mkfs ext2 /dev/VG/LV1
a104b39
#mount /dev/VG/LV1 /
a104b39
#ll /
a104b39
#lvs
a104b39
#sync
a104b39
#EOT
a7fb5ae
a7fb5ae
a7fb5ae
%install
a7fb5ae
rm -rf $RPM_BUILD_ROOT
a7fb5ae
a7fb5ae
make DESTDIR=$RPM_BUILD_ROOT install
a7fb5ae
722136a
# Delete the ordinary appliance, leaving just the supermin appliance.
722136a
rm $RPM_BUILD_ROOT%{_libdir}/guestfs/vmlinuz.*
722136a
mkdir keep
722136a
mv $RPM_BUILD_ROOT%{_libdir}/guestfs/initramfs.*.supermin.img keep
722136a
rm $RPM_BUILD_ROOT%{_libdir}/guestfs/initramfs.*.img
722136a
mv keep/* $RPM_BUILD_ROOT%{_libdir}/guestfs/
722136a
rmdir keep
722136a
722136a
# Delete static libraries, libtool files.
a7fb5ae
rm $RPM_BUILD_ROOT%{_libdir}/libguestfs.a
a7fb5ae
rm $RPM_BUILD_ROOT%{_libdir}/libguestfs.la
a7fb5ae
a7fb5ae
# Clean up the examples/ directory which will get installed in %doc.
a7fb5ae
# Note we can't delete the original examples/Makefile because that
a7fb5ae
# will be needed by the check section later in the RPM build.
a7fb5ae
cp -a examples ex
a7fb5ae
pushd ex
a7fb5ae
make clean
a7fb5ae
rm Makefile*
a7fb5ae
rm -rf .deps .libs
a7fb5ae
popd
a7fb5ae
a7fb5ae
# Same for ocaml/examples.
a7fb5ae
cp -a ocaml/examples ocaml/ex
a7fb5ae
pushd ocaml/ex
a7fb5ae
make clean
a7fb5ae
rm Makefile*
a7fb5ae
popd
a7fb5ae
a7fb5ae
find $RPM_BUILD_ROOT -name perllocal.pod -delete
a7fb5ae
find $RPM_BUILD_ROOT -name .packlist -delete
a7fb5ae
find $RPM_BUILD_ROOT -name '*.bs' -delete
a7fb5ae
a7fb5ae
rm $RPM_BUILD_ROOT%{python_sitearch}/libguestfsmod.a
a7fb5ae
rm $RPM_BUILD_ROOT%{python_sitearch}/libguestfsmod.la
a7fb5ae
a7fb5ae
if [ "$RPM_BUILD_ROOT%{python_sitearch}" != "$RPM_BUILD_ROOT%{python_sitelib}" ]; then
a7fb5ae
   mkdir -p $RPM_BUILD_ROOT%{python_sitelib}
a7fb5ae
   mv $RPM_BUILD_ROOT%{python_sitearch}/guestfs.py* \
a7fb5ae
     $RPM_BUILD_ROOT%{python_sitelib}/
a7fb5ae
fi
a7fb5ae
a7fb5ae
# Install ruby bindings by hand.
a7fb5ae
mkdir -p $RPM_BUILD_ROOT%{ruby_sitelib}
a7fb5ae
mkdir -p $RPM_BUILD_ROOT%{ruby_sitearch}
a7fb5ae
install -p -m0644 ruby/lib/guestfs.rb $RPM_BUILD_ROOT%{ruby_sitelib}
a7fb5ae
install -p -m0755 ruby/ext/guestfs/_guestfs.so $RPM_BUILD_ROOT%{ruby_sitearch}
a7fb5ae
a7fb5ae
# Remove static-linked Java bindings.
a7fb5ae
rm $RPM_BUILD_ROOT%{_libdir}/libguestfs_jni.a
a7fb5ae
rm $RPM_BUILD_ROOT%{_libdir}/libguestfs_jni.la
a7fb5ae
a7fb5ae
# Generator shouldn't be executable when we distribute it.
a7fb5ae
chmod -x src/generator.ml
a7fb5ae
76efcf7
# Remove virt-v2v for now, WIP.
76efcf7
rm $RPM_BUILD_ROOT%{_bindir}/virt-v2v
76efcf7
rm $RPM_BUILD_ROOT%{_mandir}/man1/virt-v2v.1*
76efcf7
fd11eb2
# Find locale files.
fd11eb2
%find_lang %{name}
fd11eb2
a7fb5ae
a7fb5ae
%clean
a7fb5ae
rm -rf $RPM_BUILD_ROOT
a7fb5ae
a7fb5ae
a7fb5ae
%post -p /sbin/ldconfig
a7fb5ae
a7fb5ae
%postun -p /sbin/ldconfig
a7fb5ae
a7fb5ae
fd11eb2
%files -f %{name}.lang
a7fb5ae
%defattr(-,root,root,-)
a7fb5ae
%doc COPYING
722136a
%{_bindir}/libguestfs-supermin-helper
a7fb5ae
%{_libdir}/guestfs/
a7fb5ae
%{_libdir}/libguestfs.so.*
a7fb5ae
a7fb5ae
a7fb5ae
%files devel
a7fb5ae
%defattr(-,root,root,-)
a7fb5ae
%doc ChangeLog HACKING TODO README ex html/guestfs.3.html html/pod.css
a7fb5ae
%doc src/generator.ml
a7fb5ae
%{_libdir}/libguestfs.so
a7fb5ae
%{_mandir}/man3/guestfs.3*
2597886
%{_mandir}/man3/libguestfs.3*
a7fb5ae
%{_includedir}/guestfs.h
a7fb5ae
%{_includedir}/guestfs-actions.h
a7fb5ae
%{_includedir}/guestfs-structs.h
a7fb5ae
%{_libdir}/pkgconfig/libguestfs.pc
a7fb5ae
a7fb5ae
a7fb5ae
%files -n guestfish
a7fb5ae
%defattr(-,root,root,-)
a7fb5ae
%doc html/guestfish.1.html html/pod.css recipes/
a7fb5ae
%{_bindir}/guestfish
a7fb5ae
%{_mandir}/man1/guestfish.1*
a7fb5ae
a7fb5ae
a7fb5ae
%files -n virt-inspector
a7fb5ae
%defattr(-,root,root,-)
a7fb5ae
%{_bindir}/virt-inspector
a7fb5ae
%{_mandir}/man1/virt-inspector.1*
a7fb5ae
a7fb5ae
76efcf7
%files -n virt-df2
76efcf7
%defattr(-,root,root,-)
76efcf7
%{_bindir}/virt-df
76efcf7
%{_mandir}/man1/virt-df.1*
76efcf7
76efcf7
a7fb5ae
%files -n ocaml-%{name}
a7fb5ae
%defattr(-,root,root,-)
a7fb5ae
%doc README
a7fb5ae
%{_libdir}/ocaml/guestfs
a7fb5ae
%exclude %{_libdir}/ocaml/guestfs/*.a
a7fb5ae
%exclude %{_libdir}/ocaml/guestfs/*.cmxa
a7fb5ae
%exclude %{_libdir}/ocaml/guestfs/*.cmx
a7fb5ae
%exclude %{_libdir}/ocaml/guestfs/*.mli
a7fb5ae
%{_libdir}/ocaml/stublibs/*.so
a7fb5ae
%{_libdir}/ocaml/stublibs/*.so.owner
a7fb5ae
a7fb5ae
a7fb5ae
%files -n ocaml-%{name}-devel
a7fb5ae
%defattr(-,root,root,-)
a7fb5ae
%doc ocaml/ex
a7fb5ae
%{_libdir}/ocaml/guestfs/*.a
a7fb5ae
%{_libdir}/ocaml/guestfs/*.cmxa
a7fb5ae
%{_libdir}/ocaml/guestfs/*.cmx
a7fb5ae
%{_libdir}/ocaml/guestfs/*.mli
a7fb5ae
a7fb5ae
a7fb5ae
%files -n perl-%{name}
a7fb5ae
%defattr(-,root,root,-)
a7fb5ae
%doc perl/examples
a7fb5ae
%{perl_vendorarch}/*
a7fb5ae
%{_mandir}/man3/Sys::Guestfs.3pm*
76efcf7
%{_mandir}/man3/Sys::Guestfs::Lib.3pm*
a7fb5ae
a7fb5ae
a7fb5ae
%files -n python-%{name}
a7fb5ae
%defattr(-,root,root,-)
a7fb5ae
%doc README
a7fb5ae
%{python_sitearch}/*
a7fb5ae
%{python_sitelib}/*.py
a7fb5ae
%{python_sitelib}/*.pyc
a7fb5ae
%{python_sitelib}/*.pyo
a7fb5ae
a7fb5ae
a7fb5ae
%files -n ruby-%{name}
a7fb5ae
%defattr(-,root,root,-)
a7fb5ae
%doc README
a7fb5ae
%{ruby_sitelib}/guestfs.rb
a7fb5ae
%{ruby_sitearch}/_guestfs.so
a7fb5ae
a7fb5ae
a7fb5ae
%files java
a7fb5ae
%defattr(-,root,root,-)
a7fb5ae
%doc README
a7fb5ae
%{_libdir}/libguestfs_jni*.so.*
a7fb5ae
%{_datadir}/java/*.jar
a7fb5ae
a7fb5ae
a7fb5ae
%files java-devel
a7fb5ae
%defattr(-,root,root,-)
a7fb5ae
%doc README
a7fb5ae
%{_libdir}/libguestfs_jni*.so
a7fb5ae
a7fb5ae
a7fb5ae
%files javadoc
a7fb5ae
%defattr(-,root,root,-)
a7fb5ae
%doc README
a7fb5ae
%{_datadir}/javadoc/%{name}-java-%{version}
a7fb5ae
a7fb5ae
a7fb5ae
%changelog
e11029f
* Tue Jul 14 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.59-1
e11029f
- New upstream release 1.0.59.
e11029f
400c5fa
* Fri Jul 10 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.58-2
1c5712b
- New upstream release 1.0.58.
1c5712b
76efcf7
* Fri Jul 10 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.57-1
76efcf7
- New upstream release 1.0.57.
76efcf7
- New tool virt-df (obsoletes existing package with this name).
76efcf7
89e8497
* Tue Jul  7 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.56-2
084e889
- New upstream release 1.0.56.
89e8497
- Don't rerun generator.
084e889
2597886
* Thu Jul  2 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.55-1
2597886
- New upstream release 1.0.55.
2597886
- New manual page libguestfs(3).
2597886
36e84d1
* Mon Jun 29 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.54-2
5d5139e
- New upstream release 1.0.54.
36e84d1
- +BR perl-XML-Writer.
5d5139e
e3f1237
* Wed Jun 24 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.53-1
e3f1237
- New upstream release 1.0.53.
e3f1237
ab7f78a
* Wed Jun 24 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.52-1
ab7f78a
- New upstream release 1.0.52.
ab7f78a
ab5d9f8
* Mon Jun 22 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.51-1
ab5d9f8
- New upstream release 1.0.51.
722136a
- Enable supermin appliance, backporting changes from devel branch.
722136a
9a71447
* Fri Jun 12 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.45-1
9a71447
- New upstream release 1.0.45.
9a71447
b53c975
* Wed Jun 10 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.44-1
b53c975
- New upstream version 1.0.44.
b53c975
5906ffe
* Tue Jun  9 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.43-1
5906ffe
- New upstream version 1.0.43.
5906ffe
- New upstream URL.
5906ffe
- Requires chntpw program.
5906ffe
6bdfcca
* Sat Jun  6 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.42-1
6bdfcca
- New upstream version 1.0.42.
6bdfcca
46d64ff
* Thu Jun  4 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.41-1
46d64ff
- New upstream version 1.0.41.
46d64ff
- Fixes a number of regressions in RHBZ#503169.
46d64ff
fa18fa4
* Thu Jun  4 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.40-1
fa18fa4
- New upstream version 1.0.40.
fa18fa4
fcd1427
* Thu Jun  4 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.39-1
fcd1427
- New upstream version 1.0.39.
fcd1427
- Fixes:
fcd1427
  . libguestfs /dev is too sparse for kernel installation/upgrade (RHBZ#503169)
fcd1427
  . OCaml bindings build failure (RHBZ#502309)
fcd1427
09ee2fd
* Tue Jun  2 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.38-1
09ee2fd
- New upstream version 1.0.38.
09ee2fd
8031aac
* Fri May 29 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.37-1
8031aac
- New upstream version 1.0.37.
8031aac
- Fixes:
8031aac
  . "mkdir-p" should not throw errors on preexisting directories (RHBZ#503133)
8031aac
  . cramfs and squashfs modules should be available in libguestfs appliances
8031aac
      (RHBZ#503135)
8031aac
eabe0bf
* Thu May 28 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.36-1.fc11.2
bce5f44
- New upstream version 1.0.36.
eabe0bf
- Rerun the generator in prep section.
bce5f44
981b626
* Thu May 28 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.35-1
981b626
- New upstream version 1.0.35.
981b626
- Fixes multiple bugs in bindings parameters (RHBZ#501892).
981b626
64c177a
* Wed May 27 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.33-1
64c177a
- New upstream version 1.0.33.
64c177a
- --with-java-home option is no longer required.
64c177a
- Upstream contains potential fixes for:
64c177a
    501878 built-in commands like 'alloc' and 'help' don't autocomplete
64c177a
    501883 javadoc messed up in libguestfs java documentation
64c177a
    501885 Doesn't detect missing Java, --with-java-home=no should not be needed
64c177a
    502533 Polish translation of libguestfs
64c177a
    n/a    Allow more ext filesystem kmods (Charles Duffy)
64c177a
fd11eb2
* Tue May 26 2009 Richard Jones <rjones@redhat.com> - 1.0.32-1.fc11.1
53df127
- New upstream version 1.0.32.
fd11eb2
- Use %%find_lang macro.
53df127
648e800
* Thu May 21 2009 Richard Jones <rjones@redhat.com> - 1.0.30-1.fc11.2
f2ed3ce
- Backport version 1.0.30 from devel branch.
648e800
- Disable tests on i586 because of RHBZ#502074.
f2ed3ce
4b3258e
* Thu May 21 2009 Richard Jones <rjones@redhat.com> - 1.0.27-1.fc11.2
4b3258e
- Change requirement from qemu -> qemu-kvm (RHBZ#501761).
4b3258e
63e95ac
* Wed May 20 2009 Richard Jones <rjones@redhat.com> - 1.0.27-1.fc11.1
63e95ac
- Requested that zerofree and febootstrap be moved so we will be able
63e95ac
  to build this.
63e95ac
a104b39
* Wed May 20 2009 Richard Jones <rjones@redhat.com> - 1.0.27-1
a104b39
- Backport version 1.0.27 from devel branch.
a104b39
4214883
* Tue May 12 2009 Richard Jones <rjones@redhat.com> - 1.0.25-3
4214883
- New upstream version 1.0.25.
4214883
- Enable debugging when running the tests.
4214883
4214883
* Tue May 12 2009 Richard Jones <rjones@redhat.com> - 1.0.24-1
4214883
- New upstream version 1.0.24.
4214883
- BRs glibc-static for the new command tests.
4214883
- Enable tests.
4214883
4214883
* Mon May 11 2009 Richard Jones <rjones@redhat.com> - 1.0.23-2
4214883
- New upstream version 1.0.23.
4214883
- Don't try to use updates during build.
4214883
0bed537
* Fri May  8 2009 Richard Jones <rjones@redhat.com> - 1.0.21-3
a7fb5ae
- New upstream version 1.0.21.
a7fb5ae
a7fb5ae
* Thu May  7 2009 Richard Jones <rjones@redhat.com> - 1.0.20-2
a7fb5ae
- New upstream version 1.0.20.
a7fb5ae
a7fb5ae
* Thu May  7 2009 Richard Jones <rjones@redhat.com> - 1.0.19-1
a7fb5ae
- New upstream version 1.0.19.
a7fb5ae
a7fb5ae
* Tue Apr 28 2009 Richard Jones <rjones@redhat.com> - 1.0.15-1
a7fb5ae
- New upstream version 1.0.15.
a7fb5ae
a7fb5ae
* Fri Apr 24 2009 Richard Jones <rjones@redhat.com> - 1.0.12-1
a7fb5ae
- New upstream version 1.0.12.
a7fb5ae
a7fb5ae
* Wed Apr 22 2009 Richard Jones <rjones@redhat.com> - 1.0.6-1
a7fb5ae
- New upstream version 1.0.6.
a7fb5ae
a7fb5ae
* Mon Apr 20 2009 Richard Jones <rjones@redhat.com> - 1.0.2-1
a7fb5ae
- New upstream version 1.0.2.
a7fb5ae
a7fb5ae
* Thu Apr 16 2009 Richard Jones <rjones@redhat.com> - 0.9.9-12
a7fb5ae
- Multiple fixes to get it to scratch build in Koji.
a7fb5ae
a7fb5ae
* Sat Apr  4 2009 Richard Jones <rjones@redhat.com> - 0.9.9-1
a7fb5ae
- Initial build.