|
|
@ -1,39 +1,23 @@
|
|
|
|
# -*- rpm-spec -*-
|
|
|
|
# -*- rpm-spec -*-
|
|
|
|
|
|
|
|
|
|
|
|
%global with_mingw 0
|
|
|
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
|
|
|
%global with_mingw 0%{!?_without_mingw:1}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: libvirt-glib
|
|
|
|
Name: libvirt-glib
|
|
|
|
Version: 5.0.0
|
|
|
|
Version: 4.0.0
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Summary: libvirt glib integration for events
|
|
|
|
Summary: libvirt glib integration for events
|
|
|
|
License: LGPL-2.1-or-later
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: https://libvirt.org/
|
|
|
|
URL: https://libvirt.org/
|
|
|
|
Source0: https://libvirt.org/sources/glib/%{name}-%{version}.tar.xz
|
|
|
|
Source0: https://libvirt.org/sources/glib/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
Patch1: %{name}-%{version}-cast-align.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: libvirt-devel
|
|
|
|
BuildRequires: libvirt-devel
|
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: vala
|
|
|
|
BuildRequires: vala-tools
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with_mingw}
|
|
|
|
|
|
|
|
BuildRequires: mingw32-filesystem
|
|
|
|
|
|
|
|
BuildRequires: mingw32-gcc
|
|
|
|
|
|
|
|
BuildRequires: mingw32-glib2
|
|
|
|
|
|
|
|
BuildRequires: mingw32-libvirt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: mingw64-filesystem
|
|
|
|
|
|
|
|
BuildRequires: mingw64-gcc
|
|
|
|
|
|
|
|
BuildRequires: mingw64-glib2
|
|
|
|
|
|
|
|
BuildRequires: mingw64-libvirt
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: libvirt glib integration for events development files
|
|
|
|
Summary: libvirt glib integration for events development files
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
@ -79,86 +63,27 @@ objects
|
|
|
|
This package provides development header files and libraries for
|
|
|
|
This package provides development header files and libraries for
|
|
|
|
managing virtualization host objects
|
|
|
|
managing virtualization host objects
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with_mingw}
|
|
|
|
|
|
|
|
%package -n mingw32-libvirt-glib
|
|
|
|
|
|
|
|
Summary: MingwGW Windows libvirt-gconfig virtualization library
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n mingw32-libvirt-gconfig
|
|
|
|
|
|
|
|
Summary: MingwGW Windows libvirt-gconfig virtualization library
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n mingw32-libvirt-gobject
|
|
|
|
|
|
|
|
Summary: MingwGW Windows libvirt-gobject virtualization library
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n mingw64-libvirt-glib
|
|
|
|
|
|
|
|
Summary: MingwGW Windows libvirt-gconfig virtualization library
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n mingw64-libvirt-gconfig
|
|
|
|
|
|
|
|
Summary: MingwGW Windows libvirt-gconfig virtualization library
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n mingw64-libvirt-gobject
|
|
|
|
|
|
|
|
Summary: MingwGW Windows libvirt-gobject virtualization library
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n mingw32-libvirt-glib
|
|
|
|
|
|
|
|
MinGW Windows libvirt-glib virtualization library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n mingw32-libvirt-gconfig
|
|
|
|
|
|
|
|
MinGW Windows libvirt-gconfig virtualization library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n mingw32-libvirt-gobject
|
|
|
|
|
|
|
|
MinGW Windows libvirt-gobject virtualization library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n mingw64-libvirt-glib
|
|
|
|
|
|
|
|
MinGW Windows libvirt-glib virtualization library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n mingw64-libvirt-gconfig
|
|
|
|
|
|
|
|
MinGW Windows libvirt-gconfig virtualization library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n mingw64-libvirt-gobject
|
|
|
|
|
|
|
|
MinGW Windows libvirt-gobject virtualization library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?mingw_debug_package}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%meson -Drpath=disabled
|
|
|
|
%meson -Drpath=disabled
|
|
|
|
%meson_build
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with_mingw}
|
|
|
|
|
|
|
|
%mingw_meson -Drpath=disabled -Ddocs=disabled -Dintrospection=disabled -Dvapi=disabled
|
|
|
|
|
|
|
|
%mingw_ninja
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with_mingw}
|
|
|
|
%check
|
|
|
|
%mingw_ninja_install
|
|
|
|
%meson_test
|
|
|
|
|
|
|
|
|
|
|
|
%mingw_debug_install_post
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
|
|
%mingw_find_lang libvirt-glib
|
|
|
|
%ldconfig_scriptlets -n libvirt-gconfig
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%ldconfig_scriptlets -n libvirt-gobject
|
|
|
|
%meson_test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%doc README COPYING AUTHORS NEWS
|
|
|
|
%doc README COPYING AUTHORS NEWS
|
|
|
@ -212,127 +137,13 @@ MinGW Windows libvirt-gobject virtualization library.
|
|
|
|
%{_datadir}/vala/vapi/libvirt-gobject-1.0.deps
|
|
|
|
%{_datadir}/vala/vapi/libvirt-gobject-1.0.deps
|
|
|
|
%{_datadir}/vala/vapi/libvirt-gobject-1.0.vapi
|
|
|
|
%{_datadir}/vala/vapi/libvirt-gobject-1.0.vapi
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with_mingw}
|
|
|
|
|
|
|
|
%files -n mingw32-libvirt-glib -f mingw32-libvirt-glib.lang
|
|
|
|
|
|
|
|
%doc README COPYING AUTHORS NEWS
|
|
|
|
|
|
|
|
%{mingw32_bindir}/libvirt-glib-1.0-0.dll
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{mingw32_libdir}/libvirt-glib-1.0.dll.a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{mingw32_libdir}/pkgconfig/libvirt-glib-1.0.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%dir %{mingw32_includedir}/libvirt-glib-1.0
|
|
|
|
|
|
|
|
%dir %{mingw32_includedir}/libvirt-glib-1.0/libvirt-glib
|
|
|
|
|
|
|
|
%{mingw32_includedir}/libvirt-glib-1.0/libvirt-glib/libvirt-glib.h
|
|
|
|
|
|
|
|
%{mingw32_includedir}/libvirt-glib-1.0/libvirt-glib/libvirt-glib-*.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n mingw64-libvirt-glib -f mingw64-libvirt-glib.lang
|
|
|
|
|
|
|
|
%doc README COPYING AUTHORS NEWS
|
|
|
|
|
|
|
|
%{mingw64_bindir}/libvirt-glib-1.0-0.dll
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{mingw64_libdir}/libvirt-glib-1.0.dll.a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{mingw64_libdir}/pkgconfig/libvirt-glib-1.0.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%dir %{mingw64_includedir}/libvirt-glib-1.0
|
|
|
|
|
|
|
|
%dir %{mingw64_includedir}/libvirt-glib-1.0/libvirt-glib
|
|
|
|
|
|
|
|
%{mingw64_includedir}/libvirt-glib-1.0/libvirt-glib/libvirt-glib.h
|
|
|
|
|
|
|
|
%{mingw64_includedir}/libvirt-glib-1.0/libvirt-glib/libvirt-glib-*.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n mingw32-libvirt-gconfig
|
|
|
|
|
|
|
|
%{mingw32_bindir}/libvirt-gconfig-1.0-0.dll
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{mingw32_libdir}/libvirt-gconfig-1.0.dll.a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{mingw32_libdir}/pkgconfig/libvirt-gconfig-1.0.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%dir %{mingw32_includedir}/libvirt-gconfig-1.0
|
|
|
|
|
|
|
|
%dir %{mingw32_includedir}/libvirt-gconfig-1.0/libvirt-gconfig
|
|
|
|
|
|
|
|
%{mingw32_includedir}/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig.h
|
|
|
|
|
|
|
|
%{mingw32_includedir}/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-*.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n mingw64-libvirt-gconfig
|
|
|
|
|
|
|
|
%{mingw64_bindir}/libvirt-gconfig-1.0-0.dll
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{mingw64_libdir}/libvirt-gconfig-1.0.dll.a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{mingw64_libdir}/pkgconfig/libvirt-gconfig-1.0.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%dir %{mingw64_includedir}/libvirt-gconfig-1.0
|
|
|
|
|
|
|
|
%dir %{mingw64_includedir}/libvirt-gconfig-1.0/libvirt-gconfig
|
|
|
|
|
|
|
|
%{mingw64_includedir}/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig.h
|
|
|
|
|
|
|
|
%{mingw64_includedir}/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-*.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n mingw32-libvirt-gobject
|
|
|
|
|
|
|
|
%{mingw32_bindir}/libvirt-gobject-1.0-0.dll
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{mingw32_libdir}/libvirt-gobject-1.0.dll.a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{mingw32_libdir}/pkgconfig/libvirt-gobject-1.0.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%dir %{mingw32_includedir}/libvirt-gobject-1.0
|
|
|
|
|
|
|
|
%dir %{mingw32_includedir}/libvirt-gobject-1.0/libvirt-gobject
|
|
|
|
|
|
|
|
%{mingw32_includedir}/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject.h
|
|
|
|
|
|
|
|
%{mingw32_includedir}/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject-*.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n mingw64-libvirt-gobject
|
|
|
|
|
|
|
|
%{mingw64_bindir}/libvirt-gobject-1.0-0.dll
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{mingw64_libdir}/libvirt-gobject-1.0.dll.a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{mingw64_libdir}/pkgconfig/libvirt-gobject-1.0.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%dir %{mingw64_includedir}/libvirt-gobject-1.0
|
|
|
|
|
|
|
|
%dir %{mingw64_includedir}/libvirt-gobject-1.0/libvirt-gobject
|
|
|
|
|
|
|
|
%{mingw64_includedir}/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject.h
|
|
|
|
|
|
|
|
%{mingw64_includedir}/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject-*.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 5.0.0-4
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4.0.0-3
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 5.0.0-4
|
|
|
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Nov 30 2023 Daniel P. Berrangé <berrange@redhat.com> - 5.0.0-1
|
|
|
|
|
|
|
|
- Rebased to 5.0.0 release
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-9
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 24 2023 Daniel P. Berrangé <berrange@redhat.com> - 4.0.0-8
|
|
|
|
|
|
|
|
- Fix pointer cast warning
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 8 2022 Daniel P. Berrangé <berrange@redhat.com> - 4.0.0-6
|
|
|
|
|
|
|
|
- Pull in mingw sub-packages
|
|
|
|
|
|
|
|
- Remove obsolete ldconfig scripts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 23 2021 Kalev Lember <klember@redhat.com> - 4.0.0-3
|
|
|
|
|
|
|
|
- BR vala instead of vala-tools
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-2
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 4.0.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Feb 15 2021 Daniel P. Berrangé <berrange@redhat.com> - 4.0.0-1
|
|
|
|
* Mon Feb 15 2021 Daniel P. Berrangé <berrange@redhat.com> - 4.0.0-1
|
|
|
|
- Rebased to 4.0.0 release
|
|
|
|
- Rebased to 4.0.0 release
|
|
|
|