update to 1.52.0 [release 1.52.0-1mamba;Mon Feb 05 2024]

This commit is contained in:
Silvan Calarco 2024-02-19 10:21:58 +01:00
parent 1eefd69b49
commit 784ddc3c66

View File

@ -1,63 +1,40 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: libguestfs Name: libguestfs
Version: 1.26.9 Version: 1.52.0
Release: 1mamba Release: 1mamba
Summary: Tools and a library for accessing and modifying guest disk images Summary: Tools and a library for accessing and modifying guest disk images
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://libguestfs.org/ URL: https://libguestfs.org/
Source: http://libguestfs.org/download/1.26-stable/libguestfs-%{version}.tar.gz Source: http://libguestfs.org/download/%{majver}-stable/libguestfs-%{version}.tar.gz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: elfutils-devel
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libaudit-devel
BuildRequires: libavahi-devel
BuildRequires: libcap-ng-devel
BuildRequires: libcares-devel
BuildRequires: libconfig-devel BuildRequires: libconfig-devel
BuildRequires: libcurl-devel
BuildRequires: libdbus-devel
BuildRequires: libdevmapper-devel
BuildRequires: libffi-devel
BuildRequires: libfuse-devel BuildRequires: libfuse-devel
BuildRequires: libgcrypt-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgmp-devel BuildRequires: libjansson-devel
BuildRequires: libgnutls-devel
BuildRequires: libgpg-error-devel
BuildRequires: libidn-devel
BuildRequires: liblzma-devel
BuildRequires: libmagic-devel
BuildRequires: libncurses-devel BuildRequires: libncurses-devel
BuildRequires: libnettle-devel BuildRequires: libpcre2-devel
BuildRequires: libnl-devel BuildRequires: libpython311-devel
BuildRequires: libopenldap-devel
BuildRequires: libopenssl-devel
BuildRequires: libp11-kit-devel
BuildRequires: libpcre-devel
BuildRequires: libpython-devel
BuildRequires: libreadline-devel BuildRequires: libreadline-devel
BuildRequires: librtmp-devel BuildRequires: libruby-devel
BuildRequires: libsasl-devel
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
BuildRequires: libssh2-devel BuildRequires: libtirpc-devel
BuildRequires: libssp-devel
BuildRequires: libsystemd-devel
BuildRequires: libtasn1-devel
BuildRequires: libvirt-devel BuildRequires: libvirt-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: libyajl-devel BuildRequires: ocaml-runtime
BuildRequires: libz-devel
BuildRequires: perl-devel BuildRequires: perl-devel
BuildRequires: ruby-devel
BuildRequires: trousers-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
#BuildRequires: supermin #BuildRequires: supermin
BuildRequires: qemu BuildRequires: qemu
BuildRequires: libaugeas-devel BuildRequires: libaugeas-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libhivex-devel
BuildRequires: ocaml-hivex-devel
BuildRequires: ocaml-augeas-devel
Obsoletes: libguestfs-apidocs < 1.52.0
%description %description
Libguestfs is tools and a library for accessing and modifying guest disk images. Libguestfs is tools and a library for accessing and modifying guest disk images.
@ -170,7 +147,8 @@ This package includes the %{name} API documentation.
# TODO: patch supermin with openmamba support to enable appliance build # TODO: patch supermin with openmamba support to enable appliance build
%configure \ %configure \
--enable-gtk-doc \ --enable-gtk-doc \
--disable-appliance --disable-appliance \
--with-distro="REDHAT"
%make %make
@ -180,7 +158,7 @@ This package includes the %{name} API documentation.
rm -f %{buildroot}%{_prefix}/lib/perl5/*/*/perllocal.pod rm -f %{buildroot}%{_prefix}/lib/perl5/*/*/perllocal.pod
%find_lang %{name} || touch %{name}.lang %find_lang %{name} --with-man --all-name || touch %{name}.lang
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -188,7 +166,7 @@ rm -f %{buildroot}%{_prefix}/lib/perl5/*/*/perllocal.pod
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files -f %{name}.lang %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libguestfs-gobject-1.0.so.* %{_libdir}/libguestfs-gobject-1.0.so.*
%{_libdir}/libguestfs.so.* %{_libdir}/libguestfs.so.*
@ -202,51 +180,39 @@ rm -f %{buildroot}%{_prefix}/lib/perl5/*/*/perllocal.pod
%{_includedir}/guestfs-gobject/* %{_includedir}/guestfs-gobject/*
%{_includedir}/guestfs.h %{_includedir}/guestfs.h
%{_libdir}/libguestfs-gobject-1.0.a %{_libdir}/libguestfs-gobject-1.0.a
%{_libdir}/libguestfs-gobject-1.0.la
%{_libdir}/libguestfs-gobject-1.0.so %{_libdir}/libguestfs-gobject-1.0.so
%{_libdir}/libguestfs.a %{_libdir}/libguestfs.a
%{_libdir}/libguestfs.la
%{_libdir}/libguestfs.so %{_libdir}/libguestfs.so
%{_libdir}/libguestfs_jni.la
%{_libdir}/libguestfs_jni.so %{_libdir}/libguestfs_jni.so
%{_datadir}/gir-1.0/Guestfs-1.0.gir
%{_datadir}/vala/vapi/libguestfs-gobject-1.0.*
%{_libdir}/pkgconfig/libguestfs-gobject-1.0.pc %{_libdir}/pkgconfig/libguestfs-gobject-1.0.pc
%{_libdir}/pkgconfig/libguestfs.pc %{_libdir}/pkgconfig/libguestfs.pc
%{_datadir}/gir-1.0/Guestfs-1.0.gir
%{_mandir}/man3/Sys::Guestfs.3pm* %{_mandir}/man3/Sys::Guestfs.3pm*
%{_mandir}/man3/guestfs-examples.3* %{_mandir}/man3/guestfs-*.3*
%{_mandir}/man3/guestfs-java.3*
%{_mandir}/man3/guestfs-lua.3*
%{_mandir}/man3/guestfs-ocaml.3*
%{_mandir}/man3/guestfs-perl.3*
%{_mandir}/man3/guestfs-python.3*
%{_mandir}/man3/guestfs-ruby.3*
%{_mandir}/man3/guestfs.3* %{_mandir}/man3/guestfs.3*
%{_mandir}/man3/libguestfs.3* %{_mandir}/man3/libguestfs.3*
%doc BUGS ChangeLog README TODO %doc README TODO
%files -n perl-Guestfs %files -n perl-Guestfs
%defattr(-,root,root) %defattr(-,root,root)
%{perl_sitearch}/Sys/Guestfs.pm %{perl_sitearch}/Sys/Guestfs.pm
%{perl_sitearch}/Sys/bindtests.pl %dir %{perl_sitearch}/auto/Sys/Guestfs
%{perl_sitearch}/auto/Sys/Guestfs/.packlist %{perl_sitearch}/auto/Sys/Guestfs/*
%{perl_sitearch}/auto/Sys/Guestfs/Guestfs.bs
%{perl_sitearch}/auto/Sys/Guestfs/Guestfs.so
%files -n lua-guestfs %files -n lua-guestfs
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/lua/*/guestfs.so %{_libdir}/lua/*/guestfs.so
%{_libdir}/lua/*/libluaguestfs.la
%files -n python-guestfs %files -n python-guestfs
%defattr(-,root,root) %defattr(-,root,root)
%{python_sitearch}/guestfs.py %{python3_sitearch}/guestfs.py
%{python_sitearch}/libguestfsmod.la %{python3_sitearch}/libguestfsmod.cpython-*.so
%{python_sitearch}/libguestfsmod.so
%files -n ruby-guestfs %files -n ruby-guestfs
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/ruby/site_ruby/2.0.0/guestfs.rb %{ruby_sitelib}/guestfs.rb
%{_libdir}/ruby/site_ruby/2.0.0/%{_target_cpu}-linux/_guestfs.so %{ruby_sitelib}/*-linux/_guestfs.so
%files -n ocaml-libguestfs %files -n ocaml-libguestfs
%defattr(-,root,root) %defattr(-,root,root)
@ -264,104 +230,37 @@ rm -f %{buildroot}%{_prefix}/lib/perl5/*/*/perllocal.pod
%{_libdir}/libguestfs_jni.so.* %{_libdir}/libguestfs_jni.so.*
%{_datadir}/java/libguestfs-%{version}.jar %{_datadir}/java/libguestfs-%{version}.jar
%dir %{_datadir}/javadoc/libguestfs %dir %{_datadir}/javadoc/libguestfs
%{_datadir}/javadoc/libguestfs/*.html %{_datadir}/javadoc/libguestfs/*
%{_datadir}/javadoc/libguestfs/package-list
%{_datadir}/javadoc/libguestfs/stylesheet.css
%dir %{_datadir}/javadoc/libguestfs/com
%dir %{_datadir}/javadoc/libguestfs/com/redhat
%dir %{_datadir}/javadoc/libguestfs/com/redhat/et
%dir %{_datadir}/javadoc/libguestfs/com/redhat/et/libguestfs
%{_datadir}/javadoc/libguestfs/com/redhat/et/libguestfs/*
%dir %{_datadir}/javadoc/libguestfs/resources/inherit.gif
%{_datadir}/javadoc/libguestfs/resources/inherit.gif
%files tools %files tools -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/libguestfs-tools.conf %config(noreplace) %{_sysconfdir}/libguestfs-tools.conf
%{_sysconfdir}/php.d/guestfs_php.ini %{_sysconfdir}/php.d/guestfs_php.ini
%{_sysconfdir}/virt-builder
%{_sysconfdir}/xdg/virt-builder/repos.d/libguestfs.conf
%{_sysconfdir}/xdg/virt-builder/repos.d/libguestfs.gpg
%{_bindir}/guestfish %{_bindir}/guestfish
%{_bindir}/guestmount %{_bindir}/guestmount
%{_bindir}/guestunmount %{_bindir}/guestunmount
%{_bindir}/libguestfs-test-tool %{_bindir}/libguestfs-test-tool
%{_bindir}/virt-alignment-scan %{_bindir}/virt-*
%{_bindir}/virt-builder %{_datadir}/bash-completion/completions/*
%{_bindir}/virt-cat
%{_bindir}/virt-copy-in
%{_bindir}/virt-copy-out
%{_bindir}/virt-customize
%{_bindir}/virt-df
%{_bindir}/virt-diff
%{_bindir}/virt-edit
%{_bindir}/virt-filesystems
%{_bindir}/virt-format
%{_bindir}/virt-index-validate
%{_bindir}/virt-inspector
%{_bindir}/virt-ls
%{_bindir}/virt-make-fs
%{_bindir}/virt-rescue
%{_bindir}/virt-resize
%{_bindir}/virt-sparsify
%{_bindir}/virt-sysprep
%{_bindir}/virt-tar-in
%{_bindir}/virt-tar-out
%{_datadir}/bash-completion/completions/guestfish
%{_datadir}/bash-completion/completions/guestmount
%{_datadir}/bash-completion/completions/virt-alignment-scan
%{_datadir}/bash-completion/completions/virt-builder
%{_datadir}/bash-completion/completions/virt-cat
%{_datadir}/bash-completion/completions/virt-df
%{_datadir}/bash-completion/completions/virt-edit
%{_datadir}/bash-completion/completions/virt-filesystems
%{_datadir}/bash-completion/completions/virt-format
%{_datadir}/bash-completion/completions/virt-inspector
%{_datadir}/bash-completion/completions/virt-ls
%{_datadir}/bash-completion/completions/virt-rescue
%{_datadir}/bash-completion/completions/virt-resize
%{_datadir}/bash-completion/completions/virt-sparsify
%{_datadir}/bash-completion/completions/virt-sysprep
%{_mandir}/man1/guestfish.1* %{_mandir}/man1/guestfish.1*
%{_mandir}/man1/guestfs-faq.1* %{_mandir}/man1/guestfs-*.1*
%{_mandir}/man1/guestfs-performance.1*
%{_mandir}/man1/guestfs-recipes.1*
%{_mandir}/man1/guestfs-release-notes.1*
%{_mandir}/man1/guestfs-testing.1*
%{_mandir}/man1/guestmount.1* %{_mandir}/man1/guestmount.1*
%{_mandir}/man1/guestunmount.1* %{_mandir}/man1/guestunmount.1*
%{_mandir}/man1/virt-*.1*
%{_mandir}/man1/libguestfs-test-tool.1* %{_mandir}/man1/libguestfs-test-tool.1*
%{_mandir}/man1/virt-alignment-scan.1*
%{_mandir}/man1/virt-builder.1*
%{_mandir}/man1/virt-cat.1*
%{_mandir}/man1/virt-copy-in.1*
%{_mandir}/man1/virt-copy-out.1*
%{_mandir}/man1/virt-customize.1*
%{_mandir}/man1/virt-df.1*
%{_mandir}/man1/virt-diff.1*
%{_mandir}/man1/virt-edit.1*
%{_mandir}/man1/virt-filesystems.1*
%{_mandir}/man1/virt-format.1*
%{_mandir}/man1/virt-index-validate.1*
%{_mandir}/man1/virt-inspector.1*
%{_mandir}/man1/virt-ls.1*
%{_mandir}/man1/virt-make-fs.1*
%{_mandir}/man1/virt-rescue.1*
%{_mandir}/man1/virt-resize.1*
%{_mandir}/man1/virt-sparsify.1*
%{_mandir}/man1/virt-sysprep.1*
%{_mandir}/man1/virt-tar-in.1*
%{_mandir}/man1/virt-tar-out.1*
%{_mandir}/man5/libguestfs-tools.conf.5* %{_mandir}/man5/libguestfs-tools.conf.5*
%files apidocs #%files apidocs
%defattr(-,root,root) #%defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/guestfs #%dir %{_datadir}/gtk-doc/html/guestfs
%{_datadir}/gtk-doc/html/guestfs/* #%{_datadir}/gtk-doc/html/guestfs/*
%dir %{_datadir}/doc/libguestfs #%dir %{_datadir}/doc/libguestfs
%{_datadir}/doc/libguestfs/* #%{_datadir}/doc/libguestfs/*
%changelog %changelog
* Mon Feb 05 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.52.0-1mamba
- update to 1.52.0
* Thu Oct 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.26.9-1mamba * Thu Oct 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.26.9-1mamba
- update to 1.26.9 - update to 1.26.9