mirror of https://gitee.com/openkylin/libvirt.git
mingw-libvirt.spec.in: fix packaging of admin API and other bugs
When the admin API was enabled no entries were added to the file list. The virt-host-validate binary is also no longer built on win32 Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
5684680fd0
commit
8050f60450
|
@ -184,21 +184,25 @@ rm -rf $RPM_BUILD_ROOT%{mingw64_libexecdir}/libvirt-guests.sh
|
|||
%files -n mingw32-libvirt
|
||||
%dir %{mingw32_sysconfdir}/libvirt/
|
||||
%config(noreplace) %{mingw32_sysconfdir}/libvirt/libvirt.conf
|
||||
%config(noreplace) %{mingw32_sysconfdir}/libvirt/libvirt-admin.conf
|
||||
|
||||
%{mingw32_bindir}/libvirt-0.dll
|
||||
%{mingw32_bindir}/virsh.exe
|
||||
%{mingw32_bindir}/virt-admin.exe
|
||||
%{mingw32_bindir}/virt-xml-validate
|
||||
%{mingw32_bindir}/virt-pki-validate
|
||||
%{mingw32_bindir}/virt-host-validate.exe
|
||||
%{mingw32_bindir}/libvirt-lxc-0.dll
|
||||
%{mingw32_bindir}/libvirt-qemu-0.dll
|
||||
%{mingw32_bindir}/libvirt-admin-0.dll
|
||||
|
||||
%{mingw32_libdir}/libvirt.dll.a
|
||||
%{mingw32_libdir}/pkgconfig/libvirt.pc
|
||||
%{mingw32_libdir}/pkgconfig/libvirt-qemu.pc
|
||||
%{mingw32_libdir}/pkgconfig/libvirt-lxc.pc
|
||||
%{mingw32_libdir}/pkgconfig/libvirt-admin.pc
|
||||
%{mingw32_libdir}/libvirt-lxc.dll.a
|
||||
%{mingw32_libdir}/libvirt-qemu.dll.a
|
||||
%{mingw32_libdir}/libvirt-admin.dll.a
|
||||
|
||||
%dir %{mingw32_datadir}/libvirt/
|
||||
%dir %{mingw32_datadir}/libvirt/schemas/
|
||||
|
@ -221,6 +225,7 @@ rm -rf $RPM_BUILD_ROOT%{mingw64_libexecdir}/libvirt-guests.sh
|
|||
%{mingw32_datadir}/libvirt/api/libvirt-api.xml
|
||||
%{mingw32_datadir}/libvirt/api/libvirt-lxc-api.xml
|
||||
%{mingw32_datadir}/libvirt/api/libvirt-qemu-api.xml
|
||||
%{mingw32_datadir}/libvirt/api/libvirt-admin-api.xml
|
||||
|
||||
%{mingw32_datadir}/libvirt/cpu_map.xml
|
||||
%{mingw32_datadir}/libvirt/libvirtLogo.png
|
||||
|
@ -229,6 +234,7 @@ rm -rf $RPM_BUILD_ROOT%{mingw64_libexecdir}/libvirt-guests.sh
|
|||
|
||||
%dir %{mingw32_includedir}/libvirt
|
||||
%{mingw32_includedir}/libvirt/libvirt.h
|
||||
%{mingw32_includedir}/libvirt/libvirt-common.h
|
||||
%{mingw32_includedir}/libvirt/libvirt-domain.h
|
||||
%{mingw32_includedir}/libvirt/libvirt-domain-snapshot.h
|
||||
%{mingw32_includedir}/libvirt/libvirt-event.h
|
||||
|
@ -243,36 +249,42 @@ rm -rf $RPM_BUILD_ROOT%{mingw64_libexecdir}/libvirt-guests.sh
|
|||
%{mingw32_includedir}/libvirt/virterror.h
|
||||
%{mingw32_includedir}/libvirt/libvirt-lxc.h
|
||||
%{mingw32_includedir}/libvirt/libvirt-qemu.h
|
||||
%{mingw32_includedir}/libvirt/libvirt-admin.h
|
||||
|
||||
%{mingw32_mandir}/man1/virsh.1*
|
||||
%{mingw32_mandir}/man1/virt-admin.1*
|
||||
%{mingw32_mandir}/man1/virt-xml-validate.1*
|
||||
%{mingw32_mandir}/man1/virt-pki-validate.1*
|
||||
%{mingw32_mandir}/man1/virt-host-validate.1*
|
||||
|
||||
%files -n mingw32-libvirt-static
|
||||
%{mingw32_libdir}/libvirt.a
|
||||
%{mingw32_libdir}/libvirt-lxc.a
|
||||
%{mingw32_libdir}/libvirt-qemu.a
|
||||
%{mingw32_libdir}/libvirt-admin.a
|
||||
|
||||
# Mingw64
|
||||
%files -n mingw64-libvirt
|
||||
%dir %{mingw64_sysconfdir}/libvirt/
|
||||
%config(noreplace) %{mingw64_sysconfdir}/libvirt/libvirt.conf
|
||||
%config(noreplace) %{mingw64_sysconfdir}/libvirt/libvirt-admin.conf
|
||||
|
||||
%{mingw64_bindir}/libvirt-0.dll
|
||||
%{mingw64_bindir}/virsh.exe
|
||||
%{mingw64_bindir}/virt-admin.exe
|
||||
%{mingw64_bindir}/virt-xml-validate
|
||||
%{mingw64_bindir}/virt-pki-validate
|
||||
%{mingw64_bindir}/virt-host-validate.exe
|
||||
%{mingw64_bindir}/libvirt-lxc-0.dll
|
||||
%{mingw64_bindir}/libvirt-qemu-0.dll
|
||||
%{mingw64_bindir}/libvirt-admin-0.dll
|
||||
|
||||
%{mingw64_libdir}/libvirt.dll.a
|
||||
%{mingw64_libdir}/pkgconfig/libvirt.pc
|
||||
%{mingw64_libdir}/pkgconfig/libvirt-qemu.pc
|
||||
%{mingw64_libdir}/pkgconfig/libvirt-lxc.pc
|
||||
%{mingw64_libdir}/pkgconfig/libvirt-admin.pc
|
||||
%{mingw64_libdir}/libvirt-lxc.dll.a
|
||||
%{mingw64_libdir}/libvirt-qemu.dll.a
|
||||
%{mingw64_libdir}/libvirt-admin.dll.a
|
||||
|
||||
%dir %{mingw64_datadir}/libvirt/
|
||||
%dir %{mingw64_datadir}/libvirt/schemas/
|
||||
|
@ -295,6 +307,7 @@ rm -rf $RPM_BUILD_ROOT%{mingw64_libexecdir}/libvirt-guests.sh
|
|||
%{mingw64_datadir}/libvirt/api/libvirt-api.xml
|
||||
%{mingw64_datadir}/libvirt/api/libvirt-lxc-api.xml
|
||||
%{mingw64_datadir}/libvirt/api/libvirt-qemu-api.xml
|
||||
%{mingw64_datadir}/libvirt/api/libvirt-admin-api.xml
|
||||
|
||||
%{mingw64_datadir}/libvirt/cpu_map.xml
|
||||
%{mingw64_datadir}/libvirt/libvirtLogo.png
|
||||
|
@ -303,6 +316,7 @@ rm -rf $RPM_BUILD_ROOT%{mingw64_libexecdir}/libvirt-guests.sh
|
|||
|
||||
%dir %{mingw64_includedir}/libvirt
|
||||
%{mingw64_includedir}/libvirt/libvirt.h
|
||||
%{mingw64_includedir}/libvirt/libvirt-common.h
|
||||
%{mingw64_includedir}/libvirt/libvirt-domain.h
|
||||
%{mingw64_includedir}/libvirt/libvirt-domain-snapshot.h
|
||||
%{mingw64_includedir}/libvirt/libvirt-event.h
|
||||
|
@ -317,16 +331,18 @@ rm -rf $RPM_BUILD_ROOT%{mingw64_libexecdir}/libvirt-guests.sh
|
|||
%{mingw64_includedir}/libvirt/virterror.h
|
||||
%{mingw64_includedir}/libvirt/libvirt-lxc.h
|
||||
%{mingw64_includedir}/libvirt/libvirt-qemu.h
|
||||
%{mingw64_includedir}/libvirt/libvirt-admin.h
|
||||
|
||||
%{mingw64_mandir}/man1/virsh.1*
|
||||
%{mingw64_mandir}/man1/virt-admin.1*
|
||||
%{mingw64_mandir}/man1/virt-xml-validate.1*
|
||||
%{mingw64_mandir}/man1/virt-pki-validate.1*
|
||||
%{mingw64_mandir}/man1/virt-host-validate.1*
|
||||
|
||||
%files -n mingw64-libvirt-static
|
||||
%{mingw64_libdir}/libvirt.a
|
||||
%{mingw64_libdir}/libvirt-lxc.a
|
||||
%{mingw64_libdir}/libvirt-qemu.a
|
||||
%{mingw64_libdir}/libvirt-admin.a
|
||||
|
||||
|
||||
%changelog
|
||||
|
|
Loading…
Reference in New Issue