automatic version update by autodist [release 6.10.0-1mamba;Tue Dec 01 2020]

This commit is contained in:
Automatic Build System 2024-01-06 06:03:20 +01:00
parent a03da36c45
commit 875609f76e

View File

@ -2,7 +2,7 @@
%define qemu_group root %define qemu_group root
Name: libvirt Name: libvirt
Version: 4.0.0 Version: 6.10.0
Release: 1mamba Release: 1mamba
Summary: Virtualization API Summary: Virtualization API
Group: Development/Libraries Group: Development/Libraries
@ -17,75 +17,52 @@ Patch0: libvirt-1.0.5-tirpc.patch
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libacl-devel
BuildRequires: libaudit-devel BuildRequires: libaudit-devel
BuildRequires: libavahi-devel
BuildRequires: libblkid-devel BuildRequires: libblkid-devel
BuildRequires: libcap-devel
BuildRequires: libcap-ng-devel BuildRequires: libcap-ng-devel
BuildRequires: libcares-devel
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
BuildRequires: libdbus-devel
BuildRequires: libdevmapper-devel BuildRequires: libdevmapper-devel
BuildRequires: libffi-devel
BuildRequires: libfuse-devel BuildRequires: libfuse-devel
BuildRequires: libgmp-devel BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libgnutls-devel BuildRequires: libgnutls-devel
BuildRequires: libgss-devel
BuildRequires: libidn-devel
BuildRequires: liblzma-devel
BuildRequires: libncurses5
BuildRequires: libnettle-devel
BuildRequires: libnl-devel BuildRequires: libnl-devel
BuildRequires: libopenldap-devel BuildRequires: libnuma-devel
BuildRequires: libopenssl-devel
BuildRequires: libp11-kit-devel
BuildRequires: libparted-devel BuildRequires: libparted-devel
BuildRequires: libpcap-devel BuildRequires: libpcap-devel
BuildRequires: libpciaccess-devel BuildRequires: libpciaccess-devel
BuildRequires: libpcre-devel
BuildRequires: libreadline-devel BuildRequires: libreadline-devel
BuildRequires: librtmp-devel
BuildRequires: libsasl2-devel BuildRequires: libsasl2-devel
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
BuildRequires: libsepol-devel BuildRequires: libssh-devel
BuildRequires: libssh2-devel BuildRequires: libssh2-devel
BuildRequires: libssp-devel BuildRequires: libtirpc-devel
BuildRequires: libtasn1-devel
BuildRequires: libudev-devel BuildRequires: libudev-devel
BuildRequires: libuuid-devel BuildRequires: libwireshark-devel
%ifnarch arm %ifnarch arm aarch64
BuildRequires: libxen-devel BuildRequires: libxen-devel
%endif %endif
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: libyajl-devel BuildRequires: libyajl-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
%ifnarch arm
BuildRequires: libxen-devel >= 4.8.0-1mamba
%endif
%ifarch %{ix86} x86_64 %ifarch %{ix86} x86_64
BuildRequires: libsmbios-devel BuildRequires: libsmbios-devel
%endif %endif
BuildRequires: libyajl-devel BuildRequires: libyajl-devel
BuildRequires: libpcap-devel >= 1.2 BuildRequires: libpcap-devel >= 1.2
#BuildRequires: systemtap-sdt-devel BuildRequires: systemtap-sdt-devel
%ifnarch arm
%endif
Requires: dnsmasq Requires: dnsmasq
Requires: ebtables Requires: ebtables
Requires: netcat-openbsd Requires: netcat-openbsd
Provides: libvirt-client
Obsoletes: libvirt-client
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Libvirt is a C toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). Libvirt is a C toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes).
%package client
Group: Development/Libraries
Summary: Client side library and utilities of the libvirt library
%description client
Shared libraries and client binaries needed to access to the virtualization capabilities of recent versions of Linux (and other OSes).
%package -n python-%{name} %package -n python-%{name}
Group: Development/Libraries Group: Development/Libraries
Summary: Python bindings for the libvirt library Summary: Python bindings for the libvirt library
@ -103,33 +80,46 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Libvirt is a C toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). Libvirt is a C toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes).
This package contains static libraries and header files need for development. This package contains static libraries and header files need for development.
%debug_package
%prep %prep
%setup -q %setup -q
%patch0 -p1 #-D -T
#% patch0 -p1
%build %build
CPPFLAGS="%{optflags} -I%{_inclduedir}/tirpc" \ #:<< _EOF
CFLAGS="%{optflags} -I%{_includedir}/tirpc" \ %meson \
%configure \ -Dinit_script=systemd \
%ifnarch arm -Dqemu_user=%{qemu_user} \
--with-xen \ -Dqemu_group=%{qemu_group}
%endif
--with-systemd-daemon \ #CPPFLAGS="%{optflags} -I%{_inclduedir}/tirpc" \
--with-init-script=systemd \ #CFLAGS="%{optflags} -I%{_includedir}/tirpc" \
--with-qemu-user=%{qemu_user} \ #% configure \
--with-qemu-group=%{qemu_group} \ #%ifnarch arm
--without-wireshark-dissector # --with-xen \
#%endif
# --with-systemd-daemon \
# --with-init-script=systemd \
# --with-qemu-user=%{qemu_user} \
# --with-qemu-group=%{qemu_group} \
# --without-wireshark-dissector
# --with-remote-pid-file=%{_localstatedir}/run/libvirtd.pid \ # --with-remote-pid-file=%{_localstatedir}/run/libvirtd.pid \
%make %meson_build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall SYSTEMD_UNIT_DIR=%{_unitdir} %meson_install
install -d -m0755 %{buildroot}/lib
mv %{buildroot}%{_prefix}/lib/systemd %{buildroot}/lib/
mv %{buildroot}%{_prefix}%{_libdir}/wireshark %{buildroot}%{_libdir}/
install -D -m644 %{S:1} %{buildroot}%{_sysconfdir}/sysconfig/libvirtd install -D -m644 %{S:1} %{buildroot}%{_sysconfdir}/sysconfig/libvirtd
#install -D -m755 %{S:2} %{buildroot}%{_initrddir}/libvirtd
install -d %{buildroot}%{_localstatedir}/log/libvirt/{lxc,uml,qemu} install -d %{buildroot}%{_localstatedir}/log/libvirt/{lxc,uml,qemu}
@ -155,44 +145,31 @@ rm -f %{buildroot}%{_libdir}/*.a
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post %post
if [ $1 -ge 1 ]; then /sbin/ldconfig
systemctl -q daemon-reload %systemd_post libvirtd
systemctl -q enable libvirtd :
fi
exit 0
%preun %preun
if [ $1 -eq 0 ]; then %systemd_preun libvirtd
systemctl -q disable libvirtd :
fi
exit 0
%postun %postun
if [ $1 -ge 1 ]; then /sbin/ldconfig
systemctl -q daemon-reload %systemd_postun libvirtd
fi
exit 0
%post client
if [ $1 -ge 1 ]; then
systemctl -q daemon-reload
/sbin/ldconfig
fi
: :
%postun client %files -f %{name}.lang
if [ $1 -eq 0 ]; then
systemctl -q daemon-reload
/sbin/ldconfig
fi
:
%files
%defattr(-,root,root) %defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/libvirt/libvirt.conf %config(noreplace) %{_sysconfdir}/libvirt/libvirt.conf
%dir %{_sysconfdir}/libvirt %dir %{_sysconfdir}/libvirt
%dir %{_sysconfdir}/libvirt/qemu %dir %{_sysconfdir}/libvirt/qemu
%dir %{_sysconfdir}/libvirt/qemu/networks %dir %{_sysconfdir}/libvirt/qemu/networks
%config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
%ifnarch arm aarch64
%config(noreplace) %{_sysconfdir}/libvirt/libxl-lockd.conf
%config(noreplace) %{_sysconfdir}/libvirt/libxl.conf
%endif
%{_sysconfdir}/sysconfig/libvirt-guests
%config(noreplace) %{_sysconfdir}/libvirt/qemu/networks/default.xml %config(noreplace) %{_sysconfdir}/libvirt/qemu/networks/default.xml
%dir %{_sysconfdir}/libvirt/qemu/networks/autostart %dir %{_sysconfdir}/libvirt/qemu/networks/autostart
%config(noreplace) %{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml %config(noreplace) %{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
@ -211,19 +188,119 @@ fi
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.* %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.*
%config(noreplace) %{_sysconfdir}/sysconfig/virtlockd %config(noreplace) %{_sysconfdir}/sysconfig/virtlockd
%config(noreplace) %{_sysconfdir}/sysconfig/virtlogd %config(noreplace) %{_sysconfdir}/sysconfig/virtlogd
%{_bindir}/virt-admin %config(noreplace) %{_sysconfdir}/libvirt/virtinterfaced.conf
%{_bindir}/virt-host-validate %config(noreplace) %{_sysconfdir}/libvirt/virtlxcd.conf
%{_bindir}/virt-login-shell %config(noreplace) %{_sysconfdir}/libvirt/virtnetworkd.conf
%config(noreplace) %{_sysconfdir}/libvirt/virtnodedevd.conf
%config(noreplace) %{_sysconfdir}/libvirt/virtnwfilterd.conf
%config(noreplace) %{_sysconfdir}/libvirt/virtproxyd.conf
%config(noreplace) %{_sysconfdir}/libvirt/virtqemud.conf
%config(noreplace) %{_sysconfdir}/libvirt/virtsecretd.conf
%config(noreplace) %{_sysconfdir}/libvirt/virtstoraged.conf
%config(noreplace) %{_sysconfdir}/libvirt/virtvboxd.conf
%ifarch x86_64 %{ix86}
%config(noreplace) %{_sysconfdir}/libvirt/virtxend.conf
%endif
%config(noreplace) %{_sysconfdir}/sysconfig/virtinterfaced
%config(noreplace) %{_sysconfdir}/sysconfig/virtlxcd
%config(noreplace) %{_sysconfdir}/sysconfig/virtnetworkd
%config(noreplace) %{_sysconfdir}/sysconfig/virtnodedevd
%config(noreplace) %{_sysconfdir}/sysconfig/virtnwfilterd
%config(noreplace) %{_sysconfdir}/sysconfig/virtproxyd
%config(noreplace) %{_sysconfdir}/sysconfig/virtqemud
%config(noreplace) %{_sysconfdir}/sysconfig/virtsecretd
%config(noreplace) %{_sysconfdir}/sysconfig/virtstoraged
%config(noreplace) %{_sysconfdir}/sysconfig/virtvboxd
%ifarch x86_64 %{ix86}
%config(noreplace) %{_sysconfdir}/sysconfig/virtxend
%endif
%{_bindir}/virt-*
%{_bindir}/virsh
%{_sbindir}/libvirtd %{_sbindir}/libvirtd
%{_sbindir}/virtlockd %{_sbindir}/virt*
%{_sbindir}/virtlogd %{_libdir}/lib*.so.*
%dir %{_libdir}/libvirt
%dir %{_libdir}/libvirt/connection-driver
%{_libdir}/libvirt/connection-driver/libvirt_driver_*.so
%{_libdir}/libvirt/storage-backend/libvirt_storage_backend_*.so
%{_libdir}/libvirt/storage-file/libvirt_storage_file_fs.so
%{_libdir}/wireshark/plugins/3.3/epan/libvirt.so
%dir %{_libdir}/libvirt/lock-driver
%{_libdir}/libvirt/lock-driver/lockd.so
%{_libexecdir}/libvirt_*
%{_libexecdir}/libvirt-guests.sh
%{_libexecdir}/virt-login-shell-helper
%{_unitdir}/libvirtd.service %{_unitdir}/libvirtd.service
#%{_unitdir}/libvirtd.socket %{_unitdir}/libvirtd-admin.socket
%{_unitdir}/libvirt-guests.service
%{_unitdir}/libvirtd-ro.socket
%{_unitdir}/libvirtd-tcp.socket
%{_unitdir}/libvirtd-tls.socket
%{_unitdir}/libvirtd.socket
%{_unitdir}/virtlockd.service %{_unitdir}/virtlockd.service
%{_unitdir}/virtlockd.socket %{_unitdir}/virtlockd.socket
%{_unitdir}/virtlogd.service %{_unitdir}/virtlogd.service
%{_unitdir}/virtlogd.socket %{_unitdir}/virtlogd.socket
%{_unitdir}/virt-guest-shutdown.target %{_unitdir}/virt-guest-shutdown.target
%{_unitdir}/virtinterfaced-admin.socket
%{_unitdir}/virtinterfaced-ro.socket
%{_unitdir}/virtinterfaced.service
%{_unitdir}/virtinterfaced.socket
%{_unitdir}/virtlockd-admin.socket
%{_unitdir}/virtlogd-admin.socket
%{_unitdir}/virtlxcd-admin.socket
%{_unitdir}/virtlxcd-ro.socket
%{_unitdir}/virtlxcd.service
%{_unitdir}/virtlxcd.socket
%{_unitdir}/virtnetworkd-admin.socket
%{_unitdir}/virtnetworkd-ro.socket
%{_unitdir}/virtnetworkd.service
%{_unitdir}/virtnetworkd.socket
%{_unitdir}/virtnodedevd-admin.socket
%{_unitdir}/virtnodedevd-ro.socket
%{_unitdir}/virtnodedevd.service
%{_unitdir}/virtnodedevd.socket
%{_unitdir}/virtnwfilterd-admin.socket
%{_unitdir}/virtnwfilterd-ro.socket
%{_unitdir}/virtnwfilterd.service
%{_unitdir}/virtnwfilterd.socket
%{_unitdir}/virtproxyd-admin.socket
%{_unitdir}/virtproxyd-ro.socket
%{_unitdir}/virtproxyd-tcp.socket
%{_unitdir}/virtproxyd-tls.socket
%{_unitdir}/virtproxyd.service
%{_unitdir}/virtproxyd.socket
%{_unitdir}/virtqemud-admin.socket
%{_unitdir}/virtqemud-ro.socket
%{_unitdir}/virtqemud.service
%{_unitdir}/virtqemud.socket
%{_unitdir}/virtsecretd-admin.socket
%{_unitdir}/virtsecretd-ro.socket
%{_unitdir}/virtsecretd.service
%{_unitdir}/virtsecretd.socket
%{_unitdir}/virtstoraged-admin.socket
%{_unitdir}/virtstoraged-ro.socket
%{_unitdir}/virtstoraged.service
%{_unitdir}/virtstoraged.socket
%{_unitdir}/virtvboxd-admin.socket
%{_unitdir}/virtvboxd-ro.socket
%{_unitdir}/virtvboxd.service
%{_unitdir}/virtvboxd.socket
%ifarch x86_64 %{ix86}
%{_unitdir}/virtxend-admin.socket
%{_unitdir}/virtxend-ro.socket
%{_unitdir}/virtxend.service
%{_unitdir}/virtxend.socket
%endif
%{_prefix}/lib/sysctl.d/60-libvirtd.conf
%{_prefix}/lib/firewalld/zones/libvirt.xml
%{_datadir}/polkit-1/actions/org.libvirt.unix.policy
%dir %{_datadir}/libvirt
%dir %{_datadir}/libvirt/cpu_map
%{_datadir}/libvirt/cpu_map/*.xml
%{_datadir}/libvirt/api/libvirt-admin-api.xml
%{_datadir}/libvirt/schemas/*.rng
%{_datadir}/bash-completion/completions/vsh
%dir %{_datadir}/libvirt %dir %{_datadir}/libvirt
%dir %{_datadir}/libvirt/api %dir %{_datadir}/libvirt/api
%{_datadir}/libvirt/api/libvirt-api.xml %{_datadir}/libvirt/api/libvirt-api.xml
@ -231,6 +308,8 @@ fi
%{_datadir}/libvirt/test-screenshot.png %{_datadir}/libvirt/test-screenshot.png
%{_datadir}/augeas/lenses/*.aug %{_datadir}/augeas/lenses/*.aug
%{_datadir}/augeas/lenses/tests/test_*.aug %{_datadir}/augeas/lenses/tests/test_*.aug
%{_datadir}/bash-completion/completions/virsh
%{_datadir}/bash-completion/completions/virt-admin
%{_datadir}/polkit-1/actions/org.libvirt.api.policy %{_datadir}/polkit-1/actions/org.libvirt.api.policy
%{_datadir}/polkit-1/rules.d/50-libvirt.rules %{_datadir}/polkit-1/rules.d/50-libvirt.rules
%{_datadir}/systemtap/tapset/libvirt_*.stp %{_datadir}/systemtap/tapset/libvirt_*.stp
@ -239,68 +318,42 @@ fi
%dir %{_localstatedir}/log/libvirt/uml %dir %{_localstatedir}/log/libvirt/uml
%dir %{_localstatedir}/log/libvirt/qemu %dir %{_localstatedir}/log/libvirt/qemu
%{_mandir}/man1/virt-admin.1* %{_mandir}/man1/virt-admin.1*
%{_mandir}/man1/virt-qemu-run.1*
%{_mandir}/man1/virt-host-validate.1* %{_mandir}/man1/virt-host-validate.1*
%{_mandir}/man1/virt-login-shell.1* %{_mandir}/man1/virt-login-shell.1*
%{_mandir}/man1/virt-xml-validate.*
%{_mandir}/man1/virt-pki-validate.*
%{_mandir}/man1/virsh.*
%{_mandir}/man8/libvirtd.8* %{_mandir}/man8/libvirtd.8*
%{_mandir}/man8/virtlockd.8* %{_mandir}/man8/virtlockd.8*
%{_mandir}/man8/virtlogd.8* %{_mandir}/man8/virtlogd.8*
%{_datadir}/libvirt/api/libvirt-qemu-api.xml %{_datadir}/libvirt/api/libvirt-qemu-api.xml
%doc AUTHORS COPYING.LESSER %doc COPYING.LESSER
%files client -f %{name}.lang
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
%ifnarch arm
%config(noreplace) %{_sysconfdir}/libvirt/libxl-lockd.conf
%config(noreplace) %{_sysconfdir}/libvirt/libxl.conf
%endif
%{_unitdir}/libvirt-guests.service
%{_sysconfdir}/sysconfig/libvirt-guests
%{_bindir}/virsh
%{_bindir}/virt-xml-validate
%{_bindir}/virt-pki-validate
%{_libdir}/lib*.so.*
%dir %{_libdir}/libvirt
%dir %{_libdir}/libvirt/connection-driver
%{_libdir}/libvirt/connection-driver/libvirt_driver_*.la
%{_libdir}/libvirt/connection-driver/libvirt_driver_*.so
%{_libdir}/libvirt/storage-backend/libvirt_storage_backend_*.la
%{_libdir}/libvirt/storage-backend/libvirt_storage_backend_*.so
%dir %{_libdir}/libvirt/lock-driver
%{_libdir}/libvirt/lock-driver/lockd.la
%{_libdir}/libvirt/lock-driver/lockd.so
%{_prefix}/lib/sysctl.d/60-libvirtd.conf
%{_libexecdir}/libvirt_lxc
%{_libexecdir}/libvirt_iohelper
%{_libexecdir}/libvirt_leaseshelper
%{_libexecdir}/libvirt_parthelper
%{_libexecdir}/libvirt-guests.sh
%{_datadir}/polkit-1/actions/org.libvirt.unix.policy
%dir %{_datadir}/libvirt
%{_datadir}/libvirt/cpu_map.xml
%{_datadir}/libvirt/api/libvirt-admin-api.xml
%{_datadir}/libvirt/schemas/*.rng
%{_datadir}/bash-completion/completions/vsh
%{_mandir}/man1/virsh.*
%{_mandir}/man1/virt-xml-validate.*
%{_mandir}/man1/virt-pki-validate.*
#%doc COPYING
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.la %dir %{_includedir}/libvirt
%{_libdir}/lib*.so
%{_includedir}/libvirt/*.h %{_includedir}/libvirt/*.h
%dir %{_datadir}/gtk-doc/html/libvirt %{_libdir}/lib*.so
%{_datadir}/gtk-doc/html/libvirt/* %dir %{_docdir}/libvirt
%dir %{_docdir}/libvirt/examples
%{_docdir}/libvirt/examples/*
%dir %{_docdir}/libvirt/html
%{_docdir}/libvirt/html/*
%{_libdir}/pkgconfig/libvirt*.pc %{_libdir}/pkgconfig/libvirt*.pc
%{_mandir}/man7/virkeycode-*.7* %{_mandir}/man7/virkeycode-*.7*
%{_mandir}/man7/virkeyname-*.7* %{_mandir}/man7/virkeyname-*.7*
#%doc docs/*.html docs/*.gif docs/*.png docs/html
#%doc docs/libvirt-api.xml
#%doc ChangeLog NEWS README TODO
%changelog %changelog
* Tue Dec 01 2020 Automatic Build System <autodist@mambasoft.it> 6.10.0-1mamba
- automatic version update by autodist
* Tue Nov 10 2020 Automatic Build System <autodist@mambasoft.it> 6.9.0-1mamba
- automatic version update by autodist
* Fri Oct 23 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 6.8.0-1mamba
- update to 6.8.0
* Wed Feb 07 2018 Automatic Build System <autodist@mambasoft.it> 4.0.0-1mamba * Wed Feb 07 2018 Automatic Build System <autodist@mambasoft.it> 4.0.0-1mamba
- automatic version update by autodist - automatic version update by autodist