psss / rpms / libguestfs

Forked from rpms/libguestfs 5 years ago
Clone
e8b9539
# Enable to build w/o network.
e8b9539
%global buildnonet 1
e8b9539
e8b9539
Summary:     Access and modify virtual machine disk images
e8b9539
Name:        libguestfs
cfd9ced
Epoch:       1
70d5d69
Version:     1.0.66
4b198bc
Release:     2%{?dist}
e8b9539
License:     LGPLv2+
e8b9539
Group:       Development/Libraries
bc42acd
URL:         http://libguestfs.org/
bc42acd
Source0:     http://libguestfs.org/download/%{name}-%{version}.tar.gz
e8b9539
BuildRoot:   %{_tmppath}/%{name}-%{version}-%{release}-root
e8b9539
99f554b
# Currently fails on PPC because:
99f554b
# "No Package Found for kernel"
99f554b
ExclusiveArch: %{ix86} x86_64
99f554b
e8b9539
# Basic build requirements:
e8b9539
BuildRequires: /usr/bin/pod2man
e8b9539
BuildRequires: /usr/bin/pod2text
542c90b
BuildRequires: febootstrap >= 2.3
8e057d0
#BuildRequires: augeas-devel >= 0.5.0
e8b9539
BuildRequires: readline-devel
12799f1
BuildRequires: squashfs-tools
2cf282b
%ifarch %{ix86} x86_64
2cf282b
BuildRequires: qemu-system-x86 >= 0.10.5
2cf282b
%endif
2cf282b
%ifarch ppc ppc64
2cf282b
BuildRequires: qemu-system-ppc >= 0.10.5
2cf282b
%endif
e8b9539
BuildRequires: createrepo
e8b9539
e8b9539
# This is only needed for RHEL 5 because readline-devel doesn't
e8b9539
# properly depend on it, but doesn't do any harm on other platforms:
e8b9539
BuildRequires: ncurses-devel
e8b9539
542c90b
# Build requirements for the appliance (see 'make.sh.in' in the source):
e76964d
BuildRequires: kernel, bash, coreutils, lvm2
8e057d0
BuildRequires: MAKEDEV, net-tools, file
e8b9539
BuildRequires: module-init-tools, procps, strace, iputils
0d1f1ab
BuildRequires: dosfstools, lsof, scrub
2cf282b
# Not supported in EPEL yet: ntfs-3g util-linux-ng zerofree
8e057d0
# Not working: augeas-libs
2cf282b
%ifarch %{ix86} x86_64
2cf282b
BuildRequires: grub, ntfsprogs
2cf282b
%endif
e8b9539
542c90b
# Must match the above set of BuildRequires exactly!
542c90b
Requires:      kernel, bash, coreutils, lvm2
542c90b
Requires:      MAKEDEV, net-tools, file
542c90b
Requires:      module-init-tools, procps, strace, iputils
0d1f1ab
Requires:      dosfstools, lsof, scrub
542c90b
# Not supported in EPEL yet: ntfs-3g util-linux-ng zerofree
542c90b
# Not working: augeas-libs
542c90b
%ifarch %{ix86} x86_64
542c90b
Requires:      grub, ntfsprogs
542c90b
%endif
542c90b
e8b9539
# These are only required if you want to build the bindings for
e8b9539
# different languages:
e8b9539
BuildRequires: ocaml
e8b9539
BuildRequires: ocaml-findlib-devel
e76964d
#BuildRequires: perl-devel
e76964d
#BuildRequires: perl-Test-Simple
e8b9539
BuildRequires: perl-Test-Pod
e8b9539
BuildRequires: perl-Test-Pod-Coverage
e76964d
#BuildRequires: perl-ExtUtils-MakeMaker
f991d3a
BuildRequires: perl-XML-Writer
ced8e91
#BuildRequires: perl-libintl
e8b9539
BuildRequires: python-devel
e8b9539
BuildRequires: ruby-devel
e8b9539
BuildRequires: rubygem-rake
e8b9539
BuildRequires: java >= 1.5.0
e8b9539
BuildRequires: jpackage-utils
e8b9539
BuildRequires: java-devel
e8b9539
e8b9539
# For virt-inspector:
e76964d
#BuildRequires: perl-Sys-Virt
e8b9539
e8b9539
# Runtime requires:
2cf282b
%ifarch %{ix86} x86_64
2cf282b
Requires:      qemu-system-x86 >= 0.10.5
2cf282b
%endif
2cf282b
%ifarch ppc ppc64
2cf282b
Requires:      qemu-system-ppc >= 0.10.5
2cf282b
%endif
e8b9539
eb97321
# For virt-inspector --windows-registry option.
eb97321
Requires:      chntpw >= 0.99.6-8
eb97321
cfd9ced
# For libguestfs-test-tool.
ba3e3cd
Requires:      mkisofs
cfd9ced
e8b9539
e8b9539
%description
e8b9539
Libguestfs is a library for accessing and modifying guest disk images.
e8b9539
Amongst the things this is good for: making batch configuration
e8b9539
changes to guests, getting disk used/free statistics (see also:
e8b9539
virt-df), migrating between virtualization systems (see also:
e8b9539
virt-p2v), performing partial backups, performing partial guest
e8b9539
clones, cloning guests and changing registry/UUID/hostname info, and
e8b9539
much else besides.
e8b9539
e8b9539
Libguestfs uses Linux kernel and qemu code, and can access any type of
e8b9539
guest filesystem that Linux and qemu can, including but not limited
e8b9539
to: ext2/3/4, btrfs, FAT and NTFS, LVM, many different disk partition
e8b9539
schemes, qcow, qcow2, vmdk.
e8b9539
e8b9539
Libguestfs provides ways to enumerate guest storage (eg. partitions,
e8b9539
LVs, what filesystem is in each LV, etc.).  It can also run commands
e8b9539
in the context of the guest.  Also you can access filesystems over FTP.
e8b9539
e8b9539
Libguestfs is a library that can be linked with C and C++ management
e8b9539
programs.
e8b9539
e8b9539
See also the 'guestfish' package for shell scripting and command line
e8b9539
access.
e8b9539
e8b9539
For Perl bindings, see 'perl-libguestfs'.
e8b9539
e8b9539
For OCaml bindings, see 'ocaml-libguestfs-devel'.
e8b9539
e8b9539
For Python bindings, see 'python-libguestfs'.
e8b9539
e8b9539
For Ruby bindings, see 'ruby-libguestfs'.
e8b9539
e8b9539
For Java bindings, see 'libguestfs-java-devel'.
e8b9539
e8b9539
e8b9539
%package devel
e8b9539
Summary:     Development tools and libraries for %{name}
e8b9539
Group:       Development/Libraries
fde044a
Requires:    %{name} = %{epoch}:%{version}-%{release}
e8b9539
Requires:    pkgconfig
e8b9539
e8b9539
e8b9539
%description devel
e8b9539
%{name}-devel contains development tools and libraries
e8b9539
for %{name}.
e8b9539
e8b9539
e8b9539
%package -n guestfish
e8b9539
Summary:     Shell for accessing and modifying virtual machine disk images
e8b9539
Group:       Development/Tools
e8b9539
License:     GPLv2+
fde044a
Requires:    %{name} = %{epoch}:%{version}-%{release}
e8b9539
Requires:    /usr/bin/pod2text
ba3e3cd
#Requires:    virt-inspector
e8b9539
e8b9539
e8b9539
%description -n guestfish
e8b9539
Guestfish is the Filesystem Interactive SHell, for accessing and
e8b9539
modifying virtual machine disk images from the command line and shell
e8b9539
scripts.
e8b9539
e8b9539
e76964d
#%package -n virt-inspector
e76964d
#Summary:     Display OS version, kernel, drivers, etc in a virtual machine
e76964d
#Group:       Development/Tools
e76964d
#License:     GPLv2+
fde044a
#Requires:    %{name} = %{epoch}:%{version}-%{release}
e76964d
#Requires:    guestfish
e76964d
#Requires:    perl-Sys-Virt
e76964d
#
e76964d
#
e76964d
#%description -n virt-inspector
e76964d
#Virt-inspector examines a virtual machine and tries to determine the
e76964d
#version of the OS, the kernel version, what drivers are installed,
e76964d
#whether the virtual machine is fully virtualized (FV) or
e76964d
#para-virtualized (PV), what applications are installed and more.
e8b9539
b7d9d65
a9c3fba
#%package -n virt-df
a9c3fba
#Summary:     Display free space on virtual filesystems
a9c3fba
#Group:       Development/Tools
a9c3fba
#License:     GPLv2+
fde044a
#Requires:    %{name} = %{epoch}:%{version}-%{release}
a9c3fba
#Requires:    perl-Sys-Virt
a9c3fba
#
a9c3fba
#
a9c3fba
#%description -n virt-df
a9c3fba
#"virt-df" is a command line tool to display free space on virtual
a9c3fba
#machine filesystems.  Unlike other tools, it doesn’t just display the
a9c3fba
#amount of space allocated to a virtual machine, but can look inside
a9c3fba
#the virtual machine to see how much space is really being used.
a9c3fba
#
a9c3fba
#It is like the df(1) command, but for virtual machines, except that it
a9c3fba
#also works for Windows virtual machines.
a9c3fba
e8b9539
b7d9d65
#%package -n virt-cat
b7d9d65
#Summary:     Display a file in a virtual machine
b7d9d65
#Group:       Development/Tools
b7d9d65
#License:     GPLv2+
b7d9d65
#Requires:    %{name} = %{epoch}:%{version}-%{release}
b7d9d65
#Requires:    perl-Sys-Virt
b7d9d65
#
b7d9d65
#
b7d9d65
#%description -n virt-cat
b7d9d65
#"virt-cat" is a command line tool to display the contents
b7d9d65
#of a file in a virtual machine.
b7d9d65
b7d9d65
e8b9539
%package -n ocaml-%{name}
e8b9539
Summary:     OCaml bindings for %{name}
e8b9539
Group:       Development/Libraries
fde044a
Requires:    %{name} = %{epoch}:%{version}-%{release}
e8b9539
e8b9539
e8b9539
%description -n ocaml-%{name}
e8b9539
ocaml-%{name} contains OCaml bindings for %{name}.
e8b9539
e8b9539
This is for toplevel and scripting access only.  To compile OCaml
e8b9539
programs which use %{name} you will also need ocaml-%{name}-devel.
e8b9539
e8b9539
e8b9539
%package -n ocaml-%{name}-devel
e8b9539
Summary:     OCaml bindings for %{name}
e8b9539
Group:       Development/Libraries
fde044a
Requires:    ocaml-%{name} = %{epoch}:%{version}-%{release}
e8b9539
e8b9539
e8b9539
%description -n ocaml-%{name}-devel
e8b9539
ocaml-%{name}-devel contains development libraries
e8b9539
required to use the OCaml bindings for %{name}.
e8b9539
e8b9539
e8b9539
%package -n perl-%{name}
e8b9539
Summary:     Perl bindings for %{name}
e8b9539
Group:       Development/Libraries
fde044a
Requires:    %{name} = %{epoch}:%{version}-%{release}
e8b9539
Requires:    perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
e8b9539
e8b9539
e8b9539
%description -n perl-%{name}
e8b9539
perl-%{name} contains Perl bindings for %{name}.
e8b9539
e8b9539
e8b9539
%package -n python-%{name}
e8b9539
Summary:     Python bindings for %{name}
e8b9539
Group:       Development/Libraries
fde044a
Requires:    %{name} = %{epoch}:%{version}-%{release}
e8b9539
e8b9539
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
e8b9539
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
e8b9539
e8b9539
%description -n python-%{name}
e8b9539
python-%{name} contains Python bindings for %{name}.
e8b9539
e8b9539
e8b9539
%package -n ruby-%{name}
e8b9539
Summary:     Ruby bindings for %{name}
e8b9539
Group:       Development/Libraries
fde044a
Requires:    %{name} = %{epoch}:%{version}-%{release}
e8b9539
Requires:    ruby(abi) = 1.8
e8b9539
Provides:    ruby(guestfs) = %{version}
e8b9539
e8b9539
%{!?ruby_sitelib: %define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")}
e8b9539
%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")}
e8b9539
e8b9539
%description -n ruby-%{name}
e8b9539
ruby-%{name} contains Ruby bindings for %{name}.
e8b9539
e8b9539
e8b9539
%package java
e8b9539
Summary:     Java bindings for %{name}
e8b9539
Group:       Development/Libraries
fde044a
Requires:    %{name} = %{epoch}:%{version}-%{release}
e8b9539
Requires:    java >= 1.5.0
e8b9539
Requires:    jpackage-utils
e8b9539
e8b9539
%description java
e8b9539
%{name}-java contains Java bindings for %{name}.
e8b9539
e8b9539
If you want to develop software in Java which uses %{name}, then
e8b9539
you will also need %{name}-java-devel.
e8b9539
e8b9539
e8b9539
%package java-devel
e8b9539
Summary:     Java development package for %{name}
e8b9539
Group:       Development/Libraries
fde044a
Requires:    %{name} = %{epoch}:%{version}-%{release}
fde044a
Requires:    %{name}-java = %{epoch}:%{version}-%{release}
e8b9539
e8b9539
%description java-devel
e8b9539
%{name}-java-devel contains the tools for developing Java software
e8b9539
using %{name}.
e8b9539
e8b9539
See also %{name}-javadoc.
e8b9539
e8b9539
e8b9539
%package javadoc
e8b9539
Summary:     Java documentation for %{name}
e8b9539
Group:       Development/Libraries
fde044a
Requires:    %{name} = %{epoch}:%{version}-%{release}
fde044a
Requires:    %{name}-java = %{epoch}:%{version}-%{release}
e8b9539
Requires:    jpackage-utils
e8b9539
e8b9539
%description javadoc
e8b9539
%{name}-javadoc contains the Java documentation for %{name}.
e8b9539
e8b9539
e8b9539
%prep
e8b9539
%setup -q
e8b9539
e8b9539
mkdir -p daemon/m4
e8b9539
e8b9539
e8b9539
%build
e8b9539
%if %{buildnonet}
e8b9539
mkdir repo
8e47d3a
find /var/cache/yum/ -type f -name '*.rpm' -print0 | xargs -0 cp -t repo
e8b9539
createrepo repo
ac9f573
ls -l repo
da2643d
%define extra --with-mirror=file://$(pwd)/repo --with-repo=epel-5 --with-updates=none
e8b9539
%else
51cbea0
%define extra --with-mirror=http://mirror.centos.org/centos-5/5.3/os/%{_arch}/ --with-repo=centos-5 --with-updates=none
e8b9539
%endif
e8b9539
da2643d
vmchannel_test=no \
e8b9539
./configure \
e8b9539
  --prefix=%{_prefix} --libdir=%{_libdir} \
e8b9539
  --mandir=%{_mandir} \
e8b9539
  --with-qemu="qemu-kvm qemu-system-%{_build_arch} qemu" \
e8b9539
  --enable-debug-command \
542c90b
  --enable-supermin \
e8b9539
  %{extra}
e8b9539
e8b9539
# This ensures that /usr/sbin/chroot is on the path.  Not needed
e8b9539
# except for RHEL 5, it shouldn't do any harm on other platforms.
e8b9539
export PATH=/usr/sbin:$PATH
e8b9539
e8b9539
# 'INSTALLDIRS' ensures that perl libs are installed in the vendor dir
e8b9539
# not the site dir.
e8b9539
make INSTALLDIRS=vendor %{?_smp_mflags}
e8b9539
e8b9539
2cf282b
%check
2cf282b
# Enable debugging - very useful if a test does fail, although
2cf282b
# it produces masses of output in the build.log.
2cf282b
export LIBGUESTFS_DEBUG=1
2cf282b
cfd9ced
%ifarch %{ix86}
d0e72f2
make check
7a6f80c
%endif
2cf282b
2cf282b
e8b9539
%install
e8b9539
rm -rf $RPM_BUILD_ROOT
e8b9539
e8b9539
make DESTDIR=$RPM_BUILD_ROOT install
e8b9539
542c90b
# Delete the ordinary appliance, leaving just the supermin appliance.
542c90b
rm $RPM_BUILD_ROOT%{_libdir}/guestfs/vmlinuz.*
542c90b
mkdir keep
542c90b
mv $RPM_BUILD_ROOT%{_libdir}/guestfs/initramfs.*.supermin.img keep
542c90b
rm $RPM_BUILD_ROOT%{_libdir}/guestfs/initramfs.*.img
542c90b
mv keep/* $RPM_BUILD_ROOT%{_libdir}/guestfs/
542c90b
rmdir keep
542c90b
542c90b
# Delete static libraries, libtool files.
e8b9539
rm $RPM_BUILD_ROOT%{_libdir}/libguestfs.a
e8b9539
rm $RPM_BUILD_ROOT%{_libdir}/libguestfs.la
e8b9539
e8b9539
# Clean up the examples/ directory which will get installed in %doc.
e8b9539
# Note we can't delete the original examples/Makefile because that
e8b9539
# will be needed by the check section later in the RPM build.
e8b9539
cp -a examples ex
e8b9539
pushd ex
e8b9539
make clean
e8b9539
rm Makefile*
e8b9539
rm -rf .deps .libs
e8b9539
popd
e8b9539
e8b9539
# Same for ocaml/examples.
e8b9539
cp -a ocaml/examples ocaml/ex
e8b9539
pushd ocaml/ex
e8b9539
make clean
e8b9539
rm Makefile*
e8b9539
popd
e8b9539
e8b9539
find $RPM_BUILD_ROOT -name perllocal.pod -delete
e8b9539
find $RPM_BUILD_ROOT -name .packlist -delete
e8b9539
find $RPM_BUILD_ROOT -name '*.bs' -delete
e8b9539
e8b9539
rm $RPM_BUILD_ROOT%{python_sitearch}/libguestfsmod.a
e8b9539
rm $RPM_BUILD_ROOT%{python_sitearch}/libguestfsmod.la
e8b9539
e8b9539
if [ "$RPM_BUILD_ROOT%{python_sitearch}" != "$RPM_BUILD_ROOT%{python_sitelib}" ]; then
e8b9539
   mkdir -p $RPM_BUILD_ROOT%{python_sitelib}
e8b9539
   mv $RPM_BUILD_ROOT%{python_sitearch}/guestfs.py* \
e8b9539
     $RPM_BUILD_ROOT%{python_sitelib}/
e8b9539
fi
e8b9539
e8b9539
# Install ruby bindings by hand.
e8b9539
mkdir -p $RPM_BUILD_ROOT%{ruby_sitelib}
e8b9539
mkdir -p $RPM_BUILD_ROOT%{ruby_sitearch}
e8b9539
install -p -m0644 ruby/lib/guestfs.rb $RPM_BUILD_ROOT%{ruby_sitelib}
e8b9539
install -p -m0755 ruby/ext/guestfs/_guestfs.so $RPM_BUILD_ROOT%{ruby_sitearch}
e8b9539
e8b9539
# Remove static-linked Java bindings.
e8b9539
rm $RPM_BUILD_ROOT%{_libdir}/libguestfs_jni.a
e8b9539
rm $RPM_BUILD_ROOT%{_libdir}/libguestfs_jni.la
e8b9539
e8b9539
# Generator shouldn't be executable when we distribute it.
e8b9539
chmod -x src/generator.ml
e8b9539
2cf282b
# Find locale files.
2cf282b
%find_lang %{name}
2cf282b
e8b9539
e8b9539
%clean
e8b9539
rm -rf $RPM_BUILD_ROOT
e8b9539
e8b9539
e8b9539
%post -p /sbin/ldconfig
e8b9539
e8b9539
%postun -p /sbin/ldconfig
e8b9539
e8b9539
2cf282b
%files -f %{name}.lang
e8b9539
%defattr(-,root,root,-)
e8b9539
%doc COPYING
542c90b
%{_bindir}/libguestfs-supermin-helper
cfd9ced
%{_bindir}/libguestfs-test-tool
e8b9539
%{_libdir}/guestfs/
e8b9539
%{_libdir}/libguestfs.so.*
cfd9ced
%{_libexecdir}/libguestfs-test-tool-helper
cfd9ced
%{_mandir}/man1/libguestfs-test-tool.1*
e8b9539
e8b9539
e8b9539
%files devel
e8b9539
%defattr(-,root,root,-)
e8b9539
%doc ChangeLog HACKING TODO README ex html/guestfs.3.html html/pod.css
e8b9539
%doc src/generator.ml
e8b9539
%{_libdir}/libguestfs.so
e8b9539
%{_mandir}/man3/guestfs.3*
01a1719
%{_mandir}/man3/libguestfs.3*
e8b9539
%{_includedir}/guestfs.h
e8b9539
%{_includedir}/guestfs-actions.h
e8b9539
%{_includedir}/guestfs-structs.h
e8b9539
%{_libdir}/pkgconfig/libguestfs.pc
e8b9539
e8b9539
e8b9539
%files -n guestfish
e8b9539
%defattr(-,root,root,-)
e8b9539
%doc html/guestfish.1.html html/pod.css recipes/
e8b9539
%{_bindir}/guestfish
e8b9539
%{_mandir}/man1/guestfish.1*
e8b9539
e8b9539
e76964d
#%files -n virt-inspector
e76964d
#%defattr(-,root,root,-)
e76964d
#%{_bindir}/virt-inspector
e76964d
#%{_mandir}/man1/virt-inspector.1*
e8b9539
e8b9539
a9c3fba
#%files -n virt-df
a9c3fba
#%defattr(-,root,root,-)
a9c3fba
#%{_bindir}/virt-df
a9c3fba
#%{_mandir}/man1/virt-df.1*
a9c3fba
a9c3fba
b7d9d65
#%files -n virt-cat
b7d9d65
#%defattr(-,root,root,-)
b7d9d65
#%{_bindir}/virt-cat
b7d9d65
#%{_mandir}/man1/virt-cat.1*
b7d9d65
b7d9d65
e8b9539
%files -n ocaml-%{name}
e8b9539
%defattr(-,root,root,-)
e8b9539
%doc README
e8b9539
%{_libdir}/ocaml/guestfs
e8b9539
%exclude %{_libdir}/ocaml/guestfs/*.a
e8b9539
%exclude %{_libdir}/ocaml/guestfs/*.cmxa
e8b9539
%exclude %{_libdir}/ocaml/guestfs/*.cmx
e8b9539
%exclude %{_libdir}/ocaml/guestfs/*.mli
e8b9539
%{_libdir}/ocaml/stublibs/*.so
e8b9539
%{_libdir}/ocaml/stublibs/*.so.owner
e8b9539
e8b9539
e8b9539
%files -n ocaml-%{name}-devel
e8b9539
%defattr(-,root,root,-)
e8b9539
%doc ocaml/ex
e8b9539
%{_libdir}/ocaml/guestfs/*.a
e8b9539
%{_libdir}/ocaml/guestfs/*.cmxa
e8b9539
%{_libdir}/ocaml/guestfs/*.cmx
e8b9539
%{_libdir}/ocaml/guestfs/*.mli
e8b9539
e8b9539
e8b9539
%files -n perl-%{name}
e8b9539
%defattr(-,root,root,-)
e8b9539
%doc perl/examples
e8b9539
%{perl_vendorarch}/*
e8b9539
%{_mandir}/man3/Sys::Guestfs.3pm*
a9c3fba
%{_mandir}/man3/Sys::Guestfs::Lib.3pm*
e8b9539
e8b9539
e8b9539
%files -n python-%{name}
e8b9539
%defattr(-,root,root,-)
e8b9539
%doc README
e8b9539
%{python_sitearch}/*
e8b9539
%{python_sitelib}/*.py
0dae173
%{python_sitelib}/*.pyc
0dae173
%{python_sitelib}/*.pyo
e8b9539
e8b9539
e8b9539
%files -n ruby-%{name}
e8b9539
%defattr(-,root,root,-)
e8b9539
%doc README
e8b9539
%{ruby_sitelib}/guestfs.rb
e8b9539
%{ruby_sitearch}/_guestfs.so
e8b9539
e8b9539
e8b9539
%files java
e8b9539
%defattr(-,root,root,-)
e8b9539
%doc README
e8b9539
%{_libdir}/libguestfs_jni*.so.*
e8b9539
%{_datadir}/java/*.jar
e8b9539
e8b9539
e8b9539
%files java-devel
e8b9539
%defattr(-,root,root,-)
e8b9539
%doc README
e8b9539
%{_libdir}/libguestfs_jni*.so
e8b9539
e8b9539
e8b9539
%files javadoc
e8b9539
%defattr(-,root,root,-)
e8b9539
%doc README
e8b9539
%{_datadir}/javadoc/%{name}-java-%{version}
e8b9539
e8b9539
e8b9539
%changelog
70d5d69
* Thu Aug  6 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.66-1
70d5d69
- New upstream release 1.0.66.
70d5d69
4b198bc
* Wed Jul 29 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.65-2
e48e272
- New upstream release 1.0.65.
4b198bc
- Remove RHEL 5 patch, now upstream.
e48e272
ba3e3cd
* Mon Jul 27 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.64-3
ba3e3cd
- Fix broken runtime dep on virt-inspector (Dennis Gilmore).
ba3e3cd
- Fix broken runtime dep on genisoimage (Dennis Gilmore).
ba3e3cd
36e2439
* Thu Jul 23 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.64-2
cfd9ced
- New upstream release 1.0.64.
cfd9ced
- New tool 'libguestfs-test-tool'.
36e2439
- Workaround for RHEL 5 bug with squashfs filesystems.
cfd9ced
5c8932f
* Wed Jul 15 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.61-6
b7d9d65
- New upstream release 1.0.61.
b7d9d65
- New tool / subpackage 'virt-cat'.
ced8e91
- New BR perl-libintl (not enabled, because not in EPEL).
ec7c52a
- Pull in upstream fix for building Perl bindings.
b7d9d65
fde044a
* Wed Jul 15 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.60-2
fde044a
- Fix runtime Requires so they use epoch correctly.
fde044a
42c08d4
* Tue Jul 14 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.60-1
42c08d4
- New upstream release 1.0.60.
b7019af
a68fe95
* Fri Jul 10 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.58-2
3220c7b
- New upstream release 1.0.58.
3220c7b
c436b19
* Fri Jul 10 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.57-2
a9c3fba
- New upstream release 1.0.57.
c436b19
- Workaround for RHBZ#502058.
a9c3fba
ab20fae
* Tue Jul  7 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.56-1
ab20fae
- New upstream release 1.0.56.
ab20fae
01a1719
* Thu Jul  2 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.55-1
01a1719
- New upstream release 1.0.55.
01a1719
- New manual page libguestfs(3).
01a1719
f991d3a
* Mon Jun 29 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.54-2
019e8a3
- New upstream release 1.0.54.
f991d3a
- +BR perl-XML-Writer.
019e8a3
6591020
* Mon Jun 22 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.51-1
6591020
- New upstream release 1.0.51.
542c90b
- Enable supermin appliance, backporting changes from devel branch.
542c90b
7a6f80c
* Thu Jun 11 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.44-1.el5.1
7a6f80c
- Tests fail on i386 (impossible to debug because there are no
7a6f80c
  log files available in plague), so disable tests on i386.
7a6f80c
- Tests succeeded on x86-64, so leave enabled on this platform.
7a6f80c
d0e72f2
* Wed Jun 10 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.44-1
d0e72f2
- New upstream version 1.0.44.
d0e72f2
- This release is supposed to fix the testsuite under RHEL 5, so
d0e72f2
  try enabling tests.
d0e72f2
bc42acd
* Tue Jun  9 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.43-1
bc42acd
- New upstream version 1.0.43.
bc42acd
- New upstream URL.
bc42acd
- Requires chntpw program.
bc42acd
65b9d69
* Sat Jun  6 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.42-1
65b9d69
- New upstream version 1.0.42.
65b9d69
bb15a46
* Thu Jun  4 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.41-1
bb15a46
- New upstream version 1.0.41.
bb15a46
- Fixes a number of regressions in RHBZ#503169.
bb15a46
e52ccf4
* Thu Jun  4 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.40-1
e52ccf4
- New upstream version 1.0.40.
e52ccf4
49edc13
* Thu Jun  4 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.39-1
49edc13
- New upstream version 1.0.39.
49edc13
- Fixes:
49edc13
  . libguestfs /dev is too sparse for kernel installation/upgrade (RHBZ#503169)
49edc13
  . OCaml bindings build failure (RHBZ#502309)
49edc13
d426c00
* Tue Jun  2 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.38-1
d426c00
- New upstream version 1.0.38.
d426c00
12799f1
* Fri May 29 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.37-1
12799f1
- New upstream version 1.0.37.
12799f1
- Fixes:
12799f1
  . "mkdir-p" should not throw errors on preexisting directories (RHBZ#503133)
12799f1
  . cramfs and squashfs modules should be available in libguestfs appliances
12799f1
      (RHBZ#503135)
12799f1
5ec0fbc
* Thu May 28 2009 Richard Jones <rjones@redhat.com> - 1.0.35-1
5ec0fbc
- New upstream version 1.0.35.
5ec0fbc
- Disable tests, they took over 24 hours to run.
5ec0fbc
8e057d0
* Wed May 27 2009 Richard Jones <rjones@redhat.com> - 1.0.34-1.el5.3
99f554b
- Fails to build on PPC.
ac9f573
- Fix missing Augeas dependency.
99f554b
2cf282b
* Wed May 27 2009 Richard Jones <rjones@redhat.com> - 1.0.34-1
2cf282b
- Backport 1.0.34 from devel to EPEL.
2cf282b
- There should now be a working qemu in EPEL (0.10.5).
2cf282b
31458b7
* Wed May 13 2009 Richard Jones <rjones@redhat.com> - 1.0.23-9
31458b7
- Remove the runtime requires on non-existant package.  It'll just fail
31458b7
  instead.
31458b7
0dae173
* Mon May 11 2009 Richard Jones <rjones@redhat.com> - 1.0.23-8
3ed2a95
- New upstream version 1.0.23.
da2643d
- Disable vmchannel test.
da2643d
- Disable updates repo.
e76964d
- Fix specfile for EPEL build.
8e47d3a
- Correct yum location.
6d0b52f
- Need _a_ version of qemu installed when installing.
0dae173
- *.pyc and *.pyo files are present on x86_64.
3ed2a95
e8b9539
* Fri May  8 2009 Richard Jones <rjones@redhat.com> - 1.0.21-2
e8b9539
- New upstream version 1.0.21.
e8b9539
e8b9539
* Thu May  7 2009 Richard Jones <rjones@redhat.com> - 1.0.20-2
e8b9539
- New upstream version 1.0.20.
e8b9539
e8b9539
* Thu May  7 2009 Richard Jones <rjones@redhat.com> - 1.0.19-1
e8b9539
- New upstream version 1.0.19.
e8b9539
e8b9539
* Tue Apr 28 2009 Richard Jones <rjones@redhat.com> - 1.0.15-1
e8b9539
- New upstream version 1.0.15.
e8b9539
e8b9539
* Fri Apr 24 2009 Richard Jones <rjones@redhat.com> - 1.0.12-1
e8b9539
- New upstream version 1.0.12.
e8b9539
e8b9539
* Wed Apr 22 2009 Richard Jones <rjones@redhat.com> - 1.0.6-1
e8b9539
- New upstream version 1.0.6.
e8b9539
e8b9539
* Mon Apr 20 2009 Richard Jones <rjones@redhat.com> - 1.0.2-1
e8b9539
- New upstream version 1.0.2.
e8b9539
e8b9539
* Thu Apr 16 2009 Richard Jones <rjones@redhat.com> - 0.9.9-12
e8b9539
- Multiple fixes to get it to scratch build in Koji.
e8b9539
e8b9539
* Sat Apr  4 2009 Richard Jones <rjones@redhat.com> - 0.9.9-1
e8b9539
- Initial build.