psss / rpms / libguestfs

Forked from rpms/libguestfs 5 years ago
Clone
cf9a4f6
# Enable to build w/o network.
cf9a4f6
%global buildnonet 1
cf9a4f6
cf9a4f6
Summary:     Access and modify virtual machine disk images
cf9a4f6
Name:        libguestfs
0a6223f
Version:     1.0.49
8db373f
Release:     2%{?dist}
cf9a4f6
License:     LGPLv2+
cf9a4f6
Group:       Development/Libraries
7516e72
URL:         http://libguestfs.org/
7516e72
Source0:     http://libguestfs.org/download/%{name}-%{version}.tar.gz
cf9a4f6
BuildRoot:   %{_tmppath}/%{name}-%{version}-%{release}-root
cf9a4f6
cf9a4f6
# Basic build requirements:
cf9a4f6
BuildRequires: /usr/bin/pod2man
cf9a4f6
BuildRequires: /usr/bin/pod2text
b85765a
BuildRequires: febootstrap >= 2.3
cf9a4f6
BuildRequires: augeas-devel >= 0.5.0
cf9a4f6
BuildRequires: readline-devel
c23c73c
BuildRequires: squashfs-tools
0e78dca
BuildRequires: qemu-kvm >= 0.10-7
cf9a4f6
BuildRequires: createrepo
8b5d7c1
BuildRequires: glibc-static
cf9a4f6
cf9a4f6
# This is only needed for RHEL 5 because readline-devel doesn't
cf9a4f6
# properly depend on it, but doesn't do any harm on other platforms:
cf9a4f6
BuildRequires: ncurses-devel
cf9a4f6
b30310c
# Build requirements for the appliance (see 'make.sh.in' in the source):
cf9a4f6
BuildRequires: kernel, bash, coreutils, lvm2, ntfs-3g, util-linux-ng
cf9a4f6
BuildRequires: MAKEDEV, net-tools, augeas-libs, file
cf9a4f6
BuildRequires: module-init-tools, procps, strace, iputils
0c07f95
BuildRequires: dosfstools, zerofree
0c07f95
%ifarch %{ix86} x86_64
0c07f95
BuildRequires: grub, ntfsprogs
0c07f95
%endif
cf9a4f6
b30310c
# Must match the above set of BuildRequires exactly!
b30310c
Requires:      kernel, bash, coreutils, lvm2, ntfs-3g, util-linux-ng
b30310c
Requires:      MAKEDEV, net-tools, augeas-libs, file
b30310c
Requires:      module-init-tools, procps, strace, iputils
b30310c
Requires:      dosfstools, zerofree
b30310c
%ifarch %{ix86} x86_64
b30310c
Requires:      grub, ntfsprogs
b30310c
%endif
b30310c
cf9a4f6
# These are only required if you want to build the bindings for
cf9a4f6
# different languages:
cf9a4f6
BuildRequires: ocaml
cf9a4f6
BuildRequires: ocaml-findlib-devel
cf9a4f6
BuildRequires: perl-devel
cf9a4f6
BuildRequires: perl-Test-Simple
cf9a4f6
BuildRequires: perl-Test-Pod
cf9a4f6
BuildRequires: perl-Test-Pod-Coverage
cf9a4f6
BuildRequires: perl-ExtUtils-MakeMaker
cf9a4f6
BuildRequires: python-devel
cf9a4f6
BuildRequires: ruby-devel
cf9a4f6
BuildRequires: rubygem-rake
cf9a4f6
BuildRequires: java >= 1.5.0
cf9a4f6
BuildRequires: jpackage-utils
cf9a4f6
BuildRequires: java-devel
cf9a4f6
cf9a4f6
# For virt-inspector:
cf9a4f6
BuildRequires: perl-Sys-Virt
cf9a4f6
cf9a4f6
# Runtime requires:
3bc400e
Requires:      qemu-kvm >= 0.10-7
3bc400e
3bc400e
# For virt-inspector --windows-registry option.
3bc400e
Requires:      chntpw >= 0.99.6-8
cf9a4f6
cf9a4f6
cf9a4f6
%description
cf9a4f6
Libguestfs is a library for accessing and modifying guest disk images.
cf9a4f6
Amongst the things this is good for: making batch configuration
cf9a4f6
changes to guests, getting disk used/free statistics (see also:
cf9a4f6
virt-df), migrating between virtualization systems (see also:
cf9a4f6
virt-p2v), performing partial backups, performing partial guest
cf9a4f6
clones, cloning guests and changing registry/UUID/hostname info, and
cf9a4f6
much else besides.
cf9a4f6
cf9a4f6
Libguestfs uses Linux kernel and qemu code, and can access any type of
cf9a4f6
guest filesystem that Linux and qemu can, including but not limited
cf9a4f6
to: ext2/3/4, btrfs, FAT and NTFS, LVM, many different disk partition
cf9a4f6
schemes, qcow, qcow2, vmdk.
cf9a4f6
cf9a4f6
Libguestfs provides ways to enumerate guest storage (eg. partitions,
cf9a4f6
LVs, what filesystem is in each LV, etc.).  It can also run commands
cf9a4f6
in the context of the guest.  Also you can access filesystems over FTP.
cf9a4f6
cf9a4f6
Libguestfs is a library that can be linked with C and C++ management
cf9a4f6
programs.
cf9a4f6
cf9a4f6
See also the 'guestfish' package for shell scripting and command line
cf9a4f6
access.
cf9a4f6
cf9a4f6
For Perl bindings, see 'perl-libguestfs'.
cf9a4f6
cf9a4f6
For OCaml bindings, see 'ocaml-libguestfs-devel'.
cf9a4f6
cf9a4f6
For Python bindings, see 'python-libguestfs'.
cf9a4f6
cf9a4f6
For Ruby bindings, see 'ruby-libguestfs'.
cf9a4f6
cf9a4f6
For Java bindings, see 'libguestfs-java-devel'.
cf9a4f6
cf9a4f6
cf9a4f6
%package devel
cf9a4f6
Summary:     Development tools and libraries for %{name}
cf9a4f6
Group:       Development/Libraries
cf9a4f6
Requires:    %{name} = %{version}-%{release}
cf9a4f6
Requires:    pkgconfig
cf9a4f6
cf9a4f6
cf9a4f6
%description devel
cf9a4f6
%{name}-devel contains development tools and libraries
cf9a4f6
for %{name}.
cf9a4f6
cf9a4f6
cf9a4f6
%package -n guestfish
cf9a4f6
Summary:     Shell for accessing and modifying virtual machine disk images
cf9a4f6
Group:       Development/Tools
cf9a4f6
License:     GPLv2+
cf9a4f6
Requires:    %{name} = %{version}-%{release}
cf9a4f6
Requires:    /usr/bin/pod2text
cf9a4f6
cf9a4f6
cf9a4f6
%description -n guestfish
cf9a4f6
Guestfish is the Filesystem Interactive SHell, for accessing and
cf9a4f6
modifying virtual machine disk images from the command line and shell
cf9a4f6
scripts.
cf9a4f6
cf9a4f6
cf9a4f6
%package -n virt-inspector
cf9a4f6
Summary:     Display OS version, kernel, drivers, etc in a virtual machine
cf9a4f6
Group:       Development/Tools
cf9a4f6
License:     GPLv2+
cf9a4f6
Requires:    %{name} = %{version}-%{release}
cf9a4f6
Requires:    guestfish
cf9a4f6
Requires:    perl-Sys-Virt
cf9a4f6
cf9a4f6
cf9a4f6
%description -n virt-inspector
cf9a4f6
Virt-inspector examines a virtual machine and tries to determine the
cf9a4f6
version of the OS, the kernel version, what drivers are installed,
cf9a4f6
whether the virtual machine is fully virtualized (FV) or
cf9a4f6
para-virtualized (PV), what applications are installed and more.
cf9a4f6
cf9a4f6
cf9a4f6
%package -n ocaml-%{name}
cf9a4f6
Summary:     OCaml bindings for %{name}
cf9a4f6
Group:       Development/Libraries
cf9a4f6
Requires:    %{name} = %{version}-%{release}
cf9a4f6
cf9a4f6
cf9a4f6
%description -n ocaml-%{name}
cf9a4f6
ocaml-%{name} contains OCaml bindings for %{name}.
cf9a4f6
cf9a4f6
This is for toplevel and scripting access only.  To compile OCaml
cf9a4f6
programs which use %{name} you will also need ocaml-%{name}-devel.
cf9a4f6
cf9a4f6
cf9a4f6
%package -n ocaml-%{name}-devel
cf9a4f6
Summary:     OCaml bindings for %{name}
cf9a4f6
Group:       Development/Libraries
cf9a4f6
Requires:    ocaml-%{name} = %{version}-%{release}
cf9a4f6
cf9a4f6
cf9a4f6
%description -n ocaml-%{name}-devel
cf9a4f6
ocaml-%{name}-devel contains development libraries
cf9a4f6
required to use the OCaml bindings for %{name}.
cf9a4f6
cf9a4f6
cf9a4f6
%package -n perl-%{name}
cf9a4f6
Summary:     Perl bindings for %{name}
cf9a4f6
Group:       Development/Libraries
cf9a4f6
Requires:    %{name} = %{version}-%{release}
cf9a4f6
Requires:    perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
cf9a4f6
cf9a4f6
cf9a4f6
%description -n perl-%{name}
cf9a4f6
perl-%{name} contains Perl bindings for %{name}.
cf9a4f6
cf9a4f6
cf9a4f6
%package -n python-%{name}
cf9a4f6
Summary:     Python bindings for %{name}
cf9a4f6
Group:       Development/Libraries
cf9a4f6
Requires:    %{name} = %{version}-%{release}
cf9a4f6
cf9a4f6
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
cf9a4f6
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
cf9a4f6
cf9a4f6
%description -n python-%{name}
cf9a4f6
python-%{name} contains Python bindings for %{name}.
cf9a4f6
cf9a4f6
cf9a4f6
%package -n ruby-%{name}
cf9a4f6
Summary:     Ruby bindings for %{name}
cf9a4f6
Group:       Development/Libraries
cf9a4f6
Requires:    %{name} = %{version}-%{release}
cf9a4f6
Requires:    ruby(abi) = 1.8
cf9a4f6
Provides:    ruby(guestfs) = %{version}
cf9a4f6
cf9a4f6
%{!?ruby_sitelib: %define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")}
cf9a4f6
%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")}
cf9a4f6
cf9a4f6
%description -n ruby-%{name}
cf9a4f6
ruby-%{name} contains Ruby bindings for %{name}.
cf9a4f6
cf9a4f6
cf9a4f6
%package java
cf9a4f6
Summary:     Java bindings for %{name}
cf9a4f6
Group:       Development/Libraries
cf9a4f6
Requires:    %{name} = %{version}-%{release}
cf9a4f6
Requires:    java >= 1.5.0
cf9a4f6
Requires:    jpackage-utils
cf9a4f6
cf9a4f6
%description java
cf9a4f6
%{name}-java contains Java bindings for %{name}.
cf9a4f6
cf9a4f6
If you want to develop software in Java which uses %{name}, then
cf9a4f6
you will also need %{name}-java-devel.
cf9a4f6
cf9a4f6
cf9a4f6
%package java-devel
cf9a4f6
Summary:     Java development package for %{name}
cf9a4f6
Group:       Development/Libraries
cf9a4f6
Requires:    %{name} = %{version}-%{release}
cf9a4f6
Requires:    %{name}-java = %{version}-%{release}
cf9a4f6
cf9a4f6
%description java-devel
cf9a4f6
%{name}-java-devel contains the tools for developing Java software
cf9a4f6
using %{name}.
cf9a4f6
cf9a4f6
See also %{name}-javadoc.
cf9a4f6
cf9a4f6
cf9a4f6
%package javadoc
cf9a4f6
Summary:     Java documentation for %{name}
cf9a4f6
Group:       Development/Libraries
cf9a4f6
Requires:    %{name} = %{version}-%{release}
cf9a4f6
Requires:    %{name}-java = %{version}-%{release}
cf9a4f6
Requires:    jpackage-utils
cf9a4f6
cf9a4f6
%description javadoc
cf9a4f6
%{name}-javadoc contains the Java documentation for %{name}.
cf9a4f6
cf9a4f6
cf9a4f6
%prep
cf9a4f6
%setup -q
cf9a4f6
cf9a4f6
mkdir -p daemon/m4
cf9a4f6
44096f2
# Rerun the generator to make sure all files are up to date.
44096f2
src/generator.ml
44096f2
cf9a4f6
cf9a4f6
%build
cf9a4f6
%if %{buildnonet}
cf9a4f6
mkdir repo
5a57abd
find /var/cache/yum -type f -name '*.rpm' -print0 | xargs -0 cp -t repo
cf9a4f6
createrepo repo
b0d05cc
%define extra --with-mirror=file://$(pwd)/repo --with-repo=fedora-12 --with-updates=none
cf9a4f6
%else
cf9a4f6
%define extra %nil
cf9a4f6
%endif
cf9a4f6
cf9a4f6
./configure \
cf9a4f6
  --prefix=%{_prefix} --libdir=%{_libdir} \
cf9a4f6
  --mandir=%{_mandir} \
cf9a4f6
  --with-qemu="qemu-kvm qemu-system-%{_build_arch} qemu" \
cf9a4f6
  --enable-debug-command \
b30310c
  --enable-supermin \
cf9a4f6
  %{extra}
cf9a4f6
cf9a4f6
# This ensures that /usr/sbin/chroot is on the path.  Not needed
cf9a4f6
# except for RHEL 5, it shouldn't do any harm on other platforms.
cf9a4f6
export PATH=/usr/sbin:$PATH
cf9a4f6
cf9a4f6
# 'INSTALLDIRS' ensures that perl libs are installed in the vendor dir
cf9a4f6
# not the site dir.
cf9a4f6
make INSTALLDIRS=vendor %{?_smp_mflags}
cf9a4f6
cf9a4f6
cf9a4f6
%check
25bc3cd
# Enable debugging - very useful if a test does fail, although
25bc3cd
# it produces masses of output in the build.log.
25bc3cd
export LIBGUESTFS_DEBUG=1
25bc3cd
490d04e
# Uncomment one of these, depending on whether you want to
490d04e
# do a very long and thorough test ('make check') or just
490d04e
# a quick test to see if things generally work.
490d04e
0f4751f
# Currently tests are disabled on all architectures because of:
c34068c
#   BZ 494075/504273 (ppc, ppc64) - possibly now fixed
c34068c
#   BZ 505109 (ppc, ppc64) - openbios boot failure
26da628
#   BZ 502058 (i386, x86-64) - only on F-11 we think, seems to work on F-12
d93609a
#   BZ 502074 (i386) - sha1sum segfault on F-11 only
d407ba1
#   BZ 503236 (i386) - cryptomgr_test at doublefault_fn (F-12 only)
26da628
e8058cb
# Workaround for BZ 502058.  This is only needed for F-11, but
e8058cb
# won't harm other builds.
8db373f
# mce=off is a workaround for BZ 507007 (only for a particular
8db373f
# 2.6.31 kernel release in Rawhide).
8db373f
export LIBGUESTFS_APPEND="noapic mce=off"
490d04e
c34068c
%ifarch x86_64
d407ba1
make check
d407ba1
%endif
490d04e
490d04e
# Quick test:
490d04e
#./fish/guestfish -v <
490d04e
#alloc test.img 100M
490d04e
#run
490d04e
#sfdisk /dev/sda 0 0 0 ,
490d04e
#pvcreate /dev/sda1
490d04e
#vgcreate VG /dev/sda1
490d04e
#lvcreate LV1 VG 10M
490d04e
#lvcreate LV2 VG 10M
490d04e
#mkfs ext2 /dev/VG/LV1
490d04e
#mount /dev/VG/LV1 /
490d04e
#ll /
490d04e
#lvs
490d04e
#sync
490d04e
#EOT
cf9a4f6
984ff61
cf9a4f6
%install
cf9a4f6
rm -rf $RPM_BUILD_ROOT
cf9a4f6
cf9a4f6
make DESTDIR=$RPM_BUILD_ROOT install
cf9a4f6
b30310c
# Delete the ordinary appliance, leaving just the supermin appliance.
4233640
rm $RPM_BUILD_ROOT%{_libdir}/guestfs/vmlinuz.*
46a42a1
mkdir keep
46a42a1
mv $RPM_BUILD_ROOT%{_libdir}/guestfs/initramfs.*.supermin.img keep
4233640
rm $RPM_BUILD_ROOT%{_libdir}/guestfs/initramfs.*.img
46a42a1
mv keep/* $RPM_BUILD_ROOT%{_libdir}/guestfs/
46a42a1
rmdir keep
b30310c
b30310c
# Delete static libraries, libtool files.
cf9a4f6
rm $RPM_BUILD_ROOT%{_libdir}/libguestfs.a
cf9a4f6
rm $RPM_BUILD_ROOT%{_libdir}/libguestfs.la
cf9a4f6
cf9a4f6
# Clean up the examples/ directory which will get installed in %doc.
cf9a4f6
# Note we can't delete the original examples/Makefile because that
cf9a4f6
# will be needed by the check section later in the RPM build.
cf9a4f6
cp -a examples ex
cf9a4f6
pushd ex
cf9a4f6
make clean
cf9a4f6
rm Makefile*
cf9a4f6
rm -rf .deps .libs
cf9a4f6
popd
cf9a4f6
cf9a4f6
# Same for ocaml/examples.
cf9a4f6
cp -a ocaml/examples ocaml/ex
cf9a4f6
pushd ocaml/ex
cf9a4f6
make clean
cf9a4f6
rm Makefile*
cf9a4f6
popd
cf9a4f6
cf9a4f6
find $RPM_BUILD_ROOT -name perllocal.pod -delete
cf9a4f6
find $RPM_BUILD_ROOT -name .packlist -delete
cf9a4f6
find $RPM_BUILD_ROOT -name '*.bs' -delete
cf9a4f6
cf9a4f6
rm $RPM_BUILD_ROOT%{python_sitearch}/libguestfsmod.a
cf9a4f6
rm $RPM_BUILD_ROOT%{python_sitearch}/libguestfsmod.la
cf9a4f6
cf9a4f6
if [ "$RPM_BUILD_ROOT%{python_sitearch}" != "$RPM_BUILD_ROOT%{python_sitelib}" ]; then
cf9a4f6
   mkdir -p $RPM_BUILD_ROOT%{python_sitelib}
cf9a4f6
   mv $RPM_BUILD_ROOT%{python_sitearch}/guestfs.py* \
cf9a4f6
     $RPM_BUILD_ROOT%{python_sitelib}/
cf9a4f6
fi
cf9a4f6
cf9a4f6
# Install ruby bindings by hand.
cf9a4f6
mkdir -p $RPM_BUILD_ROOT%{ruby_sitelib}
cf9a4f6
mkdir -p $RPM_BUILD_ROOT%{ruby_sitearch}
cf9a4f6
install -p -m0644 ruby/lib/guestfs.rb $RPM_BUILD_ROOT%{ruby_sitelib}
cf9a4f6
install -p -m0755 ruby/ext/guestfs/_guestfs.so $RPM_BUILD_ROOT%{ruby_sitearch}
cf9a4f6
cf9a4f6
# Remove static-linked Java bindings.
cf9a4f6
rm $RPM_BUILD_ROOT%{_libdir}/libguestfs_jni.a
cf9a4f6
rm $RPM_BUILD_ROOT%{_libdir}/libguestfs_jni.la
cf9a4f6
cf9a4f6
# Generator shouldn't be executable when we distribute it.
cf9a4f6
chmod -x src/generator.ml
cf9a4f6
16c80f1
# Find locale files.
16c80f1
%find_lang %{name}
16c80f1
cf9a4f6
cf9a4f6
%clean
cf9a4f6
rm -rf $RPM_BUILD_ROOT
cf9a4f6
cf9a4f6
cf9a4f6
%post -p /sbin/ldconfig
cf9a4f6
cf9a4f6
%postun -p /sbin/ldconfig
cf9a4f6
cf9a4f6
16c80f1
%files -f %{name}.lang
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%doc COPYING
0a6223f
%{_bindir}/libguestfs-supermin-helper
cf9a4f6
%{_libdir}/guestfs/
cf9a4f6
%{_libdir}/libguestfs.so.*
cf9a4f6
cf9a4f6
cf9a4f6
%files devel
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%doc ChangeLog HACKING TODO README ex html/guestfs.3.html html/pod.css
cf9a4f6
%doc src/generator.ml
cf9a4f6
%{_libdir}/libguestfs.so
cf9a4f6
%{_mandir}/man3/guestfs.3*
cf9a4f6
%{_includedir}/guestfs.h
cf9a4f6
%{_includedir}/guestfs-actions.h
cf9a4f6
%{_includedir}/guestfs-structs.h
cf9a4f6
%{_libdir}/pkgconfig/libguestfs.pc
cf9a4f6
cf9a4f6
cf9a4f6
%files -n guestfish
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%doc html/guestfish.1.html html/pod.css recipes/
cf9a4f6
%{_bindir}/guestfish
cf9a4f6
%{_mandir}/man1/guestfish.1*
cf9a4f6
cf9a4f6
cf9a4f6
%files -n virt-inspector
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%{_bindir}/virt-inspector
cf9a4f6
%{_mandir}/man1/virt-inspector.1*
cf9a4f6
cf9a4f6
cf9a4f6
%files -n ocaml-%{name}
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%doc README
cf9a4f6
%{_libdir}/ocaml/guestfs
cf9a4f6
%exclude %{_libdir}/ocaml/guestfs/*.a
cf9a4f6
%exclude %{_libdir}/ocaml/guestfs/*.cmxa
cf9a4f6
%exclude %{_libdir}/ocaml/guestfs/*.cmx
cf9a4f6
%exclude %{_libdir}/ocaml/guestfs/*.mli
cf9a4f6
%{_libdir}/ocaml/stublibs/*.so
cf9a4f6
%{_libdir}/ocaml/stublibs/*.so.owner
cf9a4f6
cf9a4f6
cf9a4f6
%files -n ocaml-%{name}-devel
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%doc ocaml/ex
cf9a4f6
%{_libdir}/ocaml/guestfs/*.a
cf9a4f6
%{_libdir}/ocaml/guestfs/*.cmxa
cf9a4f6
%{_libdir}/ocaml/guestfs/*.cmx
cf9a4f6
%{_libdir}/ocaml/guestfs/*.mli
cf9a4f6
cf9a4f6
cf9a4f6
%files -n perl-%{name}
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%doc perl/examples
cf9a4f6
%{perl_vendorarch}/*
cf9a4f6
%{_mandir}/man3/Sys::Guestfs.3pm*
cf9a4f6
cf9a4f6
cf9a4f6
%files -n python-%{name}
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%doc README
cf9a4f6
%{python_sitearch}/*
cf9a4f6
%{python_sitelib}/*.py
cf9a4f6
%{python_sitelib}/*.pyc
cf9a4f6
%{python_sitelib}/*.pyo
cf9a4f6
cf9a4f6
cf9a4f6
%files -n ruby-%{name}
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%doc README
cf9a4f6
%{ruby_sitelib}/guestfs.rb
cf9a4f6
%{ruby_sitearch}/_guestfs.so
cf9a4f6
cf9a4f6
cf9a4f6
%files java
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%doc README
cf9a4f6
%{_libdir}/libguestfs_jni*.so.*
cf9a4f6
%{_datadir}/java/*.jar
cf9a4f6
cf9a4f6
cf9a4f6
%files java-devel
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%doc README
cf9a4f6
%{_libdir}/libguestfs_jni*.so
cf9a4f6
cf9a4f6
cf9a4f6
%files javadoc
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%doc README
cf9a4f6
%{_datadir}/javadoc/%{name}-java-%{version}
cf9a4f6
cf9a4f6
cf9a4f6
%changelog
8db373f
* Fri Jun 19 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.49-2
0a6223f
- New upstream release 1.0.49.
8db373f
- Add workaround for RHBZ#507007.
0a6223f
46a42a1
* Tue Jun 16 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.48-2
46a42a1
- Accidentally omitted the supermin image from previous version.
46a42a1
b85765a
* Tue Jun 16 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.48-1
b85765a
- New upstream release 1.0.48.
b85765a
- Should fix all the brokenness from 1.0.47.
b85765a
- Requires febootstrap >= 2.3.
b85765a
4233640
* Mon Jun 15 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.47-2
a8dad2f
- New upstream release 1.0.47.
b30310c
- Enable experimental supermin appliance build.
4233640
- Fix path to appliance.
b30310c
3003f4d
* Fri Jun 12 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.45-2
5a57abd
- New upstream release 1.0.45.
5a57abd
c34068c
* Wed Jun 10 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.44-2
c34068c
- Disable ppc/ppc64 tests again because of RHBZ#505109.
c34068c
dbdd072
* Wed Jun 10 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.44-1
dbdd072
- New upstream version 1.0.44.
dbdd072
- Try enabling tests on ppc & ppc64 since it looks like the bug(s?)
dbdd072
  in qemu which might have caused them to fail have been fixed.
dbdd072
7516e72
* Tue Jun  9 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.43-1
7516e72
- New upstream version 1.0.43.
7516e72
- New upstream URL.
7516e72
- Requires chntpw program.
7516e72
d18a48c
* Sat Jun  6 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.42-1
d18a48c
- New upstream version 1.0.42.
d18a48c
3127954
* Thu Jun  4 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.41-1
3127954
- New upstream version 1.0.41.
3127954
- Fixes a number of regressions in RHBZ#503169.
3127954
9999944
* Thu Jun  4 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.40-1
9999944
- New upstream version 1.0.40.
9999944
fada2d8
* Thu Jun  4 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.39-1
fada2d8
- New upstream version 1.0.39.
fada2d8
- Fixes:
fada2d8
  . libguestfs /dev is too sparse for kernel installation/upgrade (RHBZ#503169)
fada2d8
  . OCaml bindings build failure (RHBZ#502309)
fada2d8
246fbd2
* Tue Jun  2 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.38-2
d407ba1
- Disable tests on ix86 because of RHBZ#503236.
246fbd2
5025d15
* Tue Jun  2 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.38-1
5025d15
- New upstream version 1.0.38.
5025d15
c23c73c
* Fri May 29 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.37-1
c23c73c
- New upstream version 1.0.37.
c23c73c
- Fixes:
c23c73c
  . "mkdir-p" should not throw errors on preexisting directories (RHBZ#503133)
c23c73c
  . cramfs and squashfs modules should be available in libguestfs appliances
c23c73c
      (RHBZ#503135)
c23c73c
44096f2
* Thu May 28 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.36-2
7f81d42
- New upstream version 1.0.36.
44096f2
- Rerun the generator in prep section.
7f81d42
7d74ee0
* Thu May 28 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.35-1
7d74ee0
- New upstream version 1.0.35.
7d74ee0
- Fixes multiple bugs in bindings parameters (RHBZ#501892).
7d74ee0
88b12c7
* Wed May 27 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.34-1
88b12c7
- New upstream version 1.0.34.
88b12c7
10c7b87
* Wed May 27 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.33-1
10c7b87
- New upstream version 1.0.33.
10c7b87
- --with-java-home option is no longer required.
10c7b87
- Upstream contains potential fixes for:
10c7b87
    501878 built-in commands like 'alloc' and 'help' don't autocomplete
10c7b87
    501883 javadoc messed up in libguestfs java documentation
10c7b87
    501885 Doesn't detect missing Java, --with-java-home=no should not be needed
10c7b87
    502533 Polish translation of libguestfs
10c7b87
    n/a    Allow more ext filesystem kmods (Charles Duffy)
10c7b87
16c80f1
* Tue May 26 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.32-2
5e6ea43
- New upstream version 1.0.32.
16c80f1
- Use %%find_lang macro.
5e6ea43
5bd719e
* Sat May 23 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.31-1
5bd719e
- Rebuild for OCaml 3.11.1.
5bd719e
- New upstream version 1.0.31.
5bd719e
e8058cb
* Thu May 21 2009 Richard Jones <rjones@redhat.com> - 1.0.30-1
e8058cb
- New upstream version 1.0.30.  Now includes test-bootbootboot.sh script.
e8058cb
26da628
* Thu May 21 2009 Richard Jones <rjones@redhat.com> - 1.0.29-3
25bc3cd
- New upstream version 1.0.29 (fixes RHBZ#502007 RHBZ#502018).
25bc3cd
- This should allow us to enable tests for i386 and x86-64.
3606b80
- Added test-bootbootboot.sh script which was missed from 1.0.29 tarball.
26da628
- Pass kernel noapic flag to workaround RHBZ#502058.
bd8be47
7252ee3
* Thu May 21 2009 Richard Jones <rjones@redhat.com> - 1.0.28-1
7252ee3
- New upstream version 1.0.28.  Nothing has visibly changed, but
7252ee3
  the source has been gettextized and we want to check that doesn't
7252ee3
  break anything.
7252ee3
0e78dca
* Thu May 21 2009 Richard Jones <rjones@redhat.com> - 1.0.27-3
0e78dca
- Change requirement from qemu -> qemu-kvm (RHBZ#501761).
0e78dca
9a15f56
* Tue May 19 2009 Richard Jones <rjones@redhat.com> - 1.0.27-2
984ff61
- New upstream version 1.0.27.
984ff61
0f4751f
* Mon May 18 2009 Richard Jones <rjones@redhat.com> - 1.0.26-6
6273ef4
- Experimentally try to reenable ppc and ppc64 builds.
490d04e
- Note BZ numbers which are causing tests to fail.
6273ef4
f61f68c
* Mon May 18 2009 Richard Jones <rjones@redhat.com> - 1.0.26-1
f61f68c
- New upstream version 1.0.26.
f61f68c
97f65a5
* Tue May 12 2009 Richard Jones <rjones@redhat.com> - 1.0.25-4
5e04ce3
- New upstream version 1.0.25.
5e04ce3
- Enable debugging when running the tests.
97f65a5
- Disable tests - don't work correctly in Koji.
5e04ce3
8b5d7c1
* Tue May 12 2009 Richard Jones <rjones@redhat.com> - 1.0.24-1
8b5d7c1
- New upstream version 1.0.24.
8b5d7c1
- BRs glibc-static for the new command tests.
8b5d7c1
- Enable tests.
8b5d7c1
b0d05cc
* Mon May 11 2009 Richard Jones <rjones@redhat.com> - 1.0.23-2
cf1f09b
- New upstream version 1.0.23.
b0d05cc
- Don't try to use updates during build.
cf1f09b
dd0c4ae
* Fri May  8 2009 Richard Jones <rjones@redhat.com> - 1.0.21-3
cf9a4f6
- New upstream version 1.0.21.
cf9a4f6
cf9a4f6
* Thu May  7 2009 Richard Jones <rjones@redhat.com> - 1.0.20-2
cf9a4f6
- New upstream version 1.0.20.
cf9a4f6
cf9a4f6
* Thu May  7 2009 Richard Jones <rjones@redhat.com> - 1.0.19-1
cf9a4f6
- New upstream version 1.0.19.
cf9a4f6
cf9a4f6
* Tue Apr 28 2009 Richard Jones <rjones@redhat.com> - 1.0.15-1
cf9a4f6
- New upstream version 1.0.15.
cf9a4f6
cf9a4f6
* Fri Apr 24 2009 Richard Jones <rjones@redhat.com> - 1.0.12-1
cf9a4f6
- New upstream version 1.0.12.
cf9a4f6
cf9a4f6
* Wed Apr 22 2009 Richard Jones <rjones@redhat.com> - 1.0.6-1
cf9a4f6
- New upstream version 1.0.6.
cf9a4f6
cf9a4f6
* Mon Apr 20 2009 Richard Jones <rjones@redhat.com> - 1.0.2-1
cf9a4f6
- New upstream version 1.0.2.
cf9a4f6
cf9a4f6
* Thu Apr 16 2009 Richard Jones <rjones@redhat.com> - 0.9.9-12
cf9a4f6
- Multiple fixes to get it to scratch build in Koji.
cf9a4f6
cf9a4f6
* Sat Apr  4 2009 Richard Jones <rjones@redhat.com> - 0.9.9-1
cf9a4f6
- Initial build.