Spec file changes to build libguestfs0 and typelib packages.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=506
This commit is contained in:
parent
b98572f22b
commit
4857e9df9e
@ -40,6 +40,7 @@ Thu Mar 17 15:45:02 MDT 2022 - carnold@suse.com
|
||||
Wed Feb 16 09:33:31 MST 2022 - carnold@suse.com
|
||||
|
||||
- Update to version 1.46.2
|
||||
* New libguestfs.spec file
|
||||
* This release has moved many virt tools like virt-builder,
|
||||
virt-cat, virt-customize, virt-df, etc. to the guestfs-tools
|
||||
project. This makes libguestfs a bit easier to build and manage.
|
||||
|
@ -20,7 +20,7 @@ Name: libguestfs
|
||||
ExclusiveArch: x86_64 ppc64 ppc64le s390x aarch64
|
||||
Version: 1.48.1
|
||||
Release: 0
|
||||
Summary: libguestfs
|
||||
Summary: Access and modify virtual machine disk images
|
||||
License: GPL-2.0-or-later
|
||||
URL: http://libguestfs.org
|
||||
|
||||
@ -74,15 +74,16 @@ BuildRequires: pkgconfig(rpm) >= 4.6.0
|
||||
BuildRequires: pkgconfig(tinfo)
|
||||
|
||||
Requires: supermin >= 5.1.18
|
||||
Provides: libguestfs0 <= 1.44.2
|
||||
Obsoletes: guestfs-tools <= 1.44.2
|
||||
Obsoletes: libguestfs0 < %{version}
|
||||
|
||||
%description
|
||||
libguestfs is a set of tools for accessing and modifying virtual machine (VM)
|
||||
disk images. You can use this for viewing and editing files inside guests,
|
||||
scripting changes to VMs, monitoring disk used/free statistics, P2V, V2V,
|
||||
performing partial backups, cloning VMs, and much else besides.
|
||||
Libguestfs is a library for accessing and modifying virtual machine
|
||||
disk images. http://libguestfs.org
|
||||
|
||||
Libguestfs uses Linux kernel and qemu code, and can access any type of
|
||||
guest filesystem that Linux and qemu can, including but not limited
|
||||
to: ext2/3/4, btrfs, FAT and NTFS, LVM, many different disk partition
|
||||
schemes, qcow, qcow2, vmdk.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
@ -261,9 +262,16 @@ tar -czf %{buildroot}/%{_libdir}/guestfs/supermin.d/zz-scripts.tar.gz usr
|
||||
popd
|
||||
rm -rf %{buildroot}/tmp
|
||||
|
||||
%package -n libguestfs0
|
||||
Summary: Runtime library of libguestfs
|
||||
Requires: %{kvm_binary}
|
||||
|
||||
%description -n libguestfs0
|
||||
Shared object library for libguestfs tools which are used to access
|
||||
and modify virtual machines.
|
||||
|
||||
%package -n libguestfsd
|
||||
Summary: Daemon for the libguestfs appliance
|
||||
Conflicts: libaugeas0 < 1.0.0
|
||||
Provides: guestfsd = %{version}
|
||||
Obsoletes: guestfsd < %{version}
|
||||
|
||||
@ -331,6 +339,7 @@ Requires: augeas
|
||||
Requires: augeas-lenses
|
||||
Requires: libaugeas0
|
||||
Requires: libcap2
|
||||
Requires: libguestfs0
|
||||
Requires: libhivex0
|
||||
Requires: libpcre1
|
||||
|
||||
@ -357,8 +366,7 @@ Provides: guestfs-data = %{version}
|
||||
Obsoletes: guestfs-data < %{version}
|
||||
|
||||
%description -n libguestfs-appliance
|
||||
libguestfs needs for it's run a virtual machine image.
|
||||
This package provides such an image, an initrd and a kernel.
|
||||
libguestfs-appliance provides the appliance used by libguestfs.
|
||||
|
||||
%package winsupport
|
||||
Summary: Windows guest support in libguestfs
|
||||
@ -468,7 +476,7 @@ lua-%{name} contains Lua bindings for %{name}.
|
||||
%package gobject
|
||||
Summary: GObject bindings for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Obsoletes: libguestfs0 < %{version}
|
||||
Obsoletes: libguestfs0 <= 1.44.2
|
||||
|
||||
%description gobject
|
||||
%{name}-gobject contains GObject bindings for %{name}.
|
||||
@ -476,6 +484,13 @@ Obsoletes: libguestfs0 < %{version}
|
||||
To develop software against these bindings, you need to install
|
||||
%{name}-gobject-devel.
|
||||
|
||||
%package typelib-Guestfs-1_0
|
||||
Summary: Libguestfs GObject introspection data
|
||||
Group: System/Libraries
|
||||
|
||||
%description typelib-Guestfs-1_0
|
||||
This package contains the GObject introspection data.
|
||||
|
||||
%package gobject-devel
|
||||
Summary: GObject bindings for %{name}
|
||||
Requires: %{name}-gobject = %{version}-%{release}
|
||||
@ -544,7 +559,6 @@ for %{name}.
|
||||
%{_bindir}/virt-copy-out
|
||||
%{_bindir}/virt-tar-in
|
||||
%{_bindir}/virt-tar-out
|
||||
%{_libdir}/libguestfs.so.*
|
||||
%{_mandir}/man1/guestfish.1*
|
||||
%{_mandir}/man1/guestfs-faq.1*
|
||||
%{_mandir}/man1/guestfs-performance.1*
|
||||
@ -563,6 +577,10 @@ for %{name}.
|
||||
%config %{_sysconfdir}/profile.d/guestfish.sh
|
||||
%config(noreplace) %{_sysconfdir}/libguestfs-tools.conf
|
||||
|
||||
%files -n libguestfs0
|
||||
%license COPYING.LIB
|
||||
%{_libdir}/libguestfs.so.*
|
||||
|
||||
%files -n libguestfs-appliance
|
||||
%dir %{_libdir}/guestfs
|
||||
%dir %{_libdir}/guestfs/supermin.d
|
||||
@ -636,6 +654,8 @@ for %{name}.
|
||||
|
||||
%files gobject
|
||||
%{_libdir}/libguestfs-gobject-1.0.so.0*
|
||||
|
||||
%files typelib-Guestfs-1_0
|
||||
%{_libdir}/girepository-1.0/Guestfs-1.0.typelib
|
||||
|
||||
%files gobject-devel
|
||||
@ -688,4 +708,7 @@ for %{name}.
|
||||
%lang(uk) %{_mandir}/uk/man3/*.3*
|
||||
%lang(uk) %{_mandir}/uk/man5/*.5*
|
||||
|
||||
%post -n libguestfs0 -p /sbin/ldconfig
|
||||
%postun -n libguestfs0 -p /sbin/ldconfig
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user